Home Miscellaneous Partition creation

Partition creation

by SupportPRO Admin

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

Server not running properly? Get A FREE Server Checkup By Expert Server Admins - $125 Value

Leave a Comment

CONTACT US

Sales and Support

Phone: 1-(847) 607-6123
Fax: 1-(847)-620-0626
Sales: sales@supportpro.com
Support: clients@supportpro.com
Skype ID: sales_supportpro

Postal Address

1020 Milwaukee Ave, #245,
Deerfield, IL-60015
USA

©2022  SupportPRO.com. All Rights Reserved