侧边栏壁纸
博主头像
TLYAN

只要芝麻,不要西瓜.............纯大神之作
古人有雲:吃得苦中苦方為人上人

  • 累计撰写 113 篇文章
  • 累计收到 5 条评论
磁盘挂载报错/dev/sdb1 is apparently in use by the system
2020-09-29 13:41:54 6142阅读 0评论 0点赞

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

格式化磁盘分区报错

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

执行 dmsetup status,显示有lvm 逻辑卷

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

执行800 dmsetup remove_all

[root@localhost ~]# dmsetup remove_all

再次执行 mke2fs -t ext4 /dev/sdb1,格式化磁盘分区成功

        

[root@localhost ~]# mkfs -t ext4 /dev/sdb1

文件系统标签=

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: 完成

版权所有:《小唐博客-唐联艳-我可以告诉你》 => 《磁盘挂载报错/dev/sdb1 is apparently in use by the system
本文地址:https://www.tlyan.com/post-59.html
除非注明,文章均为 《小唐博客-唐联艳-我可以告诉你》 原创,欢迎转载!转载请注明本文地址,谢谢。

分享本文至:

扫描二维码,在手机上阅读

评论

取消