Operating system: CentOS 6.3
Storage: Total size is 72T and divided into 3 blocks, 20T per block
Install multi-instance MySQL database, do not want to mount 3 blocks, make a large more convenient management, personal more lazy.
Configuring multipathing: http://blog.itpub.net/28939273/viewspace-1061438/
Binding via LVM
Build PV:
# PVCREATE/DEV/MAPPER/MPATHB/DEV/MAPPER/MPATHC/DEV/MAPPER/MPATHD
# Pvdisplay
Build VG (volume group)
# vgcreate VG01/DEV/MAPPER/MPATHB/DEV/MAPPER/MPATHC/DEV/MAPPER/MPATHD
# Vgdisplay
Establish LV (logical volume)
# lvcreate-l 60000000m-n lv01 vg01 (taken from vg01)
# ll/dev/vg01/
Cannot be formatted using the following method:
To start installing XFS:
# yum Install Kmod-xfs xfsprogs
# modprobe XFS//Loading XFS file system module
# lsmod |grep XFS//See if XFS modules are loaded
Format and mount with XFS:
# MKFS.XFS/DEV/VG01/LV01
Mount-t Xfs/dev/vg01/lv01/export
Add to Fstab let system start auto mount
# Vi/etc/fstab//Open Fstab
Uuid=c3749d2d-08b5-45a3-9aa4-312b6161d471/export XFS Defaults 1 2
Add mount information Specify file system XFS (UUID obtained via BLKID/DEV/SDB1 command)
Oracle-linux operating system 6.0 or above support, 5.7 not supported.
Linux Mount 60T Storage