LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 07-16-2008, 09:10 AM   #1
Zepiroth
Member
 
Registered: May 2003
Location: Surabaya, Jawa Timur, Indonesia
Distribution: Ubuntu LTS Servers, Redhat Server Administrators and Solaris 10 Newbie
Posts: 56

Rep: Reputation: 15
Question 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 :

Checking filesystems
/: clean, 257627/2946248 files, 1296269/2943903 blocks
fsck.ext3: No such file or directory while trying to open /dev/VolGroup00/LogVol00
/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.


Note :

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.
 
Old 07-16-2008, 04:32 PM   #2
BrianK
Senior Member
 
Registered: Mar 2002
Location: Los Angeles, CA
Distribution: Debian, Ubuntu
Posts: 1,334

Rep: Reputation: 51
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)
mount /
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
reboot.
 
Old 07-17-2008, 05:33 AM   #3
Zepiroth
Member
 
Registered: May 2003
Location: Surabaya, Jawa Timur, Indonesia
Distribution: Ubuntu LTS Servers, Redhat Server Administrators and Solaris 10 Newbie
Posts: 56

Original Poster
Rep: Reputation: 15
Thumbs up The solution worked.

Dear Brian,

The solution works. Thank you.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Removing Logical Devices Using LVM On Linux And Unix LXer Syndicated Linux News 0 06-16-2008 06:50 AM
RHEL3 - removing disks shifts LVM dev names downward? QuantSuff Linux - Server 2 06-04-2007 11:58 AM
Can't boot puppy on a troubled SCSI disk system pofadda Puppy 3 08-22-2006 10:57 AM
Any LVM Gurus Here? (help removing a PV from a VG) sancho Linux - General 3 08-14-2005 10:33 AM
unmounting-removing LVM partition jazzyjazz Linux - Software 2 11-12-2004 02:41 PM


All times are GMT -5. The time now is 07:12 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration