PDA

Bekijk de volledige versie : Raid1 Help needed



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

s1za
25-11-2008, 18:02
Anyone? I'm getting desperate and I need urgently to start backing up the info.
Thanks in advance.

s1za
26-11-2008, 10:29
Can anyone confirm if I need to install a recompilide firmware with raid (like stated in http://wl500g.info/showthread.php?t=15550) or is enough to install the raid1.o and md.o modules with insmod.

Thanks

stootch
27-11-2008, 18:14
Logic suggests you need RAID drivers compiled into kernel, and not as seperate modules.

s1za
27-11-2008, 18:17
Thank's for your reply. I'm allready gathering all the info to recompile the firmware.