Linux Mount 60T Storage

Source: Internet
Author: User
Tags uuid

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

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.