The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 11:24 AM
Mount ntfs in linux Amit Deore Linux 4 09-26-2006 08:25 PM
Mount a harddrive in linux. RKJV Linux 2 12-10-2005 11:04 PM
How to nfs mount with Redhat Linux Heron Red Hat 1 03-21-2005 11: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 08:17 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-21-2006
kjannu kjannu is offline
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..
  #2 (permalink)  
Old 06-21-2006
grial's Avatar
grial grial is offline Forum Advisor  
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.
  #3 (permalink)  
Old 06-21-2006
kjannu kjannu is offline
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
  #4 (permalink)  
Old 06-21-2006
grial's Avatar
grial grial is offline Forum Advisor  
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...
  #5 (permalink)  
Old 06-21-2006
kjannu kjannu is offline
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.
  #6 (permalink)  
Old 06-21-2006
grial's Avatar
grial grial is offline Forum Advisor  
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.
Closed Thread

Bookmarks

Tags
linux

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:55 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0