Mounting Filesystems
NFS, ISO & Windows
Mount an NFS file system without fstab
Normally, you would have all your NFS mounts defined within /etc/fstab,
but if you need to manually mount them, here is the command:
- For a remote NFS server "Nova" exporting "/usr/data",
and a local mount point called "/mnt/data1" use:
- mount -t nfs nova:/usr/data /mnt/data1
Mount an ISO-9660 Image File
You don't need to burn a CD to access the contents of an ISO image file.
- Where /tmp/source_file.iso is an image file and /mnt/iso_dir is an empty directory use:
- mount /tmp/source_file.iso /mnt/iso_dir/ -t iso9660 -o loop
Mount a Windows Share without fstab
Here is how you can manually access a Windows Share
- mount -t smbfs -o username=<user>,password=<passwd>,
workgroup=<workgroup>,ip=<xxx.xxx.xxx.xxx>
//<netbiosname>/<sharename> <mountpoint>
- Note this is all on one line, just split for readability.
- You can also use credentials=<filename> instead of the username and password options.
- see man smbmount for more details.
original document created by Pete Nesbitt, September 2001
updated March 2005