Disk Partition Sizing

Matthew Seaman m.seaman at infracaninophile.co.uk
Fri Apr 9 09:08:55 PDT 2004

On Fri, Apr 09, 2004 at 11:54:09AM -0400, Grant Peel wrote:
> Hi all,
> I want to change my backup strategy a bit. Please review:
> Filesystem      Size   Used  Avail Capacity  Mounted on
> /dev/amrd0s1a   484M   219M   227M    49%    /
> /dev/amrd0s1d   3.8G   2.7G   764M    78%    /backup
> /dev/amrd0s1h   7.6G   5.7G   1.3G    81%    /home
> /dev/amrd0s1g   992M   444M   469M    49%    /mail
> /dev/amrd0s1e   4.7G   2.3G   2.0G    53%    /usr
> /dev/amrd0s1f    14G   2.1G    11G    16%    /var
> procfs          4.0K   4.0K     0B   100%    /proc
> What I would like to do is:
> downsize the /var part by 2.0 GB;
> loose the /backup part alltogether;
> add 1 GB to the /mail part;
> add the remaining 4.8 GB to the /ome part.
> Any ideas on strategy / directions for accomplishing this?

Well, you're going to modify 4 of your 6 partitions directly: many of
which modifications will involve moving the start of the partition.
You'll also end up moving the /usr partition which means that the only
untouched partition will be /

There's no point fiddling about with this sort of wholesale change:
backup the system (onto different media, clearly) and reinstall from
scratch, with your new partitioning scheme.  Then restore your backups
-- note that since you've taken out the /backup partition, the
partition numbering may change, so don't overwrite /etc/fstab.



Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040409/96e7c571/attachment.bin

More information about the freebsd-questions mailing list