LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to mount a file system (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-mount-a-file-system-4175430430/)

kiranonlinuxque 10-04-2012 02:08 AM

how to mount a file system
 
Hi,
I need to mount a directory (which is on RHEL 4u5) on netapp filer and share it with multiple users.
The o/p of df -T on RHEL 4u5 is

Filesystem Type 1K-blocks Used Available Use% Mounted on
/dev/sda1 ext3 32250392 4256448 26355720 14% /
none tmpfs 1031496 0 1031496 0% /dev/shm
/dev/sda3 ext3 117045740 104281456 6818628 94% /localhome

I tried the below command on NetApp filer console terminal.
mount -t ext3 <ip_address>:/localhome/somedir /some_mounting_dir
It gives the error as:
mount special device <ip_address> <same_path_as_above> does not exist

Kindly let me know the mount-syntax for the above scenario.

Thanks,
Kiran

pan64 10-04-2012 05:07 AM

have you shared that directory?

kiranonlinuxque 10-04-2012 05:14 AM

Quote:

Originally Posted by pan64 (Post 4796883)
have you shared that directory?

yes, read/execute permission provided to the group

jschiwal 10-04-2012 05:19 AM

Is this for NFS, NFS4 or CIFS?

When you mount a share, the file system will be nfs or cifs. Not the filesystem on the server. If you are using NFS4, you should -rbind mount the directory below the NFS root directory on the server, and use <IP>:sharename for the device name in the mount command on the client.


All times are GMT -5. The time now is 07:55 AM.