简单记录Linux系统 Centos系统磁盘挂载方法 Centos系统磁盘挂载命令

 

简单记录磁盘挂载命令

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 ~]#

 

 

 

声明: 博客仅为信息分享,绝非推荐,网站不参与交易,内容均仅代表个人观点,仅供参考,读者务必认真考虑后下手并自担风险;一分钱一分货仍是恒久不变之真理,任何IDC都有倒闭和跑路的可能,月付和备份是最佳选择,VPS大学有专门介绍网站备份的文章,数据是无价的,经常备份,养成好习惯;本文由( VPS大学 )原创编译,转载请保留链接并注明出处;其他问题,请加入VPS大学QQ交流群 230888568 ,一起解决问题。