How To Documents
We try to keep this information relevant but due to the plethora of versions, if this does not help you, please contact us and we will be glad to help you.
- You will need super user or sudo privileges for these tasks.
- Either become root using su or sudo or prefix sudo for each commands below
- Use “fdisk” to list new volumes that has been made visible to the server
- If you have “parted” installed, you can use this to look up the partitions or partition a drive.
- Using the “mkfs” command, create a file system such as “mkfs.ext4 -L “provide a label” /dev/sdNn”
- where N is the drive letter such as “b”, “c”, etc so you disk would be /dev/sdb or /dev/sdc etc.
- if you have partitioned, you may have a partition number such as 1, 2 to yield /dev/sdb1, /dev/sdc2 etc.
- Test mount this onto /mnt by using “mount -o defaults /dev/sdNn /mnt”/
- You can umount with the “umount /mnt” construct
- To always mount this partition onto the server, add to your /etc/fstab file the following —