LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-04-2012, 03:08 AM   #1
kiranonlinuxque
LQ Newbie
 
Registered: Feb 2011
Posts: 11

Rep: Reputation: 11
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

Last edited by kiranonlinuxque; 10-04-2012 at 06:12 AM. Reason: to avoid confusion
 
Old 10-04-2012, 06:07 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 8,104

Rep: Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267
have you shared that directory?
 
Old 10-04-2012, 06:14 AM   #3
kiranonlinuxque
LQ Newbie
 
Registered: Feb 2011
Posts: 11

Original Poster
Rep: Reputation: 11
Quote:
Originally Posted by pan64 View Post
have you shared that directory?
yes, read/execute permission provided to the group
 
Old 10-04-2012, 06:19 AM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
which file system will mount use jag7720 Linux - General 7 02-15-2012 05:26 PM
mount disk - corrupted file EXT3 file system RAFAL Linux - General 3 04-08-2009 04:27 PM
How to read .chm file in fedora, can't mount ntfs file system ishti_du Linux - Newbie 12 03-06-2007 04:27 AM
Mounting file system in a file with mount Denes Programming 6 11-11-2005 01:04 PM
Cannot Mount File System slappycakes Linux - Hardware 18 10-13-2003 11:33 AM


All times are GMT -5. The time now is 12:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration