From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjammin2068 Subject: Re: Best tool to partition Drives with new sector geometry - (WAS: Need Help with crashed RAID5 (that was rebuilding and then had SATA error on another drive)) Date: Mon, 19 Sep 2016 11:17:45 -0500 Message-ID: References: <57BC61F7.8070102@gmail.com> <57BE450B.4030700@gmail.com> <56e86db5-456d-e9c1-339d-ba8903fe5dde@websitemanagers.com.au> <57BE52BC.6040908@gmail.com> <933228e0-bce4-ffad-f48d-034bf89bc07f@websitemanagers.com.au> <57BF9965.1020403@gmail.com> <57C0856D.8050209@youngman.org.uk> <57C32D8E.9030102@gmail.com> <3b008fb0-1fb3-f12f-d973-3657de6e6923@websitemanagers.com.au> <57C38EF5.7020005@gmail.com> <57C41A47.5050506@youngman.org.uk> <484e25ca-0a8e-f666-b1c8-ebc92a49f999@gmail.com> <57DEE853.4060001@youngman.org.uk> <4e08d03d-6759-84fd-6467-3bb2d1d9d320@gmail.com> <57DF055E.9060102@youngman.org.uk> <03f24dac-c34b-31d0-a514-0d9c99e07fd2@gmail.com> <57DF84BC.2040703@youngman.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <57DF84BC.2040703@youngman.org.uk> Sender: linux-raid-owner@vger.kernel.org To: Wols Lists Cc: Linux-RAID List-Id: linux-raid.ids On 09/19/2016 01:25 AM, Wols Lists wrote: > > Yeah. I've done that a couple of times. Create the new partition larger > than the old one. dd the old partition across. Use whatever > filesystem-specific tool there was to grow the file system into all > available space on the partition. > > Oh yes - and be damn careful with FAT :-) I can't remember the details, > but when there was a problem it used to prefer a faulty filesystem size > to the partition size, and would gaily sail off the end of the > partition, trashing the next partition. My "record to USB" TV seems > rather prone to this :-( > These drives are wholly allocated to nothing but the RAID array... so I only have to make 1 partition and it's more or less the whole disk. :) I've got the new WDs online and am growing that RAID5 to a RAID6 as we speak. (two thumbs up) I have (2) HD103SJ drives left in the array... one installed when the array was built and has about 44500 hours on it... while the other only has about 38400hours on it. smartctl is keeping an eye on them for me. ;) The rest of the drives are relatively new (especially after the episode of drive failures a couple weeks ago). Thanks again for the help everyone! -Ben