|
|
|
@ -4,25 +4,35 @@ Scripts for disks
|
|
|
|
|
**PLEASE NOTE:** These scripts should be considered experimental.
|
|
|
|
|
Test on non-production or backed-up data first.
|
|
|
|
|
|
|
|
|
|
- ckalign
|
|
|
|
|
> Check if a given sector number is aligned on a 4k boundary
|
|
|
|
|
- ctoa
|
|
|
|
|
> CrypTab Open All: Opens all devices listed in /etc/cryptab
|
|
|
|
|
- drvspeed
|
|
|
|
|
> Reports speeds of all devices using hdparm
|
|
|
|
|
- ddi
|
|
|
|
|
> Dump Disk Info: Dumps UUID and Label to .uuid and .label files in root of device
|
|
|
|
|
- filldev
|
|
|
|
|
> Fills a hard drive with 0's or with random data
|
|
|
|
|
- lctopen
|
|
|
|
|
> LUKS CrypTab Open: Opens a device in /etc/cryptab given a unique identifier)
|
|
|
|
|
- makeraid
|
|
|
|
|
> Make a RAID device
|
|
|
|
|
- mkcrypt
|
|
|
|
|
> Make a crypt device
|
|
|
|
|
- nhdtest
|
|
|
|
|
> Tests new hard drives
|
|
|
|
|
- partcopy
|
|
|
|
|
> Copies the contents of one partition to another (takes care of mounting and unmounting)
|
|
|
|
|
- partvis
|
|
|
|
|
> Displays device partitions on the command line
|
|
|
|
|
ckalign
|
|
|
|
|
: Check if a given sector number is aligned on a 4k boundary
|
|
|
|
|
|
|
|
|
|
ctoa
|
|
|
|
|
: CrypTab Open All: Opens all devices listed in /etc/cryptab
|
|
|
|
|
|
|
|
|
|
drvspeed
|
|
|
|
|
: Reports speeds of all devices using hdparm
|
|
|
|
|
|
|
|
|
|
ddi
|
|
|
|
|
: Dump Disk Info: Dumps UUID and Label to .uuid and .label files in root of device
|
|
|
|
|
|
|
|
|
|
filldev
|
|
|
|
|
: Fills a hard drive with 0's or with random data
|
|
|
|
|
|
|
|
|
|
lctopen
|
|
|
|
|
: LUKS CrypTab Open: Opens a device in /etc/cryptab given a unique identifier)
|
|
|
|
|
|
|
|
|
|
makeraid
|
|
|
|
|
: Make a RAID device
|
|
|
|
|
|
|
|
|
|
mkcrypt
|
|
|
|
|
: Make a crypt device
|
|
|
|
|
|
|
|
|
|
nhdtest
|
|
|
|
|
: Tests new hard drives
|
|
|
|
|
|
|
|
|
|
partcopy
|
|
|
|
|
: Copies the contents of one partition to another (takes care of mounting and unmounting)
|
|
|
|
|
|
|
|
|
|
partvis
|
|
|
|
|
: Displays device partitions on the command line
|
|
|
|
|