磁盤掛載報錯/dev/sdb1 is apparently in use by the system

/dev/sdb1 is apparently in use by the system; will not make a 文件系統 here!

格式化磁盤分區報錯node

[root@localhost ~]# mke2fs -t ext4 /dev/sdb1mke2fs 1.42.9 (28-Dec-2013)
/dev/sdb1 is apparently in use by the system; will not make a 文件系統 here!

執行 dmsetup status,顯示有lvm 邏輯卷app

[root@localhost ~]# dmsetup statusvg1-lv1: 0 204800 linear
執行dmsetup remove_all
[root@localhost ~]# dmsetup remove_all

再次執行 mke2fs -t ext4 /dev/sdb1,格式化磁盤分區成功ide

[root@localhost ~]# mke2fs -t ext4 /dev/sdb1mke2fs 1.42.9 (28-Dec-2013)
文件系統標籤=
OS type: Linux
塊大小=4096 (log=2)
分塊大小=4096 (log=2)Stride=0 blocks, Stripe width=0 blocks65536 inodes, 262144 blocks13107 blocks (5.00%) reserved for the super user第一個數據塊=0Maximum filesystem blocks=2684354568 block groups32768 blocks per group, 32768 fragments per group8192 inodes per groupSuperblock backups stored on blocks: 
32768, 98304, 163840, 229376Allocating group tables: 完成                            
正在寫入inode表: 完成                            
Creating journal (8192 blocks): 完成
Writing superblocks and filesystem accounting information: 完成
相關文章
相關標籤/搜索