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

My main server has a parity disk that is normally only is used once a week. I would like to place this hard disk in to stand-by to reduce power and wear and tear upon it.

smartmon


hdparm

To for the HD into standby mode after reboot and set the standby time crate and use an on boot systemd service.

/etc/systemd/system/hdparm.service

Some tips:

idle3-tools

idle3-tools provides a linux/unix utility that can disable, get and set the value of the infamous idle3 timer found on recent Western Digital Hard Disk Drives.

References


Prev  
 Next