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

Re: make partitions larger?



Dave McFadden said:
> I can sucessfully create hda4 out of the empty space, but trying to mount it as /usr /etc /temp etc. only replaces my existing directory rather than extend that space... entirely reasonable, but it's not what I need right now.  :-)

Taking the opposite approach from the replies you've received so far, this
idea is fairly simple to make work properly.  (Having just moved a few
directories last night from local to NFS mounts, it's on my mind...)

All you have to do is

mv /tmp /tmp-old
mount /new/partition /tmp
cp -r /tmp-old /tmp
rm -rf /tmp-old      (Don't do this before you're happy with the new scheme!)

The downside of this simple option is, of course, that (AFAIK) you need a
separate partition for each directory tree (/usr, /etc, /tmp...) you move
off /'s partition.  (Although, according to some people, having separate
partitions for each major directory is a Good Thing and /'s partition should
only be 100 MB anyhow.)

Also, don't forget to add /usr-old to your path before changing over /usr...


Reply to: