Sponsored Content
Full Discussion: Help with NFS shares
Operating Systems Linux Red Hat Help with NFS shares Post 302878486 by phanidhar6039 on Friday 6th of December 2013 10:08:00 AM
Old 12-06-2013
Quote:
Originally Posted by rbatte1
To make permanent mounts, I put the entries in /etc/fstab and ignore the auto-mount daemon completely.

I was concerned that if you have a mount point /a/b/c/d and when the server is booting, /a/b fails to mount, then the mount point will not be there. It could also be that the mount sequence is incorrect, so it tries to mount /a/b/c/d first and fails then mounts /a/b and you are left wondering why.


As I requested before, can you paste /etc/fstab into the thread?


Regards,
Robin
Hi Robin,

Sorry for delay in posting the output. I was off and below is the output of /etc/fstab

Code:
[root@node1 ~]#cat /etc/fstab

# This file is edited by fstab-sync - see 'man fstab-sync' for details

/dev/sda2                 /                       ext3    defaults        1 1
/dev/sda1             /boot                   ext3    defaults        1 2
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /dev/shm                tmpfs   defaults        0 0
none                    /proc                   proc    defaults        0 0
none                    /sys                    sysfs   defaults        0 0
/dev/sda3         swap                    swap    defaults        0 0
/dev/sda5          /scratch                ext3    defaults        1 2

/dev/hda                /media/cdrecorder       auto    pamconsole,exec,noauto,managed 0 0



#filer01b
filer01b:/vol/am1  /data/am1  nfs     defaults,nfsvers=3        1       2
filer01b:/vol/pro1 /data/pro1 nfs     defaults,nfsvers=3        1       2
filer01b:/vol/pro2 /data/pro2 nfs     defaults,nfsvers=3        1       2
filer01b:/vol/amscratch /data/amscratch nfs     defaults,nfsvers=3        1       2
filer01b:/vol/am3 /data/am3 nfs     defaults,nfsvers=3        1       2

When the reboot took place i believe some thing has written or changed the fstab file and in turn filer01b mount points were missing inside fstab. I have manually edited the fstab file after the reboot.

Thanks,
P
 

10 More Discussions You Might Find Interesting

1. IP Networking

Mounting shares from a Windows PC

Hi... I can ping my Windows PC using both the IP address and NetBios name and I can ping my Linux box the same, IP address and NetBios name. I can even use smbclient to see the shares on my Windows PC. But I can't map the shares so that Linux sees it as a drive. How do I do that? (5 Replies)
Discussion started by: SeCBerm
5 Replies

2. SCO

Using NFS shares from RMCobol

I have set up a directory on a PC using smb and can access the directory using all normal unix commands. I want to be able to access files in the directory from RMCobol programs but get system error 46 which appears to be "no record locks available". Does anybody know what I need to do to... (3 Replies)
Discussion started by: rongrout
3 Replies

3. Shell Programming and Scripting

[smbtar] Backup more shares in one command

Hi, is it possible backup more pc share run only one smbtar (like the exclusion)? This workssmbtar -v -s pc13 -u usr -p pc13 -x test_share -t - -X test_nobackup | gzip -c > steapc13.tar.gz also that smbtar -v -s pc13 -u usr -p pc13 -x test_share -t - -X test_nobackup test2_nobackup | gzip -c >... (0 Replies)
Discussion started by: mbarberis
0 Replies

4. UNIX for Advanced & Expert Users

File Server Pc Shares

Hi Everybody, I just want to know if anyone can help me to increase disk space for my users shared folder... it running out of free space... Any command that i can use or any otherway to prevent losing disk space from each folder? Please help... Thank you. (2 Replies)
Discussion started by: bvillante
2 Replies

5. IP Networking

How to enumerate samba shares with client

I have a samba server node and I want to mount the samba (CIFS) shares from a second (client) unix machine. However, the unix mount command requires I specify the name of the share. What if I don't know the name of the share? How can I enumerate all the shares from the samba client machine? ... (1 Reply)
Discussion started by: siegfried
1 Replies

6. Shell Programming and Scripting

Help creating a script to relocate shares

I have a single Linux Red Hat 8.0 server with two external disk arrays (each a raid) connected via SCSI. The OS/boot/swap is on an internal set of disks and should not be affected by this process. I need to move all of my data from one disk array to another while keeping all of my 30 or so... (0 Replies)
Discussion started by: kenisswell
0 Replies

7. Red Hat

NFS Shares

Hi, Is there any command in linux to check the remote NFS shares from client machine just like we have dfshares in solaris. Thanks, Trimurtulu (1 Reply)
Discussion started by: ktrimu
1 Replies

8. UNIX for Dummies Questions & Answers

Samba - Creating shares

So I have Samba installed on my server and I have to create two shares. Make a backup of your smb.conf - call it smb.conf.orig. Create a share called shared that allows read and write permissions for everyone and points to /media/shared. Create another share called www that points to the... (1 Reply)
Discussion started by: shadowcat
1 Replies

9. UNIX for Dummies Questions & Answers

Help mounting Samba shares

I have these two shares on my Ubuntu Server: path = /media/share read only = no guest ok = yes path = /var/www read only = noI want to mount them to the directories that I created on my Desktop called "shared" and "www" how do I do this? I ran the command: smbclient -L... (1 Reply)
Discussion started by: shadowcat
1 Replies

10. UNIX for Advanced & Expert Users

File shares in UNIX

a) what are the different ways to share files ? b) How can I get list of file shares on Unix box in my company? c) How can I get list of files and their content present on all the Unix File shares? (1 Reply)
Discussion started by: vipintanwar
1 Replies
MOUNT.NFS(8)						      System Manager's Manual						      MOUNT.NFS(8)

NAME
mount.nfs, mount.nfs4 - mount a Network File System SYNOPSIS
mount.nfs remotetarget dir [-rvVwfnsh ] [-o options] DESCRIPTION
mount.nfs is a part of nfs(5) utilities package, which provides NFS client functionality. mount.nfs is meant to be used by the mount(8) command for mounting NFS shares. This subcommand, however, can also be used as a standalone command with limited functionality. mount.nfs4 is used for mounting NFSv4 file system, while mount.nfs is used to mount NFS file systems versions 3 or 2. remotetarget is a server share usually in the form of servername:/path/to/share. dir is the directory on which the file system is to be mounted. OPTIONS
-r Mount file system readonly. -v Be verbose. -V Print version. -w Mount file system read-write. -f Fake mount. Don't actually call the mount system call. -n Do not update /etc/mtab. By default, an entry is created in /etc/mtab for every mounted file system. Use this option to skip making an entry. -s Tolerate sloppy mount options rather than fail. -h Print help message. nfsoptions Refer to nfs(5) or mount(8) manual pages. NOTE
For further information please refer nfs(5) and mount(8) manual pages. FILES
/etc/fstab file system table /etc/mtab table of mounted file systems SEE ALSO
nfs(5), mount(8), AUTHOR
Amit Gud <agud@redhat.com> 5 Jun 2006 MOUNT.NFS(8)
All times are GMT -4. The time now is 09:20 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy