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

[root@hvrhub ~]# mkfs.ext3 /dev/sda3mke2fs 1.39 (29-May-2006)Could not stat /dev/sda3 — No such file or directoryThe device apparently does not exist; did you specify it correctly?

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

[root@hvrhub ~]# partprobeWarning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only.[root@hvrhub ~]# mkfs.ext3 /dev/sda3mke2fs 1.39 (29-May-2006)Filesystem label=OS type: LinuxBlock size=4096 (log=2)Fragment size=4096 (log=2)5373952 inodes, 10733428 blocks536671 blocks (5.00%) reserved for the super userFirst data block=0Maximum filesystem blocks=4294967296328 block groups32768 blocks per group, 32768 fragments per group16384 inodes per groupSuperblock backups stored on blocks:32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,4096000, 7962624Writing inode tables: doneCreating journal (32768 blocks): doneWriting superblocks and filesystem accounting information: doneThis filesystem will be automatically checked every 27 mounts or180 days, whichever comes first. Use tune2fs -c or -i to override.

,因害怕失败而不敢放手一搏,永远不会成功

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

相关文章:

你感兴趣的文章:

标签云: