Posts

Showing posts from March 13, 2010

Linux Partitions

Creating Partition and Filesystem in Linux Introduction This post describes how to create a partitons in linux and use it. Creating a new partition for use is a 4 step process. You identify a disk and create a partition using fdisk You create a file system on that disk and assign a label You create an entry in /etc/fstab to make partition persistant accrose reboot You mount the partition for access to the user. Lets start with creating a partition from a disk. Creating Partition and filesystem In my system I have /dev/sda as primary device and following are the different partitions [root@10.176.87.179]# df -h Filesystem            Size  Used Avail Use% Mounted on /dev/sda2             2.9G  350M  2.4G  13% / /dev/sda7             487M   18M  444M   4% /h...