戻る

前へ| 次へ

mkfs.ext3...

ファイルシステムを 作成しましょう。

# mkfs.ext3 -L sqBoot /dev/sdc1
mke2fs 1.41.6 (30-May-2009)
Filesystem label=sqBoot
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
23040 inodes, 91852 blocks
4592 blocks (5.00%) reserved for the super user
First data block=1
Maximum filesystem blocks=67371008
12 block groups
8192 blocks per group, 8192 fragments per group
1920 inodes per group
Superblock backups stored on blocks: 
        8193, 24577, 40961, 57345, 73729

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

This filesystem will be automatically checked every 30 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
# mkfs.ext3 -L SQRooT /dev/sdc2
mke2fs 1.41.6 (30-May-2009)
warning: 532 blocks unused.

Filesystem label=SQRooT
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
467856 inodes, 1867776 blocks
93415 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=1912602624
57 block groups
32768 blocks per group, 32768 fragments per group
8208 inodes per group
Superblock backups stored on blocks: 
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632

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

This filesystem will be automatically checked every 32 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
# mkswap -L swapsq /dev/sdc3
Setting up swapspace version 1, size = 245020 KiB
LABEL=swapsq, UUID=d82fede1-abb3-494f-a990-e44b9501ccee

blkid

後で これが必要になります。

# blkid | grep sdc
/dev/sdc1: LABEL="sqBoot" UUID="3c6d2a7b-83b0-4c1b-95e2-93548920849f" SEC_TYPE="ext2" TYPE="ext3" 
/dev/sdc2: LABEL="SQRooT" UUID="cd4b4e85-b0f7-4652-a787-7594c06c727d" SEC_TYPE="ext2" TYPE="ext3" 
/dev/sdc3: LABEL="swapsq" UUID="d82fede1-abb3-494f-a990-e44b9501ccee" TYPE="swap" 

にゃんたろう 拝!

2014年 3月 23日 日曜日 21:05:01 JST 作成


前へ| 次へ

戻る

Copyright © 2006.-2014. nyantarou All Rights Reserved.