ECSʽcentos7d/homeĿ䛵P

ղ Ո

ڄrx˔Pڵ䛌ϵyҪȸʽPȻdP

߀ԸIҪPMжօ^hʹϵyԎĹMзօ^

עƷ ECS H֧֌ P Mжηօ^֧֌ ϵyP Mжηօ^ Windows ߀ Linux ϵyʹõߌϵyPMжηօ^lδ֪LUϵyGʧ

ęn  I/O +SSDƱP Linux RedhatCentOSDebianUbuntuMнB I/O I/O ą^eǰ߱Ⱥ߶һĸ x I/O xvdbt I/O vdb

  1. ʹKhBӹݔÑ root ܴa䛵
  2. fdisk -l 鿴Pעڛ]зօ^͸ʽP֮ǰʹ df -h ǟoPʾһ 5 GB ĔPҪd 
     fdisk -l ]аlF /dev/xvdbtʾČ]ДP˟odՈ@һ
    1
  3. fdisk /dev/xvdbPMзօ^ʾݔ np1ɴλ܇wqօ^_ʼ
    2
  4. fdisk -l 鿴µķօ^·օ^ xvdb1 ѽʾе/dev/xvdb1
    3
  5. mkfs.ext3 /dev/xvdb1·օ^MиʽʽrgȡQڔPСҲQxļʽ ext4 
    4
  6. echo /dev/xvdb1 /mnt ext3 defaults 0 0 >> /etc/fstab ·օ^Ϣɺʹ cat /etc/fstab 鿴
    5 
    ע Ubuntu 12.04 ֧ barrierԌԓϵy_ǣecho /dev/xvdb1 /mnt ext3 defaults 0 0 >> /etc/fstab 
    ҪєPΪdijļAΪÁžW޸е /mnt 
  7. mount /dev/xvdb1 /mnt d·օ^Ȼ df -h 鿴օ^FPϢfdɹʹ·օ^
    1. mount /dev/xvdb1 /mnt
    2. df -h
    3. Filesystem Size Used Avail Use% Mounted on
    4. /dev/xvda1 40G 1.5G 36G 4% /
    5. tmpfs 498M 0 498M 0% /dev/shm
    6. /dev/xvdb1 5.0G 139M 4.6G 3% /mnt
ԓ1˅cuՓ

ՈluՓ

ȫuՓ

    • qq 2018-7-13 20:49
      @ôҌ֧  DzǑԓosuT

鿴ȫuՓ>>

SEOվL]

ע^ԃھAӆעu
( //www.uula.cn)
QQȺ942102208

cba̹㶫 © 2011-2020   cba̹㶫

      ȫ“JC