alors ayant trouvé un peu de documentation, j’ai réussi (humhummm pas sûr ) a faire un RAID5, du moins j’ai coller des HDD
mais il ne semblerait pas tout et pas comme il faut
il n’y a pas de spare (je ne l’ai pas signalé mais je vais devoir en faire un et je suis bancal, je devrais avoir 7,8 To ou 8To et je me retrouve avec ~7
je vous mets le rapport
[quote][code]root@debian-server:~# mdadm --create /dev/md0 --level=5 --assume-clean --raid-devices=4 /dev/sd[bcde]1
mdadm: Defaulting to version 1.2 metadata
mdadm: array /dev/md0 started.
root@debian-server:~# fdisk -l
Disk /dev/sda: 100.0 GB, 100030242816 bytes
255 heads, 63 sectors/track, 12161 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0006440f
Device Boot Start End Blocks Id System
/dev/sda1 * 1 11664 93682688 83 Linux
/dev/sda2 11664 12162 4000769 5 Extended
/dev/sda5 11664 12162 4000768 82 Linux swap / Solaris
WARNING: GPT (GUID Partition Table) detected on ‘/dev/sdb’! The util fdisk doesn’t support GPT. Use GNU Parted.
Disk /dev/sdb: 3000.6 GB, 3000592982016 bytes
255 heads, 63 sectors/track, 364801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdb1 1 267350 2147483647+ fd Linux raid autodetect
Partition 1 does not start on physical sector boundary.
WARNING: GPT (GUID Partition Table) detected on ‘/dev/sdc’! The util fdisk doesn’t support GPT. Use GNU Parted.
Disk /dev/sdc: 3000.6 GB, 3000592982016 bytes
255 heads, 63 sectors/track, 364801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdc1 1 267350 2147483647+ fd Linux raid autodetect
Partition 1 does not start on physical sector boundary.
WARNING: GPT (GUID Partition Table) detected on ‘/dev/sdd’! The util fdisk doesn’t support GPT. Use GNU Parted.
Disk /dev/sdd: 3000.6 GB, 3000592982016 bytes
255 heads, 63 sectors/track, 364801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdd1 1 267350 2147483647+ fd Linux raid autodetect
Partition 1 does not start on physical sector boundary.
WARNING: GPT (GUID Partition Table) detected on ‘/dev/sde’! The util fdisk doesn’t support GPT. Use GNU Parted.
Disk /dev/sde: 3000.6 GB, 3000592982016 bytes
255 heads, 63 sectors/track, 364801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sde1 1 267350 2147483647+ fd Linux raid autodetect
Partition 1 does not start on physical sector boundary.
Disk /dev/md0: 6597.1 GB, 6597065048064 bytes
2 heads, 4 sectors/track, 1610611584 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 524288 bytes / 1572864 bytes
Alignment offset: 3584 bytes
Disk identifier: 0x00000000
Disk /dev/md0 doesn’t contain a valid partition table
root@debian-server:~# mdadm --detail /dev/md0
/dev/md0:
Version : 1.2
Creation Time : Tue Feb 12 05:35:21 2013
Raid Level : raid5
Array Size : 6442446336 (6144.00 GiB 6597.07 GB)
Used Dev Size : 2147482112 (2048.00 GiB 2199.02 GB)
Raid Devices : 4
Total Devices : 4
Persistence : Superblock is persistent
Update Time : Tue Feb 12 05:35:21 2013
State : clean
Active Devices : 4
Working Devices : 4
Failed Devices : 0
Spare Devices : 0
Layout : left-symmetric
Chunk Size : 512K
Name : debian-server:0 (local to host debian-server)
UUID : e0b2a483:e25323da:39eeeebd:a270a49c
Events : 0
Number Major Minor RaidDevice State
0 8 17 0 active sync /dev/sdb1
1 8 33 1 active sync /dev/sdc1
2 8 49 2 active sync /dev/sdd1
3 8 65 3 active sync /dev/sde1
root@debian-server:~# mdadm: You haven’t given enough devices (real or missing) to create this array[/code][/quote]