LVM needs e2fsck after Upgrade from Kubuntu 8.10 x64 to 9.04 x64
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
LVM needs e2fsck after Upgrade from Kubuntu 8.10 x64 to 9.04 x64
For the most part, the upgrade went fine. But I'm stuck with manually mounting my LVM every time.
Here is the output of /var/log/fsck/checkfs:
dpich@dpich-desktop:~$ sudo cat /var/log/fsck/checkfs
Log of fsck -C3 -R -A -a
Sun Apr 26 19:10:24 2009
fsck 1.41.4 (27-Jan-2009)
fsck.ext3: No such file or directory while trying to open /dev/Storage/Stuff
/dev/Storage/Stuff:
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>
fsck died with exit status 8
Sun Apr 26 19:10:24 2009
----------------
dpich@dpich-desktop:~$
is the manual mouting working ?
are you (without any warning/error) able to mount the volume /dev/Storage/Stuff manually ?
when you are able to mount, is the VG Storage already active or do you manually activate it ?
the problem is somehow the machine is not enabling your LVM volumes during boot.
Based on the distribution, is the lvm service enabled during startup ?
in fedora it is netfs (which does the lvm work and mounts all the LVs)
in debian it is lvm2
make sure these are enabled in your runlevel and at the rcS.d level
what is the distro you are using ?
based on this the commands may change
in case fedora ... redhat versions you have to use
ntsysv --level S
and enable lvm
in case of debian
manually add lvm at a top runlevel (<20)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.