LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 11-22-2005, 12:06 PM   #1
jma
LQ Newbie
 
Registered: Jul 2003
Location: Copenhagen, Denmark
Distribution: Fedora
Posts: 7

Rep: Reputation: 0
raid, striped. How to mount on new system


Hi,
I need some help to mount 2 disk from a server that crashed. There should be nothing wrong with these 2 disks, as it was a 3th disk, containing the OS that crashed.
Now I installed Fedora Core 4 on a new harddisk and wants to mount the 2 disks (sata) that used to form the the raid0, striped. Though I do not know how...
I am using the same computer as before, only change is that I had to swith the disk with the OS.

If I run fdisk /dev/md0 I get this:
(well I do not dare to use w to write, as I have some data on that I would like to get)


[root@tornado ~]# fdisk /dev/md0
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF
disklabel Building a new DOS disklabel. Changes will remain in memory
only, until you decide to write them. After that, of course, the previous
content won't be recoverable.

The number of cylinders for this disk is set to 39074048. There is nothing
wrong with that, but this is larger than 1024, and could in certain setups
cause problems with: 1) software that runs at boot time (e.g., old
versions of LILO) 2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Warning: invalid flag 0x0000 of partition table 4 will be corrected by
w(rite)

Command (m for help):



The result from an fdisk -l:
<fdisk>

[root@tornado ~]# fdisk -l

Disk /dev/hdb: 122.9 GB, 122942324736 bytes
255 heads, 63 sectors/track, 14946 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 13 104391 83 Linux
/dev/hdb2 14 14946 119949322+ 8e Linux LVM

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 9729 78148161 fd Linux raid autodetect

Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 9729 78148161 fd Linux raid autodetect

Disk /dev/md0: 160.0 GB, 160047300608 bytes
2 heads, 4 sectors/track, 39074048 cylinders
Units = cylinders of 8 * 512 = 4096 bytes

Disk /dev/md0 doesn't contain a valid partition table
</fdisk>


Hope to get some help,

Best regards,
Jan
 
Old 11-22-2005, 01:21 PM   #2
Keruskerfuerst
Member
 
Registered: Oct 2005
Location: Lat: 48░23┤56┤┤N, Lon: 10░41┤45┤┤E
Distribution: Gentoo 2006
Posts: 719

Rep: Reputation: 31
mount /dev/md0 "filesystem" /"mountpoint" rw,defaults 0 0

You should consider using a different raid as raid 0. If one of the harddisks crash, a data will be lost.
 
Old 11-22-2005, 02:36 PM   #3
jma
LQ Newbie
 
Registered: Jul 2003
Location: Copenhagen, Denmark
Distribution: Fedora
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Keruskerf├╝rst
mount /dev/md0 "filesystem" /"mountpoint" rw,defaults 0 0

You should consider using a different raid as raid 0. If one of the harddisks crash, a data will be lost.
Thanks for answering,
Yes to consider different raid. It was on purpus though, I should just not put importent data there :-(
Well I have a question concerning mount /dev/md0 "filesystem" /"mountpoint" rw,defaults 0 0,
The "filesystem"-part, I assume that it would be like -t ext3 ? If so, then it does not work:
mount /dev/md0 -t ext3 /mnt/tmp/ rw,defaults 0 0
 
  


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
Why can't I mount this md0 raid? (mdadm and software raid) cruiserparts Linux - Software 35 01-05-2013 03:35 PM
9.1 install on 3 striped drives monster98 Slackware - Installation 2 08-05-2004 02:23 PM
win2k striped drive...reformat for mdk9.2? alionraa Linux - Hardware 0 01-14-2004 07:00 PM
Dual boot XP+RH9 on Striped SATA Jestrik Linux - Hardware 0 12-09-2003 03:44 AM
moving system from ide software raid to new box with scsi raid ftumsh Linux - General 0 10-28-2003 09:34 AM


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