[OmniOS-discuss] create-lu /dev/zvol/dsk or /dev/zvol/rdsk

Michael Rasmussen mir at miras.org
Tue Nov 1 17:18:35 UTC 2016


On Tue, 1 Nov 2016 12:44:29 -0400
Dan McDonald <danmcd at omniti.com> wrote:

> 
> I'm not sure if for ZVOLs there's an underlying difference between raw and not.  I'd be cautious, though, and try and unify whichever one you use.
> 
AFAIK rdsk is a character device while dsk is a block device so
normally you would do newfs /dev/rsdk/... and then mount /dev/dsk/...
but since zfs handles raw devices (rdsk), block devices (dsk), and
slices equally well I think it is not important but by convention you
always handle zfs raw devices if you follow the recommendation - zfs
should always be given the full device so rdsk.

-- 
Hilsen/Regards
Michael Rasmussen

Get my public GnuPG keys:
michael <at> rasmussen <dot> cc
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD3C9A00E
mir <at> datanom <dot> net
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE501F51C
mir <at> miras <dot> org
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE3E80917
--------------------------------------------------------------
/usr/games/fortune -es says:
I was born in a Hostess Cupcake factory before the sexual revolution!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 163 bytes
Desc: OpenPGP digital signature
URL: <https://omniosce.org/ml-archive/attachments/20161101/9099b5da/attachment.bin>


More information about the OmniOS-discuss mailing list