LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-03-2007, 07:19 AM   #1
pichici
LQ Newbie
 
Registered: Nov 2007
Posts: 1

Rep: Reputation: 0
Raid 0 with mdadm,mounted on wrong partition


Hi,thank-you in advance for answering my questions.

i've created a raid 0 with two disk of 80 gb (/dev/hdb e /dev/hdc).
This is my fstab:

/dev/hda7 swap swap defaults 0 0
/dev/hda1 / ext3 defaults 1 1
/dev/hda6 /home ext3 defaults 1 2
/dev/hda5 /media/EMULE ext3 defaults 1 2
/dev/hdb1 /media/MaxtorHDB ext3 defaults 1 2
/dev/md0 /media/tatooine ext3 defaults 1 2
/dev/hdc1 /media/MaxtorHDC ext3 defaults 1 2
#/dev/cdrom /mnt/cdrom auto noauto,owner,ro 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
~
This is what mdadm returns:

root@darkstar:/etc# mdadm --detail /dev/md0
/dev/md0:
Version : 00.90.03
Creation Time : Tue Oct 9 04:46:31 2007
Raid Level : raid0
Array Size : 160078848 (152.66 GiB 163.92 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 0
Persistence : Superblock is persistent

Update Time : Fri Nov 2 03:42:42 2007
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0

Chunk Size : 64K

UUID : 2d4d2c1a:2a1895b4:9e3624f3:a542ef2f
Events : 0.21

Number Major Minor RaidDevice State
0 3 65 0 active sync /dev/hdb1
1 22 1 1 active sync /dev/hdc1

And this is what "fdisk -l" returns:

Disk /dev/hdb: 81.9 GB, 81964302336 bytes
16 heads, 63 sectors/track, 158816 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 1 158816 80043232+ fd Linux raid autodetect

Disk /dev/hdc: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

The problem is that the folder /media/tatooine is not mounted on dev/md0
.It's mounted on the root partition.How it's possible?

Thanks
 
Old 11-10-2007, 10:29 PM   #2
elfoozo
Member
 
Registered: Feb 2004
Location: Washington, USA
Distribution: Debian
Posts: 265

Rep: Reputation: 32
Show contents from /etc/mtab.
 
  


Reply



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
Can't create partition on mdadm raid5 and images mounted over loopback emat Linux - Software 2 06-11-2011 01:23 PM
RAID through mdadm rosey Linux - Server 5 04-08-2007 11:57 AM
Mailing with MDADM RAID rootking Linux - Hardware 1 07-26-2005 04:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:44 AM.

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
Open Source Consulting | Domain Registration