Re: not able to resize/grow RAID-1 (beyond 1 TB?)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/14/2012 09:26 PM, Stefan /*St0fF*/ Hübner wrote:
Hi Tomasz,

at first: if you had 1TB drives before, dd'ed them to the new 3TB drives
and changed the partitioning scheme accordingly - that all looks OK.
The weird thing here is that 1TB disks never had 1024GiB, but 931GiB.
So the reshape has already happened to "the system's maximum".

I do suspect you have a 32bit system and mdadm is not the latest version?

No, the system was 64 bit from the very beginning; mdadm may not be the latest one, but is far from being obsoletes, too (Debian Squeeze).

The issue is actually solved now.

What I had to do was:

mdadm /dev/md2 -f /dev/sdb3
mdadm /dev/md2 -r /dev/sdb3
# not necessarily 10 MB needs cleaning, but it's a small number...
dd if=/dev/zero of=/dev/sdb3 bs=1M count=10
mdadm /dev/md2 -a /dev/sdb3
# wait till it syncs, and do the same for /dev/sda3
reboot


If I did the same without dd if=/dev/zero, it somehow didn't want to work and /dev/md2 was still only 1 TB big.
Unless I've messed up somewhere!



--
Tomasz Chmielewski
http://wpkg.org


--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux