geom
- List Disks
# List all disks
$ geom disk list
# List a specific disk
$ diskinfo -v nvd0
nvd0
512 # sectorsize
2048408248320 # mediasize in bytes (1.9T)
4000797360 # mediasize in sectors
0 # stripesize
0 # stripeoffset
HS-SSD-C2000Pro 2048G # Disk descr.
30027331913 # Disk ident.
Yes # TRIM/UNMAP support
0 # Rotation rate in RPM
$ diskinfo -v ada1
ada1
512 # sectorsize
6001175126016 # mediasize in bytes (5.5T)
11721045168 # mediasize in sectors
4096 # stripesize
0 # stripeoffset
11628021 # Cylinders according to firmware.
16 # Heads according to firmware.
63 # Sectors according to firmware.
WDC WD60EFRX-68L0BN1 # Disk descr.
WD-WX32D404LT1P # Disk ident.
id1,enc@n3061686369656d30/type@0/slot@2/elmdesc@Slot_01 # Physical path
No # TRIM/UNMAP support
5700 # Rotation rate in RPM
Not_Zoned # Zone Mode
$ gpart show
=> 34 31277165 ada3 GPT (14G)
34 1024 1 bios-boot (512k)
1058 6 - free - (3.0k)
1064 31275184 2 freebsd-zfs (14G)
31276248 951 - free - (475k)
=> 34 11721045101 ada0 GPT (5.5T)
34 94 - free - (47k)
128 4194304 1 freebsd-swap (2.0G)
4194432 11716850696 2 freebsd-zfs (5.5T)
11721045128 7 - free - (3.5k)
=> 34 11721045101 ada1 GPT (5.5T)
34 94 - free - (47k)
128 4194304 1 freebsd-swap (2.0G)
4194432 11716850696 2 freebsd-zfs (5.5T)
11721045128 7 - free - (3.5k)
=> 34 11721045101 ada5 GPT (5.5T)
34 94 - free - (47k)
128 4194304 1 freebsd-swap (2.0G)
4194432 11716850696 2 freebsd-zfs (5.5T)
11721045128 7 - free - (3.5k)
=> 34 11721045101 ada6 GPT (5.5T)
34 94 - free - (47k)
128 4194304 1 freebsd-swap (2.0G)
4194432 11716850696 2 freebsd-zfs (5.5T)
11721045128 7 - free - (3.5k)
=> 34 234441581 ada4 GPT (111G)
34 94 - free - (47k)
128 234441480 1 freebsd-zfs (111G)
234441608 7 - free - (3.5k)
=> 34 125045357 ada2 GPT (59G)
34 94 - free - (47k)
128 125045256 1 freebsd-zfs (59G)
125045384 7 - free - (3.5k)
Reference