m...@petermann-it.de (Matthias Petermann) writes: >saturn$ doas dkctl /dev/zvol/rdsk/tank/backup/vhost/vol/net-export=20 >addwedge myexport 34 2147483581 ffs >dkctl: /dev/zvol/rdsk/tank/backup/vhost/vol/net-export: addwedge:=20 >Inappropriate ioctl for device
A zvol is no disk and doesn't support partitions or wedges. >/dev/zvol/rdsk/tank/backup/vhost/vol/net-export >ccdconfig: ioctl (CCDIOCSET): /dev/rccd0d: Block device required >saturn$ doas ccdconfig -cv ccd0 0=20 >/dev/zvol/dsk/tank/backup/vhost/vol/net-export >ccdconfig: ioctl (CCDIOCSET): /dev/rccd0d: Inappropriate ioctl for device= ccd learned about wedges in 9.99.74, it wasn't pulled up to netbsd-9. Maybe the diskmapper (LVM driver) can help, without LVM metadata you need to manually create a mapping table and install it with 'dmsetup create'.