[OpenIndiana-discuss] convert some directories to shared dataset?

John D Groenveld groenveld at acm.org
Mon Jun 16 20:59:13 UTC 2025


In message <c8abe183-5e0c-4a54-8f78-03937f4c3b45 at ndsu.edu>, Tim Mooney via open
indiana-discuss writes:
>Is it possible to convert some directories in an existing OI install,
>that are currently part of the "critical datasets" that get snapshotted
>and are part of each boot environment, to be shared datasets and not
>be included in the boot environment?  I'm specifically thinking about
>/var/tmp, but /var/mail would be another place I would consider.

Oracle added the VARSHARE dataset to S11.4.
One still needs to svcadm disable -t sendmail and any other services
that leave state in /var/spool or other directory inside the BE root.
# zfs list -r|grep VARS
rpool/VARSHARE                    36.8M  81.5G  2.27M  /var/share
rpool/VARSHARE/cores                31K  81.5G    31K  /var/share/cores
rpool/VARSHARE/crash                31K  81.5G    31K  /var/share/crash
rpool/VARSHARE/kvol               27.7M  81.5G    31K  /var/share/kvol
rpool/VARSHARE/kvol/dump_summary  1.22M  81.5G  1.02M  -
rpool/VARSHARE/kvol/ereports      10.2M  81.5G    10M  -
rpool/VARSHARE/kvol/kernel_log    16.2M  81.5G    16M  -
rpool/VARSHARE/pkg                  63K  81.5G    32K  /var/share/pkg
rpool/VARSHARE/pkg/repositories     31K  81.5G    31K  /var/share/pkg/repositories
rpool/VARSHARE/sstore              6.6M  81.5G   6.6M  /var/share/sstore/repo
rpool/VARSHARE/tmp                  31K  81.5G    31K  /var/tmp
rpool/VARSHARE/zones                31K  81.5G    31K  /system/zones

John
groenveld at acm.org



More information about the openindiana-discuss mailing list