Http://www.2cto.com/os/201404/294628.html
Mount/dev/sdb5/mnt to mount the logical partition SDB5 to the/MNT directory
Mount to determine that the destination directory has no additional mount files, mount a new folder
Permanent Mount:
The way to mount a partition permanently is to modify the partition file/etc/fstab
Blkid/dev/sda5
Get:/dev/sdb5:uuid= "2ade539e-ec2c-4135-a174-961608b3d6ca" type= "Ext4"
Add the/etc/fstab file again
UUID=2ADE539E-EC2C-4135-A174-961608B3D6CA/MNT/MOUNTSDB5/EXT4 Defaults 0 0
The first column is the UUID, the second column is the Mount directory (the directory must be an empty directory), the third column is the file system type, the fourth is the parameter, the fifth columns are not backed up, the last one must be 2 or 0 (unless the boot partition is 1)
Restart: Reboot init 6
Df-h saw SDB5 mounted under/MNT/MOUNTSDB5.
Filesystem Size used Avail use% mounted on
/dev/mapper/volgroup-lv_root
45G 3.7G 39G 9%/
Tmpfs 936M 76K 936M 1%/DEV/SHM
/DEV/SDA1 485M 38M 423M 9%/boot
/DEV/SDB5 873M 17M 812M 3%/MNT/MOUNTSDB5
/dev/sr0 4.1G 4.1G 0 100%/media/centos_6.4_final
#
#/etc/fstab
# Created by Anaconda on Tue APR 19 05:49:25 2016
#
# Accessible filesystems, by reference, is maintained under '/dev/disk '
# See mans Pages Fstab (5), Findfs (8), mount (8) and/or Blkid (8) for more info
#
/DEV/MAPPER/VOLGROUP-LV_ROOT/EXT4 Defaults 1 1
Uuid=af3a5064-0f2d-4d34-a0e3-89eead2050a7/boot EXT4 Defaults 1 2
/dev/mapper/volgroup-lv_swap swap swap defaults 0 0
TMPFS/DEV/SHM TMPFS Defaults 0 0
Devpts/dev/pts devpts gid=5,mode=620 0 0
Sysfs/sys Sysfs Defaults 0 0
PROC/PROC proc Defaults 0 0
UUID=2ADE539E-EC2C-4135-A174-961608B3D6CA/MNT/MOUNTSDB5/EXT4 Defaults 0 0
Linux staging mount is permanently active