All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] LVM Broken on boot.
@ 2005-03-11  0:33 Terry Rigby
  2005-03-11  3:41 ` Terry Rigby
  0 siblings, 1 reply; 3+ messages in thread
From: Terry Rigby @ 2005-03-11  0:33 UTC (permalink / raw)
  To: linux-lvm

Today I rebooted my system and upon reboot my LVM wouldnt mount saying "you 
must specify filesystem".  So I tried specifying the filesystem and I got the 
error "mount: special device /dev/4474/storage does not exist".

I am pretty new to LVM so I did some googling and found that pvscan should 
show my PV's.  This returned the following;
fileserver:~# pvscan
  Couldn't find device with uuid 'pvifBp-Fii0-wKCx-gM4m-VxGz-Q6Ee-oyNKL4'.
  Couldn't find device with uuid 'pvifBp-Fii0-wKCx-gM4m-VxGz-Q6Ee-oyNKL4'.
  Couldn't find device with uuid 'pvifBp-Fii0-wKCx-gM4m-VxGz-Q6Ee-oyNKL4'.
  PV /dev/hda2        VG 4474   lvm2 [18.18 GB / 18.18 GB free]
  PV /dev/hdb         VG 4474   lvm2 [74.52 GB / 74.52 GB free]
  PV /dev/hdc         VG 4474   lvm2 [74.52 GB / 74.52 GB free]
  PV unknown device   VG 4474   lvm2 [74.52 GB / 74.52 GB free]
  Total: 4 [241.75 GB] / in use: 4 [241.75 GB] / in no VG: 0 [0   ]

the "unknown" device is /dev/hdd.  When I have a look at /dev/hdd using 
pvdisplay it shows the following.
fileserver:~# pvdisplay /dev/hdd
  --- Physical volume ---
  PV Name               /dev/hdd
  VG Name               4474
  PV Size               74.52 GB / not usable 0
  Allocatable           yes
  PE Size (KByte)       4096
  Total PE              19078
  Free PE               19078
  Allocated PE          0
  PV UUID               pvifBp-Fii0-wKCx-gM4m-VxGz-Q6Ee-oyNKL4.

I really have no idea where to go from here.  Thanks to anyone that responds.  
I'll keep the mailing list updated for archiving purposes.

Terry Rigby

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [linux-lvm] LVM Broken on boot.
  2005-03-11  0:33 [linux-lvm] LVM Broken on boot Terry Rigby
@ 2005-03-11  3:41 ` Terry Rigby
  2005-03-11  3:48   ` Terry Rigby
  0 siblings, 1 reply; 3+ messages in thread
From: Terry Rigby @ 2005-03-11  3:41 UTC (permalink / raw)
  To: linux-lvm

Well, I might be somewhere now but I might have also screwed up all my data on 
the device.  I fixed the initial problem and ended up having to basically 
start fron scratch to create the LV again.  I didnt format anything, the only 
thing I did havnt to do with a filesystem was to do resize_reiserfs 
-f /dev/4474/storage.  All went fine except when I try to mount the device. 

mount /dev/4474/storage (setup in my fstab)

mount: wrong fs type, bad option, bad superblock on /dev/4474/storage,
       or too many mounted file systems

:(  Dont know where to go from here


>Re: [linux-lvm] LVM Broken on boot.
>(Sam Vilain, Thu Mar 10 18:48:40 2005)
>Hmm, that looks nasty.  You might get somewhere using the -P option to the
>commands... something like
>
>vgscan -P
>vgchange -P -ay
>vgreduce --removemissing myvg
>
>Please follow-up to the list on success!
>
>Sam.

On March 10, 2005 04:33 pm, Terry Rigby wrote:
> Today I rebooted my system and upon reboot my LVM wouldnt mount saying "you
> must specify filesystem".  So I tried specifying the filesystem and I got
> the error "mount: special device /dev/4474/storage does not exist".
>
> I am pretty new to LVM so I did some googling and found that pvscan should
> show my PV's.  This returned the following;
> fileserver:~# pvscan
>   Couldn't find device with uuid 'pvifBp-Fii0-wKCx-gM4m-VxGz-Q6Ee-oyNKL4'.
>   Couldn't find device with uuid 'pvifBp-Fii0-wKCx-gM4m-VxGz-Q6Ee-oyNKL4'.
>   Couldn't find device with uuid 'pvifBp-Fii0-wKCx-gM4m-VxGz-Q6Ee-oyNKL4'.
>   PV /dev/hda2        VG 4474   lvm2 [18.18 GB / 18.18 GB free]
>   PV /dev/hdb         VG 4474   lvm2 [74.52 GB / 74.52 GB free]
>   PV /dev/hdc         VG 4474   lvm2 [74.52 GB / 74.52 GB free]
>   PV unknown device   VG 4474   lvm2 [74.52 GB / 74.52 GB free]
>   Total: 4 [241.75 GB] / in use: 4 [241.75 GB] / in no VG: 0 [0   ]
>
> the "unknown" device is /dev/hdd.  When I have a look at /dev/hdd using
> pvdisplay it shows the following.
> fileserver:~# pvdisplay /dev/hdd
>   --- Physical volume ---
>   PV Name               /dev/hdd
>   VG Name               4474
>   PV Size               74.52 GB / not usable 0
>   Allocatable           yes
>   PE Size (KByte)       4096
>   Total PE              19078
>   Free PE               19078
>   Allocated PE          0
>   PV UUID               pvifBp-Fii0-wKCx-gM4m-VxGz-Q6Ee-oyNKL4.
>
> I really have no idea where to go from here.  Thanks to anyone that
> responds. I'll keep the mailing list updated for archiving purposes.
>
> Terry Rigby
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [linux-lvm] LVM Broken on boot.
  2005-03-11  3:41 ` Terry Rigby
