Friday, June 29, 2012

Formating the partition to the Linux file System



Formating the raw partitions in Oracle linux 5.5



mkfs.ext3 is the command to format the partition in Oracle linux 6 and above you can use the mkfs.ext4 because the version 6 and above use's the ext4 file system

[root@fahtestdb ~]# mkfs.ext3 /dev/sdc1
mke2fs 1.39 (29-May-2006)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
19906560 inodes, 39792997 blocks
1989649 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=4294967296
1215 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

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

Partition all the raw file system to the O/S file system to Mount the partition to the Lable


No comments:

Post a Comment