Fedora10[EP13] ext4その3 パーティションのフォーマット

領域を作ったら次ぎは、中身をまっさらにしてOSに教えてあげないといけません。
この作業をフォーマットとマウントと言います。Windowsでは領域確保とフォーマットとマウントを同時にやってしまいますので意識しなくてもできる作業ですね。が、突発的に一時的にアクセスできないようにしたいような隠し事があったりある時に外付の電源切るような事をしなくてもコマンドライン一行でアンマウントして隠せます(^◇^;
外付じゃつないで電源入れたらばれちゃうし、空き領域に作った隠し部屋に・・・(ぉ
フォーマットはmkfsで。
その前にyum で ext4 のツール郡 e4fsprogs をインストール。
# yum install e4fsprogs有るって怒られた^^;
# mkfs.ext4 /dev/VolGroup00/mod
mke2fs 1.41.4 (27-Jan-2009)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
13107200 inodes, 52428800 blocks
2621440 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=0
1600 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
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.

# mkfs.ext4 /dev/VolGroup00/bak
mke2fs 1.41.4 (27-Jan-2009)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
15966208 inodes, 63848448 blocks
3192422 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=0
1949 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
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 28 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.

なにやら嫌なメッセージが出ていますねぇ^^;
普段気にしないのでここでもスルーw

Fedora10
スポンサーリンク
極彩色のハテナ?