Question about raid 1 and hot spare disk
Forum
  1. Forums
  2. General
  3. General Discussion
  1. Leo M.
  2. Wednesday, 26 June 2013
  3.  Subscribe via email
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.
Rate this post:


There are no replies made for this post yet.
Be one of the first to reply to this post!
Guest
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.