- When we want to expand file system
When we just added new hard disk drive
Here, we take example suppose we just added new hard disk drives
Step 1 Add Hard Disk physically with Machine
Step 2 login as a root and execute # fdisk –l command. You will see newly added disks here. (Example: /dev/sdc)
Step 3 Now we create file system. Log is as a root user and type following command:
# mkfs.ext3 /dev/sdc1
Step 4 Create mount point directory for the file system
# mkdir /Indian
Step 5 Mount the new file system
# mount /dev/sdc1 /Indian
Step 6 we need to add partition to /etc/fstab file
# vi /etc/fstab
Add/append following entry to file:
/dev/sdc1 /indian ext3 defaults 0 2