1、mkfs命令格式化分區(qū)報錯信息:
創(chuàng)新互聯(lián)公司主要從事網(wǎng)站設(shè)計制作、成都做網(wǎng)站、網(wǎng)頁設(shè)計、企業(yè)做網(wǎng)站、公司建網(wǎng)站等業(yè)務(wù)。立足成都服務(wù)新晃,10多年網(wǎng)站建設(shè)經(jīng)驗,價格優(yōu)惠、服務(wù)專業(yè),歡迎來電咨詢建站服務(wù):18980820575
[root@localhost?~]#?mkfs?-t?ext4?/dev/sdb7 mke2fs?1.42.9?(28-Dec-2013) Could?not?stat?/dev/sdb7?---?No?such?file?or?directory The?device?apparently?does?not?exist;?did?you?specify?it?correctly?
2、解決方法:
????????第一步:安裝parted包
????????????先檢查系統(tǒng)中是否安裝parted包
[root@localhost?~]#?rpm?-q?parted?????? parted-3.1-29.el7.x86_64
????????????安裝parted包命令
yum?-y?install?parted 或 rpm?-ivh?parted-3.1-29.el7.x86_64.rpm
????????第二步:執(zhí)行partprobe命令
[root@localhost?~]#?partprobe? Warning:?Unable?to?open?/dev/sr0?read-write?(Read-only?file?system).??/dev/sr0?has?been?opened?read-only.
????????第三步:重新格式化分區(qū)
[root@localhost?~]#?mkfs?-t?ext4?/dev/sdb7 mke2fs?1.42.9?(28-Dec-2013) Filesystem?label= OS?type:?Linux Block?size=4096?(log=2) Fragment?size=4096?(log=2) Stride=0?blocks,?Stripe?width=0?blocks 131072?inodes,?524288?blocks 26214?blocks?(5.00%)?reserved?for?the?super?user First?data?block=0 Maximum?filesystem?blocks=536870912 16?block?groups 32768?blocks?per?group,?32768?fragments?per?group 8192?inodes?per?group Superblock?backups?stored?on?blocks:? 32768,?98304,?163840,?229376,?294912 Allocating?group?tables:?done???????????????????????????? Writing?inode?tables:?done???????????????????????????? Creating?journal?(16384?blocks):?done Writing?superblocks?and?filesystem?accounting?information:?done
????????第四步:用blkid命令查看分區(qū)是否格式化成功
[root@localhost?~]#?blkid?-s?TYPE /dev/sda1:?TYPE="xfs"? /dev/sda2:?TYPE="LVM2_member"? /dev/sdb5:?TYPE="xfs"? /dev/sr0:?TYPE="iso9660"? /dev/mapper/rhel-root:?TYPE="xfs"? /dev/mapper/rhel-swap:?TYPE="swap"? /dev/sdb7:?TYPE="ext4"?????????????????#顯示/dev/sdb7分區(qū)格式化成功
網(wǎng)站欄目:mkfs命令格式化分區(qū)報錯及解決方法
網(wǎng)站路徑:http://aaarwkj.com/article0/iihpio.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供服務(wù)器托管、微信公眾號、電子商務(wù)、網(wǎng)站排名、網(wǎng)站內(nèi)鏈、品牌網(wǎng)站設(shè)計
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)