[plug] linking to different drives
Kenworthy Family
billk at opera.iinet.net.au
Thu Oct 21 14:14:01 WST 1999
I recently added a new HD after I filled the old one up. Formatted into two e2fs
partitions, copied /usr to /usrnew on one and /home to /homenew. Shut down to
runlevel 1 and renamed the old /usr and /home, mounted the new HD and renamed the
directories. Unmounted the HD and rebooted. Mounted automaticaly on bootup
(manually setup fstab before booting), no errors or problems. Left it a few days
before deleting the old directories just in-case but turned out never needed them
again.
As an aside, it was a 17gig disk and I know the figures are rubbery and linux
also reserves a buffer out of the size, but 500meg out of 4.3 gigs and
approximately the same from each partician of the 17 gig seems a bit over the top
- anyone know what linux does with the space?
BillK
[root at Ralph vnc]# df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/hda1 3.8G 305M 3.3G 8% /
/dev/hdb1 7.7G 2.4G 4.9G 33% /usr
/dev/hdb5 7.8G 3.5G 3.9G 47% /home
[root at Ralph vnc]#
russ wrote:
> Steve Baker wrote:
> >
> > Russ,
> >
> > You would be better off putting your /usr directory onto the second hard
> > drive, on another partition. This is a much cleaner way than lots of
> > symbolic links, although the links do come in handy on occasion for doing
> > this type of thing. You can then free up that space on your first drive.
> > Is /usr in it's own partition at the moment? Or is it just hanging off the
> > / filesystem?
>
> /usr and /home are on hdc1. But just checking I see that df -k shows:
>
> /dev/hda1 292710 284404 0 100% /
>
> That doesn't look right. I may have stuffed that drive up in the
> process. :(
More information about the plug
mailing list