Linux mount view, add and Cancel

Source: Internet
Author: User

Mount Concept:

View Mount: DF

Add the source destination point for Mount Mount:mount Mount

Mount/dev/sdb1/mnt

Mount Mount Common parameters (Option)

-t specifies the file system type, for example:-T ext3,-t Ext4,-t VFAT

-o Specifies mount options, for example:

-O RO,RW mount in read-only form, mount in read-write form, default is RW

-O Async represents all operations using cache (memory): Increases the efficiency of the file system to read and write data, and defaults to async using cache (memory);

-o sync is written directly to disk on behalf of all operations: it does not use caching for all operations, but writes directly to the disk; Applications in scenarios where data security is high

-O Atime represents the time at which the update file is accessed each time the file is accessed, and the default is the abbreviation for atime;atime=access times

-O Noatime represents the time that the file is accessed every time the file is accessed

-o remount for file system re-mounting

#使用不带参数的mount命令来显示所有已经挂载上了的文件系统

Automatic mount is also implemented in the #也可将挂载配置写入/etc/fstab

To un-mount a unmount:unmount mounted device source or mounted destination point

Command umount a mounted device source (/DEV/SDB1) or mounted destination point (/MNT)

UMOUNT/DEV/SDB1 = = Umount/mnt

Example: UMOUNT/DEV/SDB1 or umount/mnt/

If a device is busy error appears, indicating that the file system is being used;

You can use the following command (Fuser) to see which processes are using this file system: Cause device is busy

Fuser–m/mnt

You can also use the following command (LSOF) to see which files or folders are open or in use in this file system:

Lsof/mnt

This article is from the Linux commune website (www.linuxidc.com) Source Link: http://www.linuxidc.com/Linux/2013-06/85718.htm

Linux mount view, add and Cancel

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.