William Yang wrote:
> I'm not sure if this is the only problem you're having, but from what
> you have below, in the first case you are trying to newfs on a block
> device and in the second case you are trying to newfs on a raw device.
> You can't create a filesystem on a block device; you need to specify the
> raw device (rdsk) to do that.

newfs figures out the raw device if you give it the non-raw.

# newfs /dev/zvol/dsk/data/vol/testlun3
                  ^^^
newfs: construct a new file system /dev/zvol/rdsk/data/vol/testlun3: (y/n)?
                                             ^^^^

Regardless, both the dsk and rdsk entries point to the same base pseudo device,
which goes missing after boot and only reappears when a change happens to a zvol
(delete, create, rename).  Having it disappear across a reboot seems like a bug.

Eric
_______________________________________________
storage-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/storage-discuss

Reply via email to