* [linux-lvm] Changing PV position
@ 2003-12-18 5:11 Benoit
2003-12-19 4:15 ` Heinz J . Mauelshagen
0 siblings, 1 reply; 4+ messages in thread
From: Benoit @ 2003-12-18 5:11 UTC (permalink / raw)
To: linux-lvm
Hello,
I'm currently using lvm on my box and one disk just died.
Then the second disk (hdb) became the first one (hda). The problem is that now
I can't get back the physical volume which is on it. Is it possible to tell
lvm to force the reading of a PV even if it isn't on the same disk as
before ?
Thank you for your help.
Benoit
Informations :
peck:/# fdisk -l /dev/hda
Disk /dev/hda: 122.9 GB, 122942324736 bytes
255 heads, 63 sectors/track, 14946 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 898 7213153+ b W95 FAT32
/dev/hda2 899 1384 3903795 83 Linux
/dev/hda3 1385 14946 108936765 5 Extended
/dev/hda5 1385 1992 4883728+ fd Linux raid autodetect
/dev/hda6 1993 14946 104052973+ 8e Linux LVM
peck:/# pvs /dev/hda6
Failed to read physical volume "/dev/hda6"
I'm currently using linux 2.6-test9, with lvm2 tools.
The missing volume was created with lvm1 tools.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-lvm] Changing PV position
2003-12-18 5:11 [linux-lvm] Changing PV position Benoit
@ 2003-12-19 4:15 ` Heinz J . Mauelshagen
2003-12-19 8:18 ` [linux-lvm] Question: Fstab Stuart Felenstein
2003-12-19 9:05 ` [linux-lvm] Changing PV position Benoit
0 siblings, 2 replies; 4+ messages in thread
From: Heinz J . Mauelshagen @ 2003-12-19 4:15 UTC (permalink / raw)
To: linux-lvm
On Thu, Dec 18, 2003 at 12:08:49PM +0100, Benoit wrote:
> Hello,
>
> I'm currently using lvm on my box and one disk just died.
> Then the second disk (hdb) became the first one (hda). The problem is that now
> I can't get back the physical volume which is on it. Is it possible to tell
> lvm to force the reading of a PV even if it isn't on the same disk as
> before ?
vgscan does whyt you are asking for (before trying "vgchange -ay").
>
> Thank you for your help.
> Benoit
>
>
> Informations :
>
> peck:/# fdisk -l /dev/hda
>
> Disk /dev/hda: 122.9 GB, 122942324736 bytes
> 255 heads, 63 sectors/track, 14946 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
>
> Device Boot Start End Blocks Id System
> /dev/hda1 * 1 898 7213153+ b W95 FAT32
> /dev/hda2 899 1384 3903795 83 Linux
> /dev/hda3 1385 14946 108936765 5 Extended
> /dev/hda5 1385 1992 4883728+ fd Linux raid autodetect
> /dev/hda6 1993 14946 104052973+ 8e Linux LVM
>
> peck:/# pvs /dev/hda6
> Failed to read physical volume "/dev/hda6"
>
>
> I'm currently using linux 2.6-test9, with lvm2 tools.
> The missing volume was created with lvm1 tools.
>
>
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
--
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] 4+ messages in thread* [linux-lvm] Question: Fstab
2003-12-19 4:15 ` Heinz J . Mauelshagen
@ 2003-12-19 8:18 ` Stuart Felenstein
2003-12-19 9:05 ` [linux-lvm] Changing PV position Benoit
1 sibling, 0 replies; 4+ messages in thread
From: Stuart Felenstein @ 2003-12-19 8:18 UTC (permalink / raw)
To: linux-lvm
[-- Attachment #1: Type: text/plain, Size: 477 bytes --]
After reading the docs and searching the archives I'm still a bit confusied on the issue of how to mount the logical volume I've created, upon bootup.
I can use the mount command and that seems to work fine. vgscan detects it on boot.
Currently (and I've just really set up the system) is to issue
mount -t ext3 /dev/video_stor/logvol1 /mnt
then I can cd to /dev/video_stor
while I'm posting here in the dev/video_stor directory I see group and logvol1
Thanks
Stuart
[-- Attachment #2: Type: text/html, Size: 655 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-lvm] Changing PV position
2003-12-19 4:15 ` Heinz J . Mauelshagen
2003-12-19 8:18 ` [linux-lvm] Question: Fstab Stuart Felenstein
@ 2003-12-19 9:05 ` Benoit
1 sibling, 0 replies; 4+ messages in thread
From: Benoit @ 2003-12-19 9:05 UTC (permalink / raw)
To: linux-lvm
On Friday 19 December 2003 11:09, Heinz J . Mauelshagen wrote:
> On Thu, Dec 18, 2003 at 12:08:49PM +0100, Benoit wrote:
> > Hello,
> >
> > I'm currently using lvm on my box and one disk just died.
> > Then the second disk (hdb) became the first one (hda). The problem is
> > that now I can't get back the physical volume which is on it. Is it
> > possible to tell lvm to force the reading of a PV even if it isn't on the
> > same disk as before ?
>
> vgscan does whyt you are asking for (before trying "vgchange -ay").
I found the problem, my lvm.conf had a filter to dsable the scan of the first
drive. So now vgchange -ay works.
Thank you for your help and sorry for bugging you.
Benoit
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-12-19 9:05 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-18 5:11 [linux-lvm] Changing PV position Benoit
2003-12-19 4:15 ` Heinz J . Mauelshagen
2003-12-19 8:18 ` [linux-lvm] Question: Fstab Stuart Felenstein
2003-12-19 9:05 ` [linux-lvm] Changing PV position Benoit
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.