Announcement

Collapse
No announcement yet.

Question about raid 1 and hot spare disk

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Question about raid 1 and hot spare disk

    Hello, for first, sorry for my english...
    I have question about raid 1 and hot spare disk. I searched in google and I asked on several forums, but did not get the answer. I hope you can help me.
    I have raid 1(mdadm) and configure hot spare disk for this raid.
    dd if=/dev/zero of=/dev/sdc bs=512 count=1
    fdisk /dev/sdc o and w
    sfdisk -d /dev/sda | sfdisk --force /dev/sdc
    and
    mdadm /dev/md0 -a /dev/sdc1
    mdadm /dev/md1 -a /dev/sdc2
    ...
    My doubt and the response of fdisk on disks installed.
    Two disk active in raid /dev/sda and /dev/sdb have the same
    ---------------------------------------
    3000.6 ГБ, 3000592982016 байт
    64 heads, 32 sectors/track, 2861588 cylinders
    Units = цилиндры(cylinders) of 2048 * 512 = 1048576 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes

    -----------------------------------------
    And output /dev/sdc (hot spare) is different
    ---------------------
    3000.6 ГБ, 3000592982016 байт
    255 heads, 63 sectors/track, 364801 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
    -----------------------------
    If see output there are heads, sector and other different.
    My question is, hot spare disk is compatible in case of failure one disk in Raid 1 and there will be problems if the hot spare disk have different heads, sectors/track, cylinders.
    Thank you.
Working...
X