My 9GB harddrive is finally full. So I just added 2 more 9G's to take
some of the load. Since /home was a seperate partition, I didn't have a
problem moving /home to a new harddrive. The problem is moving /usr.
/dev/sda was partitioned as:
/dev/sda1 23M 2.9M 19M 13% /boot
/dev/sda3 1011M 952M 7.5M 99% /home
/dev/sda4 7.2G 5.8G 1.0G 85% /
/etc/fstab being:
/dev/sda1 /boot ext2 defaults 1 2
/dev/sda2 swap swap defaults 0 0
/dev/sda3 /home ext2 defaults 1 2
/dev/sda4 / ext2 defaults 1 1
After adding the 2 new drives, I rebooted single user, mounted /dev/sdb1
to /mnt/cdrom, then just did a cp -a to each of the directories in home
to the new drive. I changed /etc/fstab to mount the new drive under the
old name, rebooted, and wallah!
now it's set up as:
/dev/sda4 7.2G 5.8G 1.0G 85% /
/dev/sda1 23M 2.9M 19M 13% /boot
/dev/sdb1 8.3G 952M 7.0G 12% /home
with /etc/fstab such as:
/dev/sda1 /boot ext2 defaults 1 2
/dev/sda2 swap swap defaults 0 0
/dev/sda4 / ext2 defaults 1 1
/dev/sdb1 /home ext2 defaults 1 2
Doing a `du / | sort -n` I find that /usr is the largest directory on
/dev/sda4
I'd like to move /usr (or at least /usr/local) to /dev/sdc1 (another 9G
drive). However, since this is on the same partiotion as /, I don't
really know how to do it.
I'd also like to be able reclame the gig of space that was my /home
partition. Any tips would be appreciated. :)
--
Thomas M. Albright (Linux user number 234357)
Amendment IV
The right of the people to be secure in their persons, houses,
papers, and effects, against unreasonable searches and seizures,
shall not be violated, and no warrants shall issue, but upon
probable cause, supported by oath or affirmation, and particularly
describing the place to be searched, and the persons or things to
be seized.
*****************************************************************
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*****************************************************************