[CentOS] OT - parted guidance

Sat Aug 1 14:38:29 UTC 2015
Robert Nichols <rnicholsNOSPAM at comcast.net>

On 07/31/2015 09:19 AM, Ken Smith wrote:
> parted says that the offending partition 5 begins at 512 byte sector no.
> 462999615. Its the first partition in the extended partition that begins
> at 462999552.
>
> If I just want to move the partition back to the nearest 4096 boundary,
> which is 462999608, would the syntax be
>
>
> unit s
> move 5 462999608
>
> Will parted sort itself out copying sector nos 462999615 to 462999608
> and then 462999616 to 462999609 and on an on? Or will it not cope with
> jiggling the partition down the disk by 7 sectors?

What filesystem is on that partition? For anything other than the FAT
variants, you'll find parted is hopelessly crippled for moving or
resizing partitions. And, you would have to use "resize" since parted
cannot move a partition onto itself.

-- 
Bob Nichols     "NOSPAM" is really part of my email address.
                 Do NOT delete it.