LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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-08-2008, 08:33 AM   #1
rxn20
LQ Newbie
 
Registered: Jul 2008
Posts: 2

Rep: Reputation: 0
Problem mounting RAID5 set (LVM paritions)


I have a friend that I'm trying to help out from off-site. He had a CentOS 4 server with a RAID5 set being served through an Adaptec 2110S card. He started having problems with his box and for some reason decided to re-install from scratch to CentOS 5.

I'm able to fdisk the RAID5 partition located at /dev/i2o/hda1, so I know that the new install is at least seeing the raid set. However, I'm not able to mount the disk. It should be noted that the RAID array was composed of 4 disks in a RAID5 configuration, with only one (I think, fdisk only showing one partition) partition. It was set up using LVM, which could be at the root of the problem.

Here is the output of the mount command:
root@box[~]: mount /dev/i2o/hda1 /temp
mount: you must specify the filesystem type
root@box[~]:

I need to be able to temporarily mount this partition to be able to pull off some data, but I don't see an option specific to LVM.

I think this may have something to do with the fact that it was set up using LVM rather than just regular ext3. If there is any other information that I can provide, please don't hesitate to let me know...this is my first time posting.

Thanks in advance!!
 
Old 07-09-2008, 01:31 PM   #2
kenoshi
Member
 
Registered: Sep 2007
Location: SF Bay Area, CA
Distribution: CentOS, SLES 10+, RHEL 3+, Debian Sarge
Posts: 159

Rep: Reputation: 32
Heya, welcome to LQ.

If its set up using LVM, you really shouldn't try and mount the physical partition directly. Hopefully you haven't done anything through fdisk to mangle the RAID device.

What you need to do is to restore the metadata. Since your friend erased everything, check out this article:

http://www.linuxjournal.com/article/8874

Skip the raid section and go to the section "Recovering and Renaming the LVM2 Volume" and start from there.

Hope this helps.
 
Old 07-10-2008, 09:17 AM   #3
rxn20
LQ Newbie
 
Registered: Jul 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Kenoshi,

Thanks for the advice. Literally minutes after posting this I found the article that you referenced, and had already followed the instructions there to get the volumes activated and mounted.

Thanks for your help, it is appreciated
 
  


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 raid5 yggdrasil03 Linux - Software 1 08-03-2007 03:59 AM
Want to move LVM installation to RAID5 array - how do I get it to boot? nethbar Linux - Software 0 05-29-2007 10:49 AM
software raid5 + LVM and other questions slackman Linux - Server 0 05-08-2007 02:54 AM
problem mounting LVM conalmc Linux - Newbie 3 02-15-2006 12:29 PM
Need assistance mounting paritions in Ubuntu and setting password cajunaggie Linux - Software 4 01-08-2005 03:14 PM


All times are GMT -5. The time now is 04:59 AM.

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