< 返回业界新闻列表

Centos系统磁盘挂载方法及命令详情记录

发布时间:23-10-31    来源: 蓝海科技 IDC

简单记录磁盘挂载的命令,供大家参考使用:

umount /dev/xvdb1

mkfs.ext4 /dev/sdb1

fuser -km /dev/sdb1

umount /dev/sdb1

命令使用效果如下:

[root@www ~]# umount /dev/sdb1
[root@www ~]# mkfs.ext4 /dev/sdb1
mke2fs 1.42.9 (28-Dec-2013)
Discarding device blocks: done
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
15073280 inodes, 60292864 blocks
3014643 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=2208301056
1840 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872
Allocating group tables: done
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done
[root@www ~]#
TAG标签: 传奇服务器 bluem2服务器 服务器 高防服务器 物理机

在线客服

请选择对应客服进行沟通

  • QQ:29240180

    蓝海科技客服

  • QQ:858561202

    24小时技术支持

在线客服

QQ咨询

请选择对应客服进行沟通

  • 29240180

    蓝海科技-完美

  • 754430

    蓝海科技-血色

  • 286244121

    蓝海科技-阿海

  • 273184838

    蓝海科技-残阳

  • 23751168

    蓝海科技-红尘

  • 29240180

    大客户代理咨询

QQ咨询

公众号