@ 2005-03-11  3:48   ` Terry Rigby
  0 siblings, 0 replies; 3+ messages in thread
From: Terry Rigby @ 2005-03-11  3:48 UTC (permalink / raw)
  To: linux-lvm

I tried mounting the device manually "mount -t 
reiserfs /dev/4474/storage /storage" and IT WORKED.  It doesnt work without 
specifying the filesystem but at least it works.  I basically removed all 
drives from the lv and removed the info on the drive using pvremove. Then I 
complety restarted from scratch (following the howto at tldp.org) making sure 
I added the devices in the same order as I originally had them.

Thats about all I can offer for advice.  I don't even know if it is dangerous 
to do it this way or not but it worked for me, maybe it will work for someone 
else one day also.

Terry

On March 10, 2005 07:41 pm, Terry Rigby wrote:
> Well, I might be somewhere now but I might have also screwed up all my data
> on the device.  I fixed the initial problem and ended up having to
> basically start fron scratch to create the LV again.  I didnt format
> anything, the only thing I did havnt to do with a filesystem was to do
> resize_reiserfs -f /dev/4474/storage.  All went fine except when I try to
> mount the device.
>
> mount /dev/4474/storage (setup in my fstab)
>
> mount: wrong fs type, bad option, bad superblock on /dev/4474/storage,
>        or too many mounted file systems
>
> :(  Dont know where to go from here
> :
> >Re: [linux-lvm] LVM Broken on boot.
> >(Sam Vilain, Thu Mar 10 18:48:40 2005)
> >Hmm, that looks nasty.  You might get somewhere using the -P option to the
> >commands... something like
> >
> >vgscan -P
> >vgchange -P -ay
> >vgreduce --removemissing myvg
> >
> >Please follow-up to the list on success!
> >
> >Sam.
>
> On March 10, 2005 04:33 pm, Terry Rigby wrote:
> > Today I rebooted my system and upon reboot my LVM wouldnt mount saying
> > "you must specify filesystem".  So I tried specifying the filesystem and
> > I got the error "mount: special device /dev/4474/storage does not exist".
> >
> > I am pretty new to LVM so I did some googling and found that pvscan
> > should show my PV's.  This returned the following;
> > fileserver:~# pvscan
> >   Couldn't find device with uuid
> > 'pvifBp-Fii0-wKCx-gM4m-VxGz-Q6Ee-oyNKL4'. Couldn't find device with uuid
> > 'pvifBp-Fii0-wKCx-gM4m-VxGz-Q6Ee-oyNKL4'. Couldn't find device with uuid
> > 'pvifBp-Fii0-wKCx-gM4m-VxGz-Q6Ee-oyNKL4'. PV /dev/hda2        VG 4474  
> > lvm2 [18.18 GB / 18.18 GB free]
> >   PV /dev/hdb         VG 4474   lvm2 [74.52 GB / 74.52 GB free]
> >   PV /dev/hdc         VG 4474   lvm2 [74.52 GB / 74.52 GB free]
> >   PV unknown device   VG 4474   lvm2 [74.52 GB / 74.52 GB free]
> >   Total: 4 [241.75 GB] / in use: 4 [241.75 GB] / in no VG: 0 [0   ]
> >
> > the "unknown" device is /dev/hdd.  When I have a look at /dev/hdd using
> > pvdisplay it shows the following.
> > fileserver:~# pvdisplay /dev/hdd
> >   --- Physical volume ---
> >   PV Name               /dev/hdd
> >   VG Name               4474
> >   PV Size               74.52 GB / not usable 0
> >   Allocatable           yes
> >   PE Size (KByte)       4096
> >   Total PE              19078
> >   Free PE               19078
> >   Allocated PE          0
> >   PV UUID               pvifBp-Fii0-wKCx-gM4m-VxGz-Q6Ee-oyNKL4.
> >
> > I really have no idea where to go from here.  Thanks to anyone that
> > responds. I'll keep the mailing list updated for archiving purposes.
> >
> > Terry Rigby
> >
> > _______________________________________________
> > linux-lvm mailing list
> > linux-lvm@redhat.com
> > https://www.redhat.com/mailman/listinfo/linux-lvm
> > read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-03-11  3:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-11  0:33 [linux-lvm] LVM Broken on boot Terry Rigby
2005-03-11  3:41 ` Terry Rigby
2005-03-11  3:48   ` Terry Rigby

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.