* [linux-lvm] Renumbered drives hosed VG.
@ 2001-08-14 20:52 Diehl, Jeffrey
2001-08-15 8:57 ` Heinz J . Mauelshagen
2001-08-15 11:07 ` José Luis Domingo López
0 siblings, 2 replies; 6+ messages in thread
From: Diehl, Jeffrey @ 2001-08-14 20:52 UTC (permalink / raw)
To: 'linux-lvm@sistina.com'; +Cc: Diehl, Jeffrey
Hi all,
I recently upgraded from a modular kernel to a monolithic kernel, which
renumbered all of my drives. sda became sdb, sdb became sdc and adc became
sda, etc. Now one of my VG's is hosed. How do I recover from this?
Thanx,
Mike Diehl,
Network Monitoring Tool Devl.
284-3137
jdiehl@sandia.gov
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] Renumbered drives hosed VG.
2001-08-14 20:52 [linux-lvm] Renumbered drives hosed VG Diehl, Jeffrey
@ 2001-08-15 8:57 ` Heinz J . Mauelshagen
2001-08-15 11:07 ` José Luis Domingo López
1 sibling, 0 replies; 6+ messages in thread
From: Heinz J . Mauelshagen @ 2001-08-15 8:57 UTC (permalink / raw)
To: linux-lvm
On Tue, Aug 14, 2001 at 02:52:17PM -0600, Diehl, Jeffrey wrote:
> Hi all,
>
> I recently upgraded from a modular kernel to a monolithic kernel, which
> renumbered all of my drives. sda became sdb, sdb became sdc and adc became
> sda, etc. Now one of my VG's is hosed. How do I recover from this?
A vgscan run should excatly address this.
Did it take place after the changes and *before* "vgchange -ay"?
>
> Thanx,
> Mike Diehl,
> Network Monitoring Tool Devl.
> 284-3137
> jdiehl@sandia.gov
>
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
--
Regards,
Heinz -- The LVM Guy --
*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Heinz Mauelshagen Sistina Software Inc.
Senior Consultant/Developer Am Sonnenhang 11
56242 Marienrachdorf
Germany
Mauelshagen@Sistina.com +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] Renumbered drives hosed VG.
2001-08-14 20:52 [linux-lvm] Renumbered drives hosed VG Diehl, Jeffrey
2001-08-15 8:57 ` Heinz J . Mauelshagen
@ 2001-08-15 11:07 ` José Luis Domingo López
1 sibling, 0 replies; 6+ messages in thread
From: José Luis Domingo López @ 2001-08-15 11:07 UTC (permalink / raw)
To: 'linux-lvm@sistina.com'
On Tuesday, 14 August 2001, at 14:52:17 -0600,
Diehl, Jeffrey wrote:
> Hi all,
>
> I recently upgraded from a modular kernel to a monolithic kernel, which
> renumbered all of my drives. sda became sdb, sdb became sdc and adc became
> sda, etc. Now one of my VG's is hosed. How do I recover from this?
>
Don't know to recover from this, but if I had several hard disk on my
server and something depended on the kernel detecting them in order, I
would try using devfs (device filesystem).
Is not that hard to setup, seems stable by now and you will never get your
disks messed again. Under devfs naming, a SCSI disk is identified by the
adapter and bus where it is attached, and by its SCSI and LUN numbers (the
"same" for IDE disks). So the kernel will always identify the disks in the
same way.
For example my master disk on the primary IDE channel is:
/dev/ide/host0/bus0/target0/lun0
An my root partition on this disk is:
/dev/ide/host0/bus0/target0/lun0/p3
Regards.
--
Jos� Luis Domingo L�pez
Linux Registered User #189436 Debian GNU/Linux Potato (P166 64 MB RAM)
jdomingo EN internautas PUNTO org => � Spam ? Atente a las consecuencias
jdomingo AT internautas DOT org => Spam at your own risk
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: [linux-lvm] Renumbered drives hosed VG.
@ 2001-08-15 20:50 Diehl, Jeffrey
0 siblings, 0 replies; 6+ messages in thread
From: Diehl, Jeffrey @ 2001-08-15 20:50 UTC (permalink / raw)
To: 'linux-lvm@sistina.com'
Thanx, I'll look into this.
Mike Diehl,
Network Monitoring Tool Devl.
Sandia National Laboratories.
(505) 284-3137
jdiehl@sandia.gov
> -----Original Message-----
> From: José Luis Domingo López [mailto:jdomingo@internautas.org]
> Sent: August 15, 2001 5:07 AM
> To: 'linux-lvm@sistina.com'
> Subject: Re: [linux-lvm] Renumbered drives hosed VG.
>
>
> On Tuesday, 14 August 2001, at 14:52:17 -0600,
> Diehl, Jeffrey wrote:
>
> > Hi all,
> >
> > I recently upgraded from a modular kernel to a monolithic
> kernel, which
> > renumbered all of my drives. sda became sdb, sdb became
> sdc and adc became
> > sda, etc. Now one of my VG's is hosed. How do I recover from this?
> >
> Don't know to recover from this, but if I had several hard disk on my
> server and something depended on the kernel detecting them in order, I
> would try using devfs (device filesystem).
>
> Is not that hard to setup, seems stable by now and you will
> never get your
> disks messed again. Under devfs naming, a SCSI disk is
> identified by the
> adapter and bus where it is attached, and by its SCSI and LUN
> numbers (the
> "same" for IDE disks). So the kernel will always identify the
> disks in the
> same way.
>
> For example my master disk on the primary IDE channel is:
> /dev/ide/host0/bus0/target0/lun0
> An my root partition on this disk is:
> /dev/ide/host0/bus0/target0/lun0/p3
>
> Regards.
>
> --
> José Luis Domingo López
> Linux Registered User #189436 Debian GNU/Linux Potato
> (P166 64 MB RAM)
>
> jdomingo EN internautas PUNTO org => ¿ Spam ? Atente a las
> consecuencias
> jdomingo AT internautas DOT org => Spam at your own risk
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: [linux-lvm] Renumbered drives hosed VG.
@ 2001-08-15 20:54 Diehl, Jeffrey
0 siblings, 0 replies; 6+ messages in thread
From: Diehl, Jeffrey @ 2001-08-15 20:54 UTC (permalink / raw)
To: 'linux-lvm@sistina.com'
I put the vgchange -ay in my startup script, per the documentation, so the
vgscan would come after. Should I do a vgscan in my startup also?
Mike Diehl,
Network Monitoring Tool Devl.
Sandia National Laboratories.
(505) 284-3137
jdiehl@sandia.gov
> -----Original Message-----
> From: Heinz J . Mauelshagen [mailto:mauelshagen@sistina.com]
> Sent: August 15, 2001 2:57 AM
> To: linux-lvm@sistina.com
> Subject: Re: [linux-lvm] Renumbered drives hosed VG.
>
>
> On Tue, Aug 14, 2001 at 02:52:17PM -0600, Diehl, Jeffrey wrote:
> > Hi all,
> >
> > I recently upgraded from a modular kernel to a monolithic
> kernel, which
> > renumbered all of my drives. sda became sdb, sdb became
> sdc and adc became
> > sda, etc. Now one of my VG's is hosed. How do I recover from this?
>
> A vgscan run should excatly address this.
> Did it take place after the changes and *before* "vgchange -ay"?
>
> >
> > Thanx,
> > Mike Diehl,
> > Network Monitoring Tool Devl.
> > 284-3137
> > jdiehl@sandia.gov
> >
> >
> > _______________________________________________
> > linux-lvm mailing list
> > linux-lvm@sistina.com
> > http://lists.sistina.com/mailman/listinfo/linux-lvm
> > read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
>
> --
>
> Regards,
> Heinz -- The LVM Guy --
>
> *** Software bugs are stupid.
> Nevertheless it needs not so stupid people to solve them ***
>
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> =-=-=-=-=-=-=-=-
>
> Heinz Mauelshagen Sistina
> Software Inc.
> Senior Consultant/Developer Am Sonnenhang 11
> 56242 Marienrachdorf
> Germany
> Mauelshagen@Sistina.com +49 2626 141200
> FAX 924446
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> =-=-=-=-=-=-=-=-
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: [linux-lvm] Renumbered drives hosed VG.
@ 2001-08-15 21:47 Diehl, Jeffrey
0 siblings, 0 replies; 6+ messages in thread
From: Diehl, Jeffrey @ 2001-08-15 21:47 UTC (permalink / raw)
To: 'linux-lvm@sistina.com'
Well, if I do a vgscan, it should find all of the VG's, right? The log
below indicates that this isn't happening. All I want to do is create a
large volume, move the data from the Database VG onto that new volume, then
incorporate the space used by Database into the new volume and resize my
filesystem. This should not take 2 days!
Any help would be most appreciated.
Script started on Wed Aug 15 08:29:02 2001
[root@filmore jdiehl]# vgscan
vgscan -- reading all physical volumes (this may take a while...)
vgscan -- found active volume group "Database"
vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
vgscan -- WARNING: you may not have an actual VGDA backup of your volume
group
[root@filmore jdiehl]# vgcreate Database2 -s 8M /dev/sdc6
vgcreate -- "/dev/sdc6" is no new physical volume
vgcreate -- physical volume "/dev/sdc6" already belongs to volume group
"Database2"
[root@filmore jdiehl]#
[root@filmore jdiehl]# exit
Mike Diehl,
Network Monitoring Tool Devl.
Sandia National Laboratories.
(505) 284-3137
jdiehl@sandia.gov
> -----Original Message-----
> From: Heinz J . Mauelshagen [mailto:mauelshagen@sistina.com]
> Sent: August 15, 2001 2:57 AM
> To: linux-lvm@sistina.com
> Subject: Re: [linux-lvm] Renumbered drives hosed VG.
>
>
> On Tue, Aug 14, 2001 at 02:52:17PM -0600, Diehl, Jeffrey wrote:
> > Hi all,
> >
> > I recently upgraded from a modular kernel to a monolithic
> kernel, which
> > renumbered all of my drives. sda became sdb, sdb became
> sdc and adc became
> > sda, etc. Now one of my VG's is hosed. How do I recover from this?
>
> A vgscan run should excatly address this.
> Did it take place after the changes and *before* "vgchange -ay"?
>
> >
> > Thanx,
> > Mike Diehl,
> > Network Monitoring Tool Devl.
> > 284-3137
> > jdiehl@sandia.gov
> >
> >
> > _______________________________________________
> > linux-lvm mailing list
> > linux-lvm@sistina.com
> > http://lists.sistina.com/mailman/listinfo/linux-lvm
> > read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
>
> --
>
> Regards,
> Heinz -- The LVM Guy --
>
> *** Software bugs are stupid.
> Nevertheless it needs not so stupid people to solve them ***
>
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> =-=-=-=-=-=-=-=-
>
> Heinz Mauelshagen Sistina
> Software Inc.
> Senior Consultant/Developer Am Sonnenhang 11
> 56242 Marienrachdorf
> Germany
> Mauelshagen@Sistina.com +49 2626 141200
> FAX 924446
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> =-=-=-=-=-=-=-=-
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2001-08-15 21:47 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-14 20:52 [linux-lvm] Renumbered drives hosed VG Diehl, Jeffrey
2001-08-15 8:57 ` Heinz J . Mauelshagen
2001-08-15 11:07 ` José Luis Domingo López
-- strict thread matches above, loose matches on Subject: below --
2001-08-15 20:50 Diehl, Jeffrey
2001-08-15 20:54 Diehl, Jeffrey
2001-08-15 21:47 Diehl, Jeffrey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox