The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to do a NFS mount from AIX to Linux? rainbow_bean AIX 1 01-16-2008 08:24 AM
Mount ntfs in linux Amit Deore Linux 4 09-26-2006 05:25 PM
Mount a harddrive in linux. RKJV Linux 2 12-10-2005 08:04 PM
How to nfs mount with Redhat Linux Heron Linux 1 03-21-2005 08:38 AM
Need help to access/mount so to access folder/files on a Remote System using Linux OS S.Vishwanath UNIX for Dummies Questions & Answers 2 07-30-2001 05:17 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 06-20-2006
Registered User
 

Join Date: Jun 2006
Posts: 10
Smile Mount :Files on Linux..

Hi,

I am facing problem during mount sharing. I am using two machines Suse and Red Hat. Trying to share a data on suse machine from Red Hat by using mount command.

The problem is that after rebooting mount won't work. How to solve this problem.

What i did?
1. create a folder on Suse (data)
2. Assign all permissions
3. create a folder on Red Hat (share)
4. mount Red Hat Ip:/data/share

After rebooting it won't work..

Waiting for your response.

Kammy..
Reply With Quote
Forum Sponsor
  #2  
Old 06-21-2006
grial's Avatar
El UNIX es como un toro
 

Join Date: Jun 2006
Location: Madrid (Spain)
Posts: 531
You have to add a new line in your /etc/fstab correspondig to the filesystem you want to mount. You also have to add a new line in your /etc/exports.
Have a look at nfs, fstab and exports manpages for options and syntax.
Reply With Quote
  #3  
Old 06-21-2006
Registered User
 

Join Date: Jun 2006
Posts: 10
Hi Thanks for your response.

The problem was that i tried the same but i am getting "Server is down" message.

I did this..

#/etc/fstab

#Directory Mount Point Type Options Dump FSCK

192.168.1.100:/data/files /mnt/nfs nfs soft,nfsvers=2 0 0

Thanks
Kammy
Reply With Quote
  #4  
Old 06-21-2006
grial's Avatar
El UNIX es como un toro
 

Join Date: Jun 2006
Location: Madrid (Spain)
Posts: 531
That seems to be ok.
Check /etc/exports on the other machine.
Give
Code:
showmount -e <IP_nfs_server>
To see wether the nfs service is up and the filesystem exported.
Check thant rpc/nfs services start at boot time also.
Give
Code:
rpcinfo -p
on the NFS server to see RPC services running there...
Reply With Quote
  #5  
Old 06-21-2006
Registered User
 

Join Date: Jun 2006
Posts: 10
Hi Sir,

mount is working fine but after rebboting the mount is not working. I need to again mount it manually.

I need permanent mount...

Is there any solution for permanent mount?

Thanks
kammy.
Reply With Quote
  #6  
Old 06-21-2006
grial's Avatar
El UNIX es como un toro
 

Join Date: Jun 2006
Location: Madrid (Spain)
Posts: 531
Perhaps it's because the system is trying to mount before network is available...

- You could write a script which mounts it and then configure it to start at boot time in the correct run level, after network is started...

- You could also use an automounter (autofs)...

Regards.
Reply With Quote
  #7  
Old 06-21-2006
Registered User
 

Join Date: Jun 2006
Posts: 10
Could you please tell me how to use an automounter (autofs)...

so that i can get permanent mount.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Tags
linux

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 02:56 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0