Richardson, Robert said:
> Hi,
> I have installed rh 7.3 and realized that I configured two mount points in
> the reverse order that I wanted.  I actually wanted /export to have  120GB
> of space, and /usr/local to have 10GB of space.
> My df output is:

what I would do ...

1) logout from all terminals
2) login as root at the console(no X preferably)
3) make a subdir under each of your current mount points e.g.

mkdir /export/usrlocal ; mkdir /usr/local/export

move the files from /export to /usr/local/export (excluding the usrlocal dir
of course)

move the files from /usr/local to /export/usrlocal (excluding the export
dir of course)

umount /usr/local
umount /export

next mount the devices as you want them to be in their new positions
mount <device> /usr/local
mount <device> /export

cd /export ; mv export/* .
cd /usr/local ; mv usrlocal/* .
rmdir /export/export
rmdir /usr/local/usrlocal

edit /etc/fstab to reflect the changes so next time you boot it
comes up the way you want.

thats it.


sound complicated? maybe.. there may be an easier way to do it
but thats what I'd do.

of course backup any data you want to keep before doing this
operation just incase something goes wrong.

nate







-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to