LinuxQuestions.org
Register a domain and help support LQ
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 12-05-2008, 11:22 AM   #1
dfezz1
LQ Newbie
 
Registered: Mar 2008
Posts: 11

Rep: Reputation: 0
mounting LVM disks via rescue disk (bad superblock)


Hi,

I have a server that kernal panic-ed on reboot and has a bad super block.

I need to run fsck on the RootVG, but can't see or mount the filesystems, once I boot using the rescue disk.

I have a non-LVM /boot partition and I am using grub loader.
RHEL4.6
Dell R900
Perc-6i raid controller


So my real question is how to mount the root file system from the rescue disk, when using LVM

Thanks
-DFEZZ1

Last edited by dfezz1; 12-05-2008 at 12:06 PM.
 
Old 12-05-2008, 01:31 PM   #2
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,153

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
Do a pvscan to see what you have on your attached drives, and then a vgchange -a y to activate the logical volumes.

You should then find the logical volumes in /dev/mapper/....

Note: NEVER RUN fcsk ON A PARTITION CONTAINING A VOLUME GROUP. Doing so will destroy the whole volume group. You can run fsck on /dev/mapper/VG/LV if necessary, but not on, for example, /dev/sda1.
 
Old 12-06-2008, 09:29 PM   #3
dfezz1
LQ Newbie
 
Registered: Mar 2008
Posts: 11

Original Poster
Rep: Reputation: 0
Thumbs up Thanks

Thanks a lot for the info!!!!
I'll put it to good use this and next time

Thanks
 
  


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
Problem mounting CD-ROM: wrong fs type, bad option, bad superblock on /dev/cdrom Oooska Linux - Newbie 7 07-10-2013 12:37 PM
ERROR AT MOUNTING USB :mount: wrong fs type, bad option, bad superblock on /dev/sda1, saiket Linux - Hardware 3 04-12-2008 01:07 AM
FC5, Hardware Raid 5, LVM, Rescue Mode, Bad Superblock dtdionne Fedora 10 12-05-2007 10:32 AM
Bad superblock when mounting hard drive... SamJ Linux - Hardware 5 06-04-2005 08:32 PM
trouble mounting drive, bad superblock error mattuc Linux - Hardware 3 05-27-2004 11:05 AM


All times are GMT -5. The time now is 07:56 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