I am creating a custom Solaris 11 Express CD used for disaster recovery.
I have included the necessary files on the system to run zfs commands
without error (no apparent missing libraries or drivers). However, when
I create a zvol, the device in /devices and the link to
/dev/zvol/dsk/rpool do not exist. In fact /dev/zvol/dsk is completely
empty. I am trying to determine what creates the devices and the links
in /dev/zvol/dsk. This is a sparc system.
I use this command to create my rpool/swap device:
# zfs create -b 8k -V 512m rpool/swap
I get a zero return code from the command.
# zfs list
NAME USED AVAIL REFER MOUNTPOINT
rpool 1.34G 3.55G 31K /rpool
rpool/ROOT 63K 3.55G 32K /rpool/ROOT
rpool/ROOT/solaris 31K 3.55G 31K /rpool/ROOT/solaris
rpool/dump 16K 3.55G 16K -
rpool/export 841M 3.55G 32K /rpool/export
rpool/export/home 1.03M 4.37G 32K /rpool/export/home
rpool/swap 528M 4.07G 16K -
# ls -l /dev/zvol/dsk
# ls -l /devices/pseudo | grep zfs
drwxr-xr-x 2 root sys 0 Aug 15 23:16 zfs@0
crw-rw-rw- 1 root sys 161, 0 Aug 12 19:50 zfs@0:zfs
Any insight as to how these devices and links get created by zfs would
be appreciated. I am pretty sure I must be missing something in the way
of a driver or file, but truss did not point out any glaring problems.
zfs-discuss mailing list