Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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.
Distribution: Ubuntu LTS Servers, Redhat Server Administrators and Solaris 10 Newbie
Removing troubled LVM.
Dear Linux experts,
I am learning LVM. I have created a volume group from the Centos GUI installation.
however, when I did something on the LVM logical volumes and the computer would
not boot. It displayed this message :
/: clean, 257627/2946248 files, 1296269/2943903 blocks
fsck.ext3: No such file or directory while trying to open /dev/VolGroup00/LogVol00
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 ot swap or
ufs or something else), then the superblock is corrupt, and you might try running
e2fsck with an alternate superblock:
e2fsck -b 8193
Please advise and thanks in advance.
the LVM takes /dev/sda2, /dev/sda3, /dev/sda5 & /dev/sda6
all of them is under VolGroup00.
Never mind about the data on that LVM. I have the / in /dev/sda1.
I just need this machine to boot. thats all.
I can use the LiveCD to get into the command line, but I have no clue
to fix this problem.
if all you want to do is get the machine booted & the LVM doesn't have anything to do with / then:
boot off a live CD (or drop to a maintenance shell if you have the option)
edit etc/fstab on the mounted /
comment out the line that tries to mount the LVM.... simply put a '#' at the beginning of the line.
save the file
unmount the drive