Kevin Brosius on Thu, 27 Dec 2001 11:40:15 -0500


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] need to resize partition


William Shank wrote:
> 
> i ran out of space on / (only 240M partitioned) - but the /opt dir has 90M,
> so I'd like to move it onto it's own partition. the /var slice has lots of
> room (dedicated 1G, only using 100M).
> 
> how can I unmount /var, split it, and remount /var and mount /opt on the
> other slice?
> 
> I know linux has a partion splitting util and RH7.2 has a graphical
> partioning tool, but can these be undestructive? will it work with ext3? how
> can I umnount /var, says it's busy - i guess with httpd, and lpd, anything
> else?

Easiest way is to boot with a boot/rescue disk, change the partitions
around as you need, mount your root partition, and change the mount
points (/etc/fstab) as desired.  That avoids worrying about what is
accessing the file system when you make the changes.

(Be careful you don't change the partitions before you save or move data
you need on them.)

-- 
Kevin Brosius

______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug