Create ext3 file system
Suppose we have a new disk drive and want to utilize it . Following is the procedure how to utilize it. Suppose new hardive is /dev/hdb
Partion with fdisk
# fdisk /dev/hdb
Following are the option we can use
m – display help
p – display current partition table
d – delete a partition
n – create a new partition
w – write a partitiontable to disk
t – set the anticipated file system for the partition
l – display the list of the file system types for partitions
q – quit
we chose option n to create new partition. Iw ill ask for partition type, extended or primary.After choosing for partition type , we have to chose number of partition. After selecting it , we should look for starting number of cylinder. We can press enter for default value.Reepat teh step until we create a partion schemes. After the partition is finish , type w to save it and quit from it.
After completing the partition , next step is to create ext3 file system.
# mkfs -t ext3 /dev/hdaX
where x is the drive letter and X is partion number.
Next step is label it
# e2label /dev/hdaX /mountpoint
/mountpoint can be any ,which you willing to use
In order to bring the mount point up when rebooted we need to edit /etc/fstab file
# vi /etc/fstab
LABEL=/mountpoint /mountpoint ext3 defaults 1 2
Save and quit.
This will add ext3 disk to the system.

Leave a Reply