[linux-lvm] LVM Broken on boot.

Terry Rigby t-rigby at shaw.ca
Fri Mar 11 03:41:51 UTC 2005


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 at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/




More information about the linux-lvm mailing list