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