Refer to this information when you are ready to create and use file systems on the SAN Volume Controller.
After you partition the disk, the next step is to create a file system. Figure 71 shows an example of how to use the mke2fs command to create an EXT2 Linux file system (which is nonjournaled).
| Note: If you are using the IBM Subsystem Device Driver, your path in the example would be /dev/vpathb1 instead of /dev/sdb1. |
[root@yahoo /data]# mke2fs /dev/sdb1 mke2fs 1.18, 11-Nov-1999 for EXT2 FS 0.5b, 95/08/09 Filesystem label= OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) 122112 inodes, 243964 blocks 12198 blocks (5.00%) reserved for the super user First data block=0 8 block groups 32768 blocks per group, 32768 fragments per group 15264 inodes per group Superblock backups stored on blocks: 32768, 98304, 163840, 229376 Writing inode tables: done Writing superblocks and filesystem accounting information: done [root@yahoo /data]#
Figure 72 shows an example of the EXT2 Linux file system, which is nonjournaled, by using the mkfs command.
| Note: If you are using the IBM Subsystem Device Driver, your path in the example would be /dev/vpathb1 instead of /dev/sdb1. |
[root@yahoo /data]# mkfs -t ext2 /dev/sdb1 mke2fs 1.18, 11-Nov-1999 for EXT2 FS 0.5b, 95/08/09 Filesystem label= OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) 122112 inodes, 243964 blocks 12198 blocks (5.00%) reserved for the super user First data block=0 8 block groups 32768 blocks per group, 32768 fragments per group 15264 inodes per group Superblock backups stored on blocks: 32768, 98304, 163840, 229376 Writing inode tables: done Writing superblocks and filesystem accounting information: done [root@yahoo /data]#