Accessing other linux file systems in Linux
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 Please advice! Thanks in Advance! Raaj |
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. |
Dear John,
All thre are Linux systems, could I please have steps for achieving this? Thanks Raaj |
Take a look at NFS
|
Quote:
Your question is very hard to read and understand. Write clearly, please. |
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 Hostname IPAddress customercare 192.168.0.100 cmdctr 192.168.0.202 outports 192.168.0.203 There is lot of space available in outports system under /usr partition, wanted to mount this in customercare system Please adivce |
Quote:
can you reformat and repartition the drives on the 3 separate computers? if yes there is 1 way ,if no there is a different way. -- or -- can you ONLY add to outports /usr then you could use a mount point . there are many many ways including NFS |
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. Quote:
|
Spam removed.
|
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' Quote:
|
Probably need to install NFS on the system or add the (a) module for NFS filesystem support.
|
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:
|
Hi manoj,
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 |
Permissions issue?
|
I have given 777 permissions to the directory and restarted NFS, but still same issue
[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]# |
All times are GMT -5. The time now is 04:03 AM. |