易玩棋牌

新闻资讯频道
云计算领域最新资讯

易玩棋牌 YUANCHENGSSHDENGLUSHANGCentosFUWUQIHOU,JINXINGRUXIACAOZUO

TIXING:GUAZAICAOZUOHUIQINGKONGSHUJU,QINGQUERENGUAZAIPANWUSHUJUHUOZHEWEISHIYONG

易玩棋牌 DIYIBU:LIECHUSUOYOUYIGUAZAICIPAN MINGLING: disk -h

[root@gluster_node1 ~]#df -h

易玩棋牌 Filesystem Size Used Avail Use% Mounted on

易玩棋牌 /dev/mapper/VolGroup-lv_root

35G 25G 8.3G 76% /

tmpfs 1.9G 0 1.9G 0% /dev/shm

/dev/sda1 485M 35M 425M 8% /boot

/dev/mapper/VolGroup-lv_home

33G 176M 31G 1% /home

fdisk -l
易玩棋牌 查看磁盘情况

易玩棋牌 TISHI:RUGUOWUFAQUERENSHUJUPANSHEBEIMINGCHENG,QINGSHIYONGdfMINGLINGLAIQUERENXITONGPANDEMINGCHENG,CONGERPAICHUGUACUOPANDEQINGKUANG。

第二步:格式化硬盘 命令: fdisk /dev/sdb

注意:图中箭头标注处续手动键入

易玩棋牌 DISANBU:CHUANGJIANFENQU MINGLING: mkfs.ext4 /dev/sdb1

DISIBU:GUAZAIFENQU MINGLING:

mkdir /data

mount /dev/sdb1 /data # JIANGsdbZHEIGEYINGPANGUAZAICHENGWEI/data

易玩棋牌 DIWUBU:JIANGXINXIXIERUfstab,RANGXITONGKAIQIZIDONGGUAZAI。

MINGLING: echo "/dev/sdb1 /data ext4 defaults 0 0" >> /etc/fstab

SHENGMING:WENZHANGLAIZIWANGLUOZHUANZAI,RUOWUYIZHONGYOUQINFANNINQUANYIDEXINXI,QINGLIANXIWOMEN,WOMENHUIZAIDIYISHIJIANSHANCHU!

未经允许不得转载,或转载时需注明出处: » Linux挂载第二块硬盘操作方法
分享到: 更多 ()

猜你还会喜欢下面的内容