Here is some additional info:
OS: Ubuntu Server Maverick
The HDDS:
Code:
user@MEDIASERVER:~$ sudo lshw -C disk
*-cdrom
description: DVD writer
product: DVD_RW ND-3540A
vendor: _NEC
physical id: 0.0.0
bus info: scsi@6:0.0.0
logical name: /dev/cdrom1
logical name: /dev/cdrw1
logical name: /dev/dvd1
logical name: /dev/dvdrw1
logical name: /dev/scd0
logical name: /dev/sr0
version: 1.03
serial: [_NEC DVD_RW ND-3540A 1.0305091500
capabilities: removable audio cd-r cd-rw dvd dvd-r
configuration: ansiversion=5 status=nodisc
*-disk
description: ATA Disk
product: ST3250823A
vendor: Seagate
physical id: 0.1.0
bus info: scsi@6:0.1.0
logical name: /dev/sde
version: 3.03
serial: 5ND0HF8V
size: 232GiB (250GB)
capabilities: partitioned partitioned:dos
configuration: ansiversion=5 signature=00091d0a
*-disk:0
description: ATA Disk
product: WDC WD20EARS-00S
vendor: Western Digital
physical id: 0
bus info: scsi@0:0.0.0
logical name: /dev/sda
version: 80.0
serial: WD-WCAVY5637086
size: 1863GiB (2TB)
capabilities: partitioned partitioned:dos
configuration: ansiversion=5 signature=cf6986f9
*-disk:1
description: ATA Disk
product: WDC WD20EARS-00S
vendor: Western Digital
physical id: 1
bus info: scsi@1:0.0.0
logical name: /dev/sdb
version: 80.0
serial: WD-WCAVY5659143
size: 1863GiB (2TB)
capabilities: partitioned partitioned:dos
configuration: ansiversion=5 signature=5f31d0d7
*-disk:2
description: ATA Disk
product: WDC WD20EARS-00S
vendor: Western Digital
physical id: 2
bus info: scsi@2:0.0.0
logical name: /dev/sdc
version: 80.0
serial: WD-WCAVY5637075
size: 1863GiB (2TB)
capabilities: partitioned partitioned:dos
configuration: ansiversion=5 signature=4b7ff64f
*-disk:3
description: ATA Disk
product: WDC WD20EADS-00S
vendor: Western Digital
physical id: 3
bus info: scsi@3:0.0.0
logical name: /dev/sdd
version: 01.0
serial: WD-WCAVY1294371
size: 1863GiB (2TB)
capabilities: partitioned partitioned:dos
configuration: ansiversion=5 signature=000c7c1b
Here is the displayed partition for the new drive from fdisk:
Code:
user@MEDIASERVER:~$ sudo fdisk /dev/sdd
WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
switch off the mode (command 'c') and change display units to
sectors (command 'u').
Command (m for help): p
Disk /dev/sdd: 2000.4 GB, 2000398934016 bytes
81 heads, 63 sectors/track, 765633 cylinders
Units = cylinders of 5103 * 512 = 2612736 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000c7c1b
Device Boot Start End Blocks Id System
/dev/sdd1 765634 765634 32 fd Linux raid autodetect
And here is a displayed partiton from one of the drives already in the array (WD20EARS):
Code:
user@MEDIASERVER:~$ sudo fdisk /dev/sdc
WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
switch off the mode (command 'c') and change display units to
sectors (command 'u').
Command (m for help): p
Disk /dev/sdc: 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 / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x4b7ff64f
Device Boot Start End Blocks Id System
/dev/sdc1 1 243202 1953514552 fd Linux raid autodetect
So as you can see the WDEARS20 drives already in the array have more blocks than the new WD20EADS drive does, although they are both 2 TB in size. I really do not want to spend $140 on another WD20EARS drive when the drive I have (WD20EADS) is a perfectly good 2 TB HDD. This issue was never mentioned in any of the setup guides I used when I setup my RAID5 with mdadm. So I guess a HDD manufacturer can just pick whatever drive geometry they want to use and make it different for every model drive they make and unless the new drive has more blocks than the old drive you are just SOL at restoring your array. Luckily I am just trying to grow my space and don't have a failed drive in the array, so I am still up and running. I will provide any requested information if somebody with some knowledge of this can assist with resolution or workaround. Thanks for taking the time to read.
-hogfan
Bookmarks