Table of Contents

Prev  
 Next
, , , , , , , , , , ,

Linux Block Device Notes

Linux Disk Partition and Format Notes

Some basic tools


parted

There would seem to be a number of partition tools for Linux CLI.

When in parted:


Format

sudo mkfs.ext4 /dev/sda1 - to format the drive


Fstab

sudo vim /etc/fstab -to edit the boot disk mount table, remember to make matching mount point directories


mount

Local Device

mount -t ext4 /dev/sdb1 /run/media/diska

NFS Device

To mount a NFS manually:

Where:


unmount

sudo umount /run/media/diska


mount at boot

sudo vim /etc/fstab


Block Device Monitoring and Control

smartmon


hdparm

References


Prev  
 Next