[root@oracle11g ~]# mkfs.ext3 /dev/sdb
mke2fs 1.39 (29-May-2006)
/dev/sdb is entire device, not just one partition!
Proceed anyway? (y,n) y
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
1708998656 inodes, 3417968064 blocks
170898403 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=4294967296
104309 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, 11239424, 20480000, 23887872, 71663616, 78675968,
102400000, 214990848, 512000000, 550731776, 644972544, 1934917632,
2560000000
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done
done
This filesystem will be automatically checked every 23 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
8、挂载分区
复制内容到剪贴板
[root@qionghai11g ~]# cd /var/www/html/
[root@qionghai11g html]# mkdir kk1 kk2
[root@qionghai11g mnt]# mount /dev/sdb1 /var/www/html/kk1/