How to under-(over?)provision an NVME drive?

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
Hi all.

according to the documentation this is the way to use only a set amount of a drive's capacity:

This is the result when I try that on my system:
Code:
root@freenas-pmh[~]# disk_resize nvd0 16GB
Resizing nvd0 to 31277232 sectors
Unknown device type


Would using the nda(4) instead of the nvd(4) driver help? What's the direction of development, anyway? Will both devices continue to exist in parallel?

Thanks,
Patrick
 

partisan

Cadet
Joined
Dec 20, 2020
Messages
2
same here
Code:
 ~ disk_resize nvd0 300GB
Resizing nvd0 to 73259046 sectors
Unknown device type
 
Top