Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


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

Rep: Reputation: 0
Mounting linear-raid partition


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, 04:48 PM   #2
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, 05:04 AM   #3
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?


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

All times are GMT -5. The time now is 01:19 AM.

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