Mount :Files on Linux..


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Mount :Files on Linux..
# 1  
Old 06-21-2006
Bug 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  
Old 06-21-2006
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  
Old 06-21-2006
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  
Old 06-21-2006
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  
Old 06-21-2006
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  
Old 06-21-2006
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.
# 7  
Old 06-21-2006
Could you please tell me how to use an automounter (autofs)...

so that i can get permanent mount.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. HP-UX

Mount problem with Linux

Hello, I want to mount a directory with nfs (v3). Server HP-UX 10.20 Client Centos If I export the path "/tausch" with access control for hosts with the command mount -t nfs <SERVER_HP-UX_IP>:/tausch/ /mnt/mnt_bach2/ /etc/exports: /tausch ... (8 Replies)
Discussion started by: nuts
8 Replies

2. Solaris

How to mount linux to Solaris

Hi Friends, I am trying following command on my solaris box: mount abchostlinux12:/data1/mount_dir /data/mount_dir OUTPUT: nfs mount: abchostlinux12: : RPC: Rpcbind failure - RPC: Success nfs mount: retrying: /data/mount_dir After this there is no response on command line. I have... (6 Replies)
Discussion started by: SBatra
6 Replies

3. UNIX for Advanced & Expert Users

SuSe Linux Mount

Hi everyone, I am new to Linux and I hope to have some advise. Suppose I have 2 differnt users who require differnt mount drives. When user1 logs in, his required drives are mounted. When user2 logs in, user1's drives are unmounted and user2's drives are mounted. May I know how I can achieve... (2 Replies)
Discussion started by: viper81
2 Replies

4. AIX

How to do a NFS mount from AIX to Linux?

How to do? Thanks (1 Reply)
Discussion started by: rainbow_bean
1 Replies

5. Linux

Mount ntfs in linux

How Can I mount Windows NTFS Partation in to Linux ? (4 Replies)
Discussion started by: Amit Deore
4 Replies

6. UNIX for Advanced & Expert Users

Mount Linux share onto Sco 5.0.6

I've got a Sco 5.0.6 box and an Ubuntu box on my network. i want to backup certain directories onto a share on the Ubuntu box. how do i mount a linux share onto the Sco box? (1 Reply)
Discussion started by: sall
1 Replies

7. Linux

Mount a harddrive in linux.

Hey people i'm very new to linux. I just put a extra 200 gig maxtor HD in my computer. Linux can tell it's there...but it says it cant mount it. How do i mount it manually? thanks, John (2 Replies)
Discussion started by: RKJV
2 Replies

8. UNIX for Dummies Questions & Answers

mount from unix(3.2. v5.0.5) to Linux rh8

mount -f NFS 128.1.80.1:/usr /mnt (: RPC: Program not registered) don't work :( please help. (1 Reply)
Discussion started by: RoMaGo
1 Replies

9. UNIX for Dummies Questions & Answers

Need help to access/mount so to access folder/files on a Remote System using Linux OS

Hi I need to access files from a specific folder of a Linux system from an another Linux System Remotely. I know how to, Export a folder on One SCO System & can access the same by using Import via., NFS in the Sco Unix SVR4 System using the scoadmin utility. Also, I know to use mount -t ... (2 Replies)
Discussion started by: S.Vishwanath
2 Replies
Login or Register to Ask a Question