Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I'm working on a FreeBSD 8.x (pfSense 2.1) system and post-install, realised that the partition is misaligned to the disk (starts at sector offset 63). GParted doesn't recognise UFS so that is out.

I've had a quick look at sade, fdisk, and gpart but can't work out how to non-destructively move the partition; is there an easy way to do so or should I simply dump out the config & rebuild?

share|improve this question

1 Answer 1

gpart is the best one. There you have the parameter on gpart add -a 4K for example. By -a gives alignment and 4K you should use as a parameter for alignment, because the most new disks are working with 4K sectors. Even on old disks it has a reason, just to getting used to 4K.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.