[linux-lvm] Problem mounting ext2 fs on LVM

Andreas Dilger adilger at turbolinux.com
Tue Feb 27 17:02:47 UTC 2001


Urs writes:
> After having decided that the performance problem I described in the
> other thread in this ML are probably not that important for me, I
> tried to create an ext2 fs with 1024 byte blocks on a 1 GB LV.
> 
> But I can't mount it after creating the fs.  I can mount it if I
> create it on sda5 instead of the LV, or if I choose 4K block size.
> 
>     isnogud:/root# mount /dev/vg0/test /mnt
>     mount: wrong fs type, bad option, bad superblock on /dev/vg0/test,
>     	   or too many mounted file systems

What does it say in the syslog?  This will tell you why ext2 thinks it
can't mount, and will give us a clue on how to fix LVM.  I'm guessing
that when ext2 tries to set the blocksize to 1k it fails.

Cheers, Andreas
-- 
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert



More information about the linux-lvm mailing list