[OmniOS-discuss] I would like to create a zfs file system in my zone

Richard Skelton skeltonr at btconnect.com
Sun Sep 18 08:55:24 UTC 2016


Hi,
I would like to create a zfs file system in my zone and create snapshots
like I would in a global zone.
In the zone I see:-
root at fred5:/root# zfs list
NAME                           USED  AVAIL  REFER  MOUNTPOINT
rpool                         38.6G  93.2G  23.5K  /rpool
rpool/zones                   2.94G  93.2G    19K  /zones
rpool/zones/fred5           1.85G  93.2G    19K  /zones/fred5
rpool/zones/fred5/ROOT      1.85G  93.2G    19K  legacy
rpool/zones/fred5/ROOT/zbe  1.85G  93.2G  1.85G  legacy
root at fred5:/root# ls /zones/fred5
ls: cannot access '/zones/fred5': No such file or directory
root at fred5:/root# zpool list
NAME    SIZE  ALLOC   FREE  EXPANDSZ   FRAG    CAP  DEDUP  HEALTH  ALTROOT
rpool   136G  30.3G   106G         -    19%    22%  1.00x  ONLINE  -
root at fred5:/root#

Before I install any optional software I would like to create a zfs file
system and mount it on /opt in the zone.
How can I do this?

Cheers
Richard


More information about the OmniOS-discuss mailing list