s1za
24-11-2008, 16:05
Hi,
I'm trying to setup a raid1 with two 1tb external discs (disc1 and disc2) just one partition for data. The /opt and
swap are on a 1Gb flash pen (disc0). I'm able to run the raid (it syncs ok), format the device to ext3, but i'm not able to mount the /dev/md0
so i can start to copy the data. Can anyone give me help on this?
Thanks in advance
[a@x]$ cat /proc/mdstat
Personalities : [raid1]
read_ahead 1024 sectors
md0 : active raid1 scsi/host1/bus0/target0/lun0/part1[0] scsi/host2/bus0/target0/lun0/part1[1]
976759936 blocks [2/2] [UU]
unused devices: <none>
[a@x]$ fdisk -l /dev/discs/disc1/disc
Disk /dev/discs/disc1/disc: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/discs/disc1/part1 1 121601 976760001 fd Linux raid autodetect
[a@x]$ fdisk -l /dev/discs/disc2/disc
Disk /dev/discs/disc2/disc: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/discs/disc2/part1 1 121601 976760001 fd Linux raid autodetect
[a@x]$ df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/root 3072 3072 0 100% /
/dev/discs/disc0/part2 482024 139132 318010 30% /opt
[a@x]$ mount /dev/md0 /tmp/harddisk
mount: Mounting /dev/md0 on /tmp/harddisk failed: Invalid argument
I'm trying to setup a raid1 with two 1tb external discs (disc1 and disc2) just one partition for data. The /opt and
swap are on a 1Gb flash pen (disc0). I'm able to run the raid (it syncs ok), format the device to ext3, but i'm not able to mount the /dev/md0
so i can start to copy the data. Can anyone give me help on this?
Thanks in advance
[a@x]$ cat /proc/mdstat
Personalities : [raid1]
read_ahead 1024 sectors
md0 : active raid1 scsi/host1/bus0/target0/lun0/part1[0] scsi/host2/bus0/target0/lun0/part1[1]
976759936 blocks [2/2] [UU]
unused devices: <none>
[a@x]$ fdisk -l /dev/discs/disc1/disc
Disk /dev/discs/disc1/disc: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/discs/disc1/part1 1 121601 976760001 fd Linux raid autodetect
[a@x]$ fdisk -l /dev/discs/disc2/disc
Disk /dev/discs/disc2/disc: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/discs/disc2/part1 1 121601 976760001 fd Linux raid autodetect
[a@x]$ df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/root 3072 3072 0 100% /
/dev/discs/disc0/part2 482024 139132 318010 30% /opt
[a@x]$ mount /dev/md0 /tmp/harddisk
mount: Mounting /dev/md0 on /tmp/harddisk failed: Invalid argument