Creating a new Filesystem in LINUX
I need to create a new Filesystem in RHEL. The problem i am facing is that the system is allowing me to create a prtition only at the end of disk (after /dev/sda5) whereas i have empty space in between the Partitions. Please find the command results as below:
[[email protected] ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 3.9G 2.4G 1.4G 64% /
/dev/sda1 46M 11M 33M 25% /boot
none 252M 0 252M 0% /dev/shm
/dev/sda3 4.9G 64M 4.6G 2% /home
[[email protected] ~]# parted
GNU Parted 1.6.19
Copyright (C) 1998 - 2004 Free Software Foundation, Inc.
This program is free software, covered by the GNU General Public License.
This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.
Disk geometry for /dev/sda: 0.000-20480.000 megabytes
Disk label type: msdos
Minor Start End Type Filesystem Flags
1 0.031 47.065 primary ext3
2 47.065 4039.782 primary ext3
3 4039.783 9295.422 primary ext3
4 19453.711 20473.461 extended
5 19453.742 20473.461 logical linux-swap
Now i want to create a partition in between Minor 3 and 4. An ellaborative answer would be appreciated. I am quite new to LINUX so please excuse me for my silly questions.