[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Adding a HD
- From: "Leonard den Ottolander" <leonardjo hetnet nl>
- To: redhat-install-list redhat com
- Subject: Re: Adding a HD
- Date: Fri, 27 Oct 2000 12:11:12 +0200
Hi Adinda,
> When we run out of space (in /, /usr, for example) for installing some new
> software and we want to add HD, where should we set its mount point while
> if we use rpm to install a software, the files are fixed to some directory
> (such as /usr, /var, /usr/local, /usr/doc, etc) which have no space left?
Almost all binaries on a linux system are installed under /usr. The best
thing you can do is to create a partition on the new HD. The new partition
should be at least the size of your /usr directory (cd /usr; du -sh). Mount
the new partition under a temporary mount point (eg /mnt/tmp) and copy the
contents of /usr to it. Now edit your fstab and add an entry for the new mount
point.
To get rid of the contents of the old /usr directory you will have to boot up
with a rescue disk (or the maintainance system you installed next to your main
installation:) ) and remove the contents of the old directory. Don't delete
the directory itself, it is the mount point for your new partition.
If you don't feel like using the new partition for all of the /usr directory
you could of course do this procedure for the /usr/local directory instead. If
you move the whole /usr directory you will have a lot of unused space on your
/ filesystem. Well, at least you can let your logs grow big that way ;-).
Bye,
Leonard.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]