Mount: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(12 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
* [[Linux#Commands|Linux]] | * [[Linux#Commands|Linux]] | ||
* [[Linux NFS]] | |||
* [[umount]] | |||
=List Filesystems Mounted by a NFS Client= | |||
Run <tt>mount</tt> without any argument. | |||
=Mount a Newly Added Filesystem without Reboot= | |||
If a new filesystem was added to [[/etc/fstab]] it can be mounted without reboot: | |||
mount -a | |||
=Options= | =Options= | ||
==<tt>-v</tt>= | ==<tt>-v</tt>== | ||
Verbose <tt>mount</tt>. | |||
Useful to [[Linux_NFS_Troubleshooting#Useful_Commands|troubleshoot NFS client problems]]. | |||
==<tt>-o</tt>== | |||
Specifies other mount options. | |||
For NFS, the following can be specified: | |||
* NFS version to use: | |||
<pre> | |||
mount -t nfs -o "vers=3" ... | |||
</pre> | |||
=Mounting a Filesystem at Boot= | |||
{{Internal|/etc/fstab#Mount_a_File_System_at_Boot|Mounting a Filesystem at Boot}} | |||
=Mounting a CD/DVD ISO Image= | |||
<pre> | |||
mkdir /mnt/dvd | |||
mount -o loop image-file.iso /mnt/dvd | |||
</pre> |
Latest revision as of 21:56, 19 February 2021
Internal
List Filesystems Mounted by a NFS Client
Run mount without any argument.
Mount a Newly Added Filesystem without Reboot
If a new filesystem was added to /etc/fstab it can be mounted without reboot:
mount -a
Options
-v
Verbose mount.
Useful to troubleshoot NFS client problems.
-o
Specifies other mount options.
For NFS, the following can be specified:
- NFS version to use:
mount -t nfs -o "vers=3" ...
Mounting a Filesystem at Boot
Mounting a CD/DVD ISO Image
mkdir /mnt/dvd mount -o loop image-file.iso /mnt/dvd