Skip to content

Instantly share code, notes, and snippets.

@fsvehla
Created January 29, 2009 01:54
Show Gist options
  • Save fsvehla/54318 to your computer and use it in GitHub Desktop.
Save fsvehla/54318 to your computer and use it in GitHub Desktop.
zfs recv -d ~/bc.zone.zfs rpool
# That included /zones/bc, /zones/bc/ROOT and /zones/bc/ROOT/zbe
zonecfg -z bc create -a /zones/bc
zoneadm -z bc attach
The -a or -r option is required when there is no active root dataset.
pfexec zoneadm -z bc attach -r /zones/bc
cannot create 'rpool/zones/bc/ROOT': dataset already exists
cannot create 'rpool/zones/bc/ROOT/zbe': dataset already exists
cannot receive: failed to read from stream
Unable to create the zone's ZFS dataset.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment