![](https://seccdn.libravatar.org/avatar/12100f1497f7c0b346606b8b4a32ae8d.jpg?s=120&d=mm&r=g)
In data venerdì 20 gennaio 2023 08:35:39 CET, David C. Rankin ha scritto:
On 1/19/23 14:19, Stratos Zolotas wrote:
I suppose something like
mdadm --grow --size max /dev/md0
I would not grow to max, but "max - 300M". A replacement 8T drive may not have exactly the same "max" size preventing syncing to the new drive. It is always recommended to leave 1/4 to 1G unused for this reason.
the good thing is that both drives are now exactly identical (same producer, same type, same size, set up as Raid1 via mdadm from scratch. Now I haven't yet mounted (which I will do simply as "/transfer" ) and have the /home on a degraded RAID 1 with one 4 TB drive. (The other has been used for the RAID. Now the "1000$" question: what is the best command to achieve the transfer of the /home to the new /transfer home? cp? rsync? dd? Any suggestions for the best (eventually fastest but I would prefer most reliable) solution? Thank you.