FreeBSD tool like Linux hdparm? diskinfo for zfs?

Status
Not open for further replies.

RegularJoe

Patron
Joined
Aug 19, 2013
Messages
330
I just want to use some command for a sanity check. In Linux I use hdparm, I see in FreeBSD there is something for the individual disks but not for a ZFS device. I would like to test each disk and then test /mnt/vola and /mnt/volb as one uses 5400 rpm drives in the lab and the other users 7200 rpm drives.

I did not see anything on this when searching the forums that is relevant.

I do see the diskinfo tool but it does not let me test the ZFS pool and I have to wade thru all the tests to get the ones I am looking for:

Transfer rates:
outside: 102400 kbytes in 1.330765 sec = 76948 kbytes/sec
middle: 102400 kbytes in 1.489937 sec = 68728 kbytes/sec
inside: 102400 kbytes in 2.055753 sec = 49811 kbytes/sec

Thanks,
Joe
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
What do you want to test? To test streaming reads and writes most people just use dd because it's quick and easy.
 

RegularJoe

Patron
Joined
Aug 19, 2013
Messages
330
I guess dd would work, but is that something I can only test before I put ZFS on each disk? I dd does reads? /dev/da0 - /dev/da23
 
L

L

Guest
camcontrol will give you individual disk stats. If you want to watch iops in realtime, use zpool iostat 1
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
I guess dd would work, but is that something I can only test before I put ZFS on each disk? I dd does reads? /dev/da0 - /dev/da23
you can do reads and writes with zfs or without zfs. Note that doing writes without zfs will destroy anything on the disks. Without zfs only really tells you the throughput of the actually disk. You will probably only really care about speeds using zfs. To do this just read and write to a file.
 
Status
Not open for further replies.
Top