Mount: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
* [[Linux#Commands|Linux]]
* [[Linux#Commands|Linux]]
* [[Linux NFS]]
* [[Linux NFS]]
* [[umount]]


=List Filesystems Mounted by a NFS Client=
=List Filesystems Mounted by a NFS Client=


Run <tt>mount</tt> without any argument.
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=
Line 29: Line 36:


=Mounting a Filesystem at Boot=
=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 Filesystem at Boot

Mounting a CD/DVD ISO Image

mkdir /mnt/dvd
mount -o loop image-file.iso /mnt/dvd