Title: SUMMARY: Changing the mount point?

Hi,
Ed Greshko hit it on the head (thanks).
He suggested that I change the second column of the /etc/fstab file.
Since I had not added any data to these filesystems his instructions were
easy to follow.

I completed the following steps:
1. umount /usr/local
2. service nfs stop   <-- /export is to be nfs mounted.
3. umount /export
4. vi /etc/fstab
   LABEL=/export        /usr/local      ext3    defaults        1 2
   LABEL=/usr/local     /export         ext3    defaults        1 2
5. mount -a
6. df
   Filesystem           1k-blocks    Used   Available  Use%    Mounted on
   /dev/cciss/c0d0p5     10079868   32828     9535004    1%    /usr/local
   /dev/cciss/c0d0p6    119659156   58552   113522224    1%    /export


Step 5 saved me the reboot.


Robert Richardson
Activision Studios



-----Original Message-----
On Tue, 18 Mar 2003, Richardson, Robert wrote:

> I have just 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.

> Filesystem             1k-blocks      Used     Available  Use%    Mounted on
> /dev/cciss/c0d0p6      119659156     58552     113522224    1%
> /usr/local
> /dev/cciss/c0d0p5       10079868     32828       9535004    1%     /export
>
> I really want it to be:
> Filesystem             1k-blocks      Used     Available  Use%    Mounted on
> /dev/cciss/c0d0p6      119659156     58552     113522224    1%     /export
> /dev/cciss/c0d0p5       10079868     32828       9535004    1%
> /usr/local
>
>
> How can I permanently switch these two mount points without a re-install?

If you have not added any data to /export and /usr/local it is a simple
matter of editing the /etc/fstab file to switch the mount points in the
second column.  If you have already put data in either of these locations
you just have to add a step copy the data.

After you do that....just reboot.

Ed

--
http://webcams.greshko.com/  Do you this man, Peter Boeni?
http://www.shorewall.net/  for all your firewall needs




Reply via email to