1. format the present disk
#fdisk -l
represent all the present HD and the mount partitions on each.
Here you can now check the HD you want to have the partition and then
2. create partition
#fdisk /dev/sd<a,b,c>
select the HD that you want to create the partition and then create the partition you want or delete the unwanted ones by following the options listed there. You can create new ones with desired size too and write and quit.
3. create file system for the parttion
#mkfs.ext3 /dev/sda<1,2,3>
create the the filesystem in that partition.
4. partprobe
#partprobe this is to write the partition with the filesystem that we have selected, or you can also reboot the server for accomplishing this. to prevent rebooting in case of server run this command.
5. mount
mount /dev/sd…. location
this will mount the desired location to the partition.
#df -h this will show the partitioned drive and the location mounted.
6. fstab
now give the entry in the /etc/fstab and save and quit. This will make the setting permanent and also will will not change on the reboot.
If you require help, contact SupportPRO Server Admin