pour vérifier il faut suivre la fin de la procédure OVH et voir si le raid est resyncrhonisé ..
Merci buddy.
J'ai trouvé une solution. Je pense que ça marche.
J'ai installé gdisk:
wget hxxp://download.opensuse.org/repositories/home:/srs5694/CentOS_CentOS-6/x86_64/gdisk-0.8.10-159.1.x86_64.rpm
puis
yum install gdisk-0.8.10-159.1.x86_64.rpm
et
sgdisk --replicate=/dev/sda /dev/sdb
The operation has completed successfully.
je n'ai pas testé mais c'est le 1er résultat dans google ....
http://askubuntu.com/questions/57908...ive-to-anotherBonjour,
OVH a récemment changé le sda et j'essai de faire un raidsoft mais sans succès. Le guide OVH semble trempant! et le support me demande 80€ HT à chaque fois que je demande de l'aide !!
root@serv [~]# fdisk -l
Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 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/sda1 1 243202 1953514583+ ee GPT
Partition 1 does not start on physical sector boundary.
WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 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 243202 1953514583+ ee GPT
Partition 1 does not start on physical sector boundary.
Disk /dev/md3: 1947.4 GB, 1947428913152 bytes
2 heads, 4 sectors/track, 475446512 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Disk /dev/md2: 52.4 GB, 52427685888 bytes
2 heads, 4 sectors/track, 12799728 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
--
root@serv [~]# sfdisk -d /dev/sdb | sfdisk /dev/sda
Checking that no-one is using this disk right now ...
WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util sfdisk does n't support GPT. Use GNU Parted.
OK
Disk /dev/sda: 243201 cylinders, 255 heads, 63 sectors/track
Old situation:
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/sda1 0+ 243201- 243202- 1953514583+ ee GPT
/dev/sda2 0 - 0 0 0 Empty
/dev/sda3 0 - 0 0 0 Empty
/dev/sda4 0 - 0 0 0 Empty
New situation:
Units = sectors of 512 bytes, counting from 0
Device Boot Start End #sectors Id System
/dev/sda1 1 3907029167 3907029167 ee GPT
/dev/sda2 0 - 0 0 Empty
/dev/sda3 0 - 0 0 Empty
/dev/sda4 0 - 0 0 Empty
Warning: partition 1 does not end at a cylinder boundary
sfdisk: I don't like these partitions - nothing changed.
(If you really want this, use the --force option.)
Je suis coincé ici ! Si vous pouvez m'aider.
Merci