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
|