1830899 Members
3447 Online
110017 Solutions
New Discussion

Export file system

 
SOLVED
Go to solution
Kenn Chen_1
Advisor

Export file system

How could I export my filesystem to remote server..and my remote server how to mount the rfile system ? Please advice.
4 REPLIES 4
Elif Gius
Valued Contributor

Re: Export file system

Hi,

You can use samba ... to share a filesystem...other users can mount the fs and can access the directories
Christian Gebhardt
Honored Contributor
Solution

Re: Export file system

Hi

The following steps are necessary to mount Filesystems via NFS:

Situation machine a has a directory and machine b wants to mount it:

on machine a:

- in /etc/rc.config.d/nfsconf NFS_SERVER=1
- /sbin/init.d/nfs.server start
- Filesystem in /etc/exports
- exportfs -a

on machine b:

- in /etc/rc.config.d/nfsconf NFS_CLIENT=1
- /sbin/init.d/nfs.client start
- mkdir /nfs_mountpoint
- mount

Chris
T G Manikandan
Honored Contributor

Re: Export file system

You can also use nfs

vi /etc/exports




If this is the first time you are using the server for NFS then
/etc/rc.config.d/nfsconf

make sure that NFS_SERVER=1

Then do a

/sbin/init.d/nfs.server stop
/sbin/init.d/nfs.server start

do a exportfs and check the file system shared
#exportfs
On the client

#mount : /


Thanks
Ravi_8
Honored Contributor

Re: Export file system

Hi,

make an entry of the file system to be exported in /etc/exports in a seperate line

#exportfs -a
#exportfs
will show you the exportable file system

Make sure NFS daemons are running both at server as well at client

At the client side
#mount :/ /
never give up