hi,
i am having a similar issue. i have just setup my first raid 1 on a netbook run by ubuntu 10.10 using a pair of 4gb usb sticks.
the output from mdadm -query is ...
Quote:
af@jayne:~$ sudo mdadm --query --detail /dev/md*
/dev/md0:
Version : 00.90
Creation Time : Thu Dec 23 11:32:19 2010
Raid Level : raid1
Array Size : 3687360 (3.52 GiB 3.78 GB)
Used Dev Size : 3687360 (3.52 GiB 3.78 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 0
Persistence : Superblock is persistent
Update Time : Thu Dec 23 14:11:22 2010
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
UUID : 74380809:d00ffa12:ef32bd85:f9dc5bba
Events : 0.58
Number Major Minor RaidDevice State
0 8 17 0 active sync /dev/sdb1
1 8 33 1 active sync /dev/sdc1
af@jayne:~$
|
subsequently i believe the raid is correctly setup and addressable under /dev/md0.
however i believe that in order to mount the raid and use it i must add /dev/md0 to /etc/fstab or /etc/mtab. i am unsure which file to change. (as zetec has articulated with his link)
i don't think i need to reformat anything.
so my proposal is to add something like..
/dev/md0 /media/raid1 ext4 <options?> <dump?> <pass?>
... to /etc/fstab
but i do not know what to use for <options> <dump> or <pass> because it is a usb raid and there is no example on my system to follow.
also i should have to add the mount point /media/raid1 but i am unsure how to go about it.
forgive me if i am walking on the thread but i think mohdsuboor23 and i have a similar solution path to our respective problems.
please advise.