я переключаю свой сервер Windows на Ubuntu и пытаюсь получить свое программное обеспечение RAID1 (зеркало), которое я создал в Windows, чтобы появиться в Ubuntu. Я читал, что это возможно здесь использование mdadm, но у меня проблемы.
вот что я пытаюсь:
Script started on Thu 12 Jan 2012 12:22:33 GMT
graeme@MediaCentre:~/Desktop$ cat /proc/partitions
major minor #blocks name
8 0 120060864 sda
8 1 117974016 sda1
8 2 1 sda2
8 5 2083840 sda5
8 16 1465138584 sdb
8 17 1465136128 sdb1
8 32 1465138584 sdc
8 33 1465136128 sdc1
graeme@MediaCentre:~/Desktop$ sudo mdadm --build /dev/md0 --chunk=128 --level=1 --raid-devices=2 /dev/sdb1 /dev/sdc1
[sudo] password for graeme:
mdadm: array /dev/md0 built and started.
graeme@MediaCentre:~/Desktop$ sudo mkdir /media/WinMirror/
mkdir: cannot create directory `/media/WinMirror/': File exists
graeme@MediaCentre:~/Desktop$ sudo mount -t ntfs /dev/md0 /media/WinMirror
Failed to read last sector (5860544511): Invalid argument
HINTS: Either the volume is a RAID/LDM but it wasn't setup yet,
or it was not setup correctly (e.g. by not using mdadm --build ...),
or a wrong device is tried to be mounted,
or the partition table is corrupt (partition is smaller than NTFS),
or the NTFS boot sector is corrupt (NTFS size is not valid).
Failed to mount '/dev/md0': Invalid argument
The device '/dev/md0' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
graeme@MediaCentre:~/Desktop$ exit
exit
Script done on Thu 12 Jan 2012 12:23:23 GMT
Я получаю то же самое, когда пробую 64 куска, и если я перечисляю диски в другом порядке.
кто-нибудь знает, что я делаю неправильно здесь?
Edit: я добавляю результаты fdisk-l по запросу Paul:
graeme@MediaCentre:~$ sudo fdisk -l /dev/sdb
[sudo] password for graeme:
Disk /dev/sdb: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders, total 2930277168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x181bfef8
Device Boot Start End Blocks Id System
/dev/sdb1 63 2930275119 1465137528+ 42 SFS
graeme@MediaCentre:~$ sudo fdisk -l /dev/sdc
Disk /dev/sdc: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders, total 2930277168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x181bfef8
Device Boot Start End Blocks Id System
/dev/sdc1 63 2930275119 1465137528+ 42 SFS
graeme@MediaCentre:~$ sudo mdadm --build /dev/md0 --level=1 --raid-devices=2 /dev/sdb /dev/sdc
mdadm: array /dev/md0 built and started.
graeme@MediaCentre:~$ sudo fdisk -l /dev/md0
Disk /dev/md0: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders, total 2930277168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x181bfef8
Device Boot Start End Blocks Id System
/dev/md0p1 63 2930275119 1465137528+ 42 SFS