码迷,mamicode.com
首页 > 系统相关 > 详细

在Linux中划分partition 并格式化为文件系统

时间:2015-03-06 15:53:52      阅读:159      评论:0      收藏:0      [点我收藏+]

标签:

[root@hvrhub ~]# mkfs.ext3 /dev/sda3
mke2fs 1.39 (29-May-2006)
Could not stat /dev/sda3 --- No such file or directory

The device apparently does not exist; did you specify it correctly?


需要先执行以下partprobe重新读入Linux kernel

 

[root@hvrhub ~]# partprobe
Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0 has been opened read-only.
[root@hvrhub ~]# mkfs.ext3 /dev/sda3
mke2fs 1.39 (29-May-2006)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
5373952 inodes, 10733428 blocks
536671 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=4294967296
328 block groups
32768 blocks per group, 32768 fragments per group
16384 inodes per group
Superblock backups stored on blocks: 
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 
        4096000, 7962624

Writing inode tables: done                            
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: 
done

This filesystem will be automatically checked every 27 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.


 

在Linux中划分partition 并格式化为文件系统

标签:

原文地址:http://blog.csdn.net/msdnchina/article/details/44100211

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!