lvm

Mikkel L. Ellertson mikkel at infinity-ltd.com
Mon Nov 24 01:36:13 UTC 2008


Patrick Dupre wrote:
> Hello,
> 
> I duplicate an hard drive to another one with logical partition.
> I kept the / on a standard partition, put the /usr on /dev/VG1/usr, etc...
> When I mount the logical partitions I do  experience any problem but when
> I boot the machine on the logical partition I get an error from the
> /etc/fstab.
> 
How did you duplicate the drive?

> fsck complains
> The superblock could not be read or does not describe a correct ext2
>  filesystem.  If the device is valid and it really contains an ext2
>  filesystem (and not swap or ufs or something else), then the superblock
>  is corrupt, and you might try running e2fsck with an alternate superblock:
>      e2fsck -b 8193 <device>
> 
> I am using grub,
> 
> In the fstab I put:
> /dev/VG1/usr    /usr
> 
Please post your entire /etc/fstab.

> I looks like that the logical partitions are not recognize by fsck, but it
> works fine when I do the same from a properly boot disk.
> 
fsck works find with LVM. I suspect that you may may have the wrong
LV and/or VG name. You may want to run lvscan to display the names.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20081123/2744bb85/attachment-0001.sig>


More information about the fedora-list mailing list