Zakładanie md
Witam
Usun±³em poprzednie partycje, za³o¿y³em nowe. Po reboocie raida nie by³o.
Za³o¿y³em md0 i utkn±³em:
go4nfs2:~# fdisk -l
Disk /dev/hda: 60.0 GB, 60011642880 bytes
16 heads, 63 sectors/track, 116280 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 3875 1952968+ fd Linux raid
autodetect
/dev/hda2 3876 5813 976752 82 Linux swap / Solaris
/dev/hda3 5814 44565 19531008 fd Linux raid
autodetect
/dev/hda4 44566 116280 36144360 fd Linux raid
autodetect
Disk /dev/hdc: 60.0 GB, 60011642880 bytes
16 heads, 63 sectors/track, 116280 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
/dev/hdc1 * 1 3875 1952968+ fd Linux raid
autodetect
/dev/hdc2 3876 5813 976752 82 Linux swap / Solaris
/dev/hdc3 5814 44565 19531008 fd Linux raid
autodetect
/dev/hdc4 44566 116280 36144360 fd Linux raid
autodetect
Disk /dev/md0: 1999 MB, 1999765504 bytes
2 heads, 4 sectors/track, 488224 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk /dev/md0 doesn't contain a valid partition table
go4nfs2:~# mdadm -D /dev/md0
/dev/md0:
Version : 00.90.03
Creation Time : Mon Jul 2 03:30:25 2007
Raid Level : raid1
Array Size : 1952896 (1.86 GiB 2.00 GB)
Device Size : 1952896 (1.86 GiB 2.00 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 0
Persistence : Superblock is persistent
Update Time : Mon Jul 2 03:32:04 2007
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
UUID : a7fbbfc3:cf399762:268f0f40:5249f247
Events : 0.2
Number Major Minor RaidDevice State
0 3 1 0 active sync /dev/.static/dev/hda1
1 22 1 1 active sync /dev/.static/dev/hdc1
Za ka¿dym razem próba utworzenia kolejnego md koñczy siê tak:
go4nfs2:~# mdadm --create /dev/md1 --level=1 --raid-devices=2 /dev/hd{a,c}3;
mdadm: error opening /dev/md1: No such file or directory
Ktos wie co powoduje taki komunikat.?
(Swap nie bêdzie w³±czany do raid'a)
Maszyna to Blade IBM.
-----
Pozdrawiam
Andrzej
Reply to: