Last active
December 16, 2015 16:40
-
-
Save popowa/5465257 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@ip-10-132-67-52 html]# mkfs -t ext3 /dev/xvdf | |
mke2fs 1.39 (29-May-2006) | |
Filesystem label= | |
OS type: Linux | |
Block size=4096 (log=2) | |
Fragment size=4096 (log=2) | |
1310720 inodes, 2621440 blocks | |
131072 blocks (5.00%) reserved for the super user | |
First data block=0 | |
Maximum filesystem blocks=2684354560 | |
80 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 | |
Writing inode tables: done | |
Creating journal (32768 blocks): done | |
Writing superblocks and filesystem accounting information: done | |
This filesystem will be automatically checked every 38 mounts or | |
180 days, whichever comes first. Use tune2fs -c or -i to override. | |
[root@ip-10-132-67-52 html]# tune2fs -c 0 /dev/xvdf | |
tune2fs 1.39 (29-May-2006) | |
Setting maximal mount count to -1 | |
[root@ip-10-132-67-52 html]# mkdir /ebs | |
[root@ip-10-132-67-52 html]# ls -la / | |
合計 92 | |
drwxr-xr-x 22 root root 4096 4月 26 01:42 . | |
drwxr-xr-x 22 root root 4096 4月 26 01:42 .. | |
-rw-r--r-- 1 root root 0 4月 26 01:30 .autofsck | |
drwxr-xr-x 2 root root 4096 8月 24 2011 bin | |
drwxr-xr-x 3 root root 4096 8月 24 2011 boot | |
drwxr-xr-x 9 root root 2900 4月 26 01:39 dev | |
drwxr-xr-x 2 root root 4096 4月 26 01:42 ebs | |
drwxr-xr-x 79 root root 4096 4月 26 01:35 etc | |
drwxr-xr-x 4 root root 4096 4月 26 01:30 home | |
drwxr-xr-x 14 root root 4096 4月 26 01:34 lib | |
drwx------ 2 root root 16384 8月 24 2011 lost+found | |
drwxr-xr-x 2 root root 4096 5月 5 2011 misc | |
drwxr-xr-x 3 root root 4096 7月 17 2012 mnt | |
drwxr-xr-x 4 root root 4096 4月 26 01:30 opt | |
dr-xr-xr-x 75 root root 0 4月 26 01:30 proc | |
drwxr-x--- 5 root root 4096 4月 26 01:30 root | |
drwxr-xr-x 2 root root 12288 4月 26 01:34 sbin | |
drwxr-xr-x 4 root root 0 4月 26 01:30 selinux | |
drwxr-xr-x 2 root root 4096 5月 11 2011 srv | |
drwxr-xr-x 12 root root 0 4月 26 01:30 sys | |
drwxrwxrwt 3 root root 4096 4月 26 01:30 tmp | |
drwxr-xr-x 14 root root 4096 8月 24 2011 usr | |
drwxr-xr-x 21 root root 4096 4月 26 01:35 var | |
[root@ip-10-132-67-52 html]# mount /dev/xvdf /ebs/ | |
[root@ip-10-132-67-52 html]# df | |
Filesystem 1K-ブロック 使用 使用可 使用% マウント位置 | |
/dev/sda1 10321208 2100540 7696380 22% / | |
/dev/sdb 153899044 192068 145889352 1% /mnt | |
none 870488 0 870488 0% /dev/shm | |
/dev/xvdf 10321208 154236 9642684 2% /ebs | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment