mounting file systems and autofs tips and samples
Aug.07, 2009 in
Think Linux
mounting nfs via fstab
server:/usr/local/pub /pub nfs rsize=8192,wsize=8192,timeo=14,intr
Can check the nfs sharing status by using “showmount -e server”
for nfs in autofs,
to mount the directory /hostdir on /misc/mountpoint on your machine, add the following line to auto.master:
/misc /etc/auto.misc --timeout 60then in auto.miscmountpoint -rw,soft,intr,rsize=8192,wsize=8192 nfshost.com:/hostdir service autofs reloadsome other autofs config
cdrom -fstype=iso9660,ro,sync,nodev,nosuid :/dev/cdrom floppy -fstype=auto,sync,nodev,nosuid :/dev/fd0 usbdrive -fstype=vfat,uid=1002,gid=1002,umask=002 :/dev/sda1for samba in autofs, eg
/MY_DIR -fstype=smbfs,username=yourname,password=yourpass,uid=1000,gid=1000 ://server/dirsamba in fstab, eg
//sambaserver/dir /yourdir/dir smbfs username=yourname,password=yourpass 0 0

August 27th, 2009 at 4:44 am
[...] Aug.27, 2009 in Think Linux, Think Software, Think Technology following the samba/nfs post – http://www.azhowto.com/2009/08/07/mounting-file-systems-and-autofs-tips/ earlier, what if we do not know the ip address of the samba [...]