is this a proper way to implement lofs - virtual file system
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix administration > is this a proper way to implement lofs - virtual file system




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    is this a proper way to implement lofs - virtual file system  
colin_lyse


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-15-04 12:51 PM

using SunOS 5.8 on unix sparc.   have mountpoints  /opt and  /mssc and want 
to
move everything from /opt to /mssc to an lofs off a directory in /mssc


1. Create a new directory under /mssc:
% mkdir /mssc/opt/home/apps"

2. Copy everything from old location to the new directory maintian
persmissions:
% cp -rp /opt/home/apps /mssc/opt/home/apps"

3. Change ownership on all files and subfolders:
% chown -R coopcomp:coopcomp /mssc/opt/home/apps"

4. Rename old directory assigning it a different name:
% mv /opt/home/apps /opt/home/apps_old"

5. Create lofs mount of /mssc/opt/home/apps on /opt/home/apps by following
these steps:
A. Add the following entry to the end of /etc/vfstab file:
/mssc/opt/home/apps - /opt/home/apps lofs - yes -

B. Execute mountall command for lofs file system type to mount this
new mount point:
% mountall -F lofs"

is this all we need?





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:59 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register