LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 12-22-2004, 03:25 AM   #1
daniel_lidstrom
LQ Newbie
 
Registered: Dec 2004
Location: Stockholm, Sweden
Distribution: Mandrake
Posts: 10

Rep: Reputation: 0
Mounting linear-raid partition


Hello,

I'd like to know how I can mount my linear-raid partition from a Live-CD such as Knoppix. I'm starting Knoppix but of course it does not recognize the partition. It is set up as a linear raid using /dev/hde3 and /dev/hdg2. What steps do I need to take to be able to mount the partition? I just want to salvage the data, and the mounting point is not important. If possible, I'd like to mount it as read-only. Any pointers or references greatly appreciated!
 
Old 12-22-2004, 05:48 PM   #2
gerrit_daniels
Member
 
Registered: Oct 2003
Location: Belgium
Distribution: Kubuntu
Posts: 34

Rep: Reputation: 15
What do you mean when you say it doesn't recognize the partition? That it isn't mounted by default or that the device file isn't present. The device file should be '/dev/md0' (which is a symlink to '/dev/md/0').

If the device is present, then you can mount it using "mount -t <fs-type> -o ro /dev/md0 <mount-point>".
 
Old 12-29-2004, 06:04 AM   #3
daniel_lidstrom
LQ Newbie
 
Registered: Dec 2004
Location: Stockholm, Sweden
Distribution: Mandrake
Posts: 10

Original Poster
Rep: Reputation: 0
Ok I will try mounting /dev/md0 when I come home. It is there when I boot with Knoppix. There is one thing I don't understand though: how does the kernel know that /dev/md0 is a linear-raid partition consisting of /dev/hde3 and /dev/hdg2, in that order? Can the kernel figure this out from the partition tables?
 
  


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
Converting an ordinary partition to RAID 1 or RAID 5? krishvij Linux - Newbie 1 03-20-2005 10:39 PM
fstab entries show non-linear partition numbers Caysho Linux - Newbie 2 01-01-2005 09:25 AM
Dirty "RAID"-array in linear mode after hdd went offline tomas412 Linux - Software 1 08-14-2004 11:12 AM
linear raid recovery beaucoup Linux - Software 0 02-27-2004 03:28 AM
software raid (linear) and moving disks TuxJay Linux - Software 0 08-27-2003 04:36 AM


All times are GMT -5. The time now is 02:52 PM.

Main Menu
Advertisement
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