NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Access FFS partition on GPT on ZVOL



mp%petermann-it.de@localhost (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'.



Home | Main Index | Thread Index | Old Index