Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I have 3 linux systems configured for running applications in each, named system1, system2 and system3. I have around 100 GB of space in system3 under /usr but not much being used. In System1 very less space is there but mostly hits coming here and need to have proper backup, as the system1 is quite old and not planned partitons properly. So I want to use a disk having more space for backup requirements.
Is there any way of accessing System3 /usr partition in System1
Please advice!
Thanks in Advance!
Raaj
Last edited by pratap.sekhar@bt.com; 06-19-2010 at 11:58 PM.
the answer/suggestions would depend on what the 3 OS's are
if all 3 are Linux and can read/right to ext4 )
or is one of them only to use ext3 ,or is one Windows ( ntfs) ????
but the question dose sound like a home work question.
Hi All,
I have 3 linux systems configured for running applications in each, named system1, system2 and system3. I have around 100 GB of space in system3 under /usr but not much being used. In System1 very less space is there but mostly hits coming here and need to have proper backup, as the system1 is quite old and not planned partitons properly. So I want to use a disk having more space for backup requirements.
Is there any way of accessing System3 /usr partition in System1
You can mount it via NFS, but you will have problems. File-locking, etc., and if two systems try to access the same file at the same time, things will get...interesting.
Your question is very hard to read and understand. Write clearly, please.
You can try the following steps.
1) create a directory in ur /usr partition (e.g mkdir /usr/shared_dir)
2) export it to the network using nfs
a) vi /etc/exports
b) append this line in this file
/usr/shared_dir customercare(rw)
c) then restart your nfs server
3) On customercare type this command
mount -t nfs outports:/ust/shared_dir /mnt
(now u can access the shared directory through /mnt )
Once you r done with it then you can use this partition for data sharing.
Quote:
Originally Posted by pratap.sekhar@bt.com
Hi Guru,
I am posting the question once again, it seems a bit difficult for some people to understand.
I have 3 linux servers installed in 3 systems, named
Have tried exactly what you said, but its giving the below error for last command -
zxtmdemo:/mnt# mount -t nfs linuxhost:/usr/shared_dir /mnt/shareddir
mount: unknown filesystem type 'nfs'
Quote:
Originally Posted by kumar.manoj412
Hi,
You can try the following steps.
1) create a directory in ur /usr partition (e.g mkdir /usr/shared_dir)
2) export it to the network using nfs
a) vi /etc/exports
b) append this line in this file
/usr/shared_dir customercare(rw)
c) then restart your nfs server
3) On customercare type this command
mount -t nfs outports:/ust/shared_dir /mnt
(now u can access the shared directory through /mnt )
Once you r done with it then you can use this partition for data sharing.
The error is clearly showing that your system do not have nfs support. So you can install nfs supported packages on the client machines. I faced the same problem long time back. But is fixed it after installing nfs packages on client machine.
Quote:
Originally Posted by pratap.sekhar@bt.com
Hi Manoj,
Have tried exactly what you said, but its giving the below error for last command -
zxtmdemo:/mnt# mount -t nfs linuxhost:/usr/shared_dir /mnt/shareddir
mount: unknown filesystem type 'nfs'
Earlier have tried on my local system, but now applied on Live Systems.
below info in outports system
[root@outports usr]# more /etc/exports
/usr/outports_dir CUSTOMERCARE(rw)
[root@outports usr]#
Restarted NFS
[root@outports usr]# service nfs restart
Shutting down NFS mountd: [ OK ]
Shutting down NFS daemon: [ OK ]
Shutting down NFS quotas: [ OK ]
Shutting down NFS services: [ OK ]
Starting NFS services: [ OK ]
Starting NFS quotas: [ OK ]
Starting NFS daemon: [ OK ]
Starting NFS mountd: [ OK ]
Tried below in Customer care, but getting connection refused now
[root@CUSTOMERCARE root]# mount -t nfs 192.168.0.202:/usr/outports_dir /mnt/outports_usr
mount: RPC: Remote system error - Connection refused
[root@CUSTOMERCARE root]#
Note - NFS is running on both the systems, please help
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.