Linux disk Mount

Source: Internet
Author: User
Tags uuid

Most of the machines are made of RAID5 and RAID10, respectively made VD1:100G,VD2: the remaining capacity (greater than 2T). For the mounting of disks larger than 2T, you can refer to the following methods: 1, parted partition
parted/dev/Sdbgnu Parted3.1Use/dev/sdbwelcome to GNU Parted! Type' Help'To view a list of commands. (parted) Mklabel GPT Warning: The existing disk label on/dev/sdb'll is destroyed and all data on this disk would be lost. Want to continue?is a/yes/No/no?Yes (parted) Mkpart primary0-1end point? End point? Y error: Invalid number. (parted) Mkpart primary0-1WARNING: The resulting partition is not properly aligned forBest performance. Ignore/ignore/give up/cancel?Ignore (parted) Pmodel:dell PERC H730 Mini (SCSI) Disk/dev/sdb:4089gbsector size (logical/physical): 512b/512BPartition table:gptdisk flags:number Start End Size File system Name Flag1  -. 4kB 4089GB 4089GB Primary (parted) Quit

Info: Need to update/etc/fstab.2, format mount:
mkfs.xfs/dev/Sdb1meta-DATA=/DEV/SDB1 isize= theAgcount=4, agsize=249601962Blks= sectsz= +Attr=2, projid32bit=1= crc=0finobt=0Data= bsize=4096blocks=998407847, imaxpct=5= sunit=0Swidth=0blksnaming=version2Bsize=4096Ascii-ci=0Ftype=0Log=internal Log bsize=4096blocks=487503, version=2= sectsz= +sunit=0Blks, lazy-count=1Realtime=none extsz=4096blocks=0, rtextents=0[[Email protected]-r12-302f0412-i37-Wuyi~]#mkdir/Export[[email protected]-r12-302f0412-i37-Wuyi~]#Mount/dev/sdb1/export/[[Email protected]-r12-302f0412-i37-Wuyi~]#DF-h file system capacity already available for use%mount point/dev/sda2 84G1.6G 83G2% /Devtmpfs 63G063G0% /Devtmpfs 63G063G0%/dev/Shmtmpfs 63G9.0M63G1% /Runtmpfs 63G063G0%/sys/fs/Cgroup/dev/sdb13.8T 33M3.8T1% /export Fetch the UUID of the disk, and then configure it in the fstab file [[email protected]-r12-302f0412-i37-Wuyi~]# blkid/dev/SDB1/dev/sdb1:uuid="b1dc2ce3-c73c-404d-96fa-825bf2883a3c"Type="XFS"Partlabel="Primary"Partuuid="8f19fd33-a236-4f88-b58a-8e6a772d19d5"[[Email protected]-r12-302f0412-i37-Wuyi~]# vim/etc/Fstab[[email protected]-r12-302f0412-i37-Wuyi~]#Cat/etc/Fstab # #/etc/fstab# Created by Anaconda on Wed Sep at  -: -: the  -# # Accessible filesystems, by reference, is maintained under'/dev/disk'# SeeMansPages Fstab (5), Findfs (8),Mount(8) and/or Blkid (8) for  More Info#UUID=114e0106-7682-49DA-85DC-F3F915C60F20/XFS defaults0 0UUID=b2556164-aa91-4753-9236-9690B5B1E40F Swap swap Defaults0 0UUID=b1dc2ce3-c73c-404d-96fa-825bf2883a3c/export XFS Defaults1 2

Linux disk Mount

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.