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
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
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 ?
Yes. It works perfectly if I do:
When I do those all in order, my lvm becomes active. Manually works like expected.
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
Please help me understand what you are saying. I rechecked my script in which is /etc/init.d/lvm.
dpich@dpich-desktop:/$ cat /etc/init.d/lvm
case "$1" in
When I tried to update the service, I got the following:
dpich@dpich-desktop:/$ sudo update-rc.d lvm defaults
update-rc.d: warning: /etc/init.d/lvm missing LSB information
update-rc.d: see <http://wiki.debian.org/LSBInitScripts>
System startup links for /etc/init.d/lvm already exist.
Am I missing something basic?
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)
Running into some other problems with the upgrade from 8.10 to 9.04, I decided to scrap my 8.10 system and start fresh with 9.04.
still gives me a problem loading the lvm. I still have to manually run 'vgscan', 'vgchange -ay', and mount to get the lvm working.
I'm looking for bugs via Google, but nothing has come up. How else can I troubleshoot this?
|All times are GMT -5. The time now is 01:37 AM.|