zoneadm clone does not work in b104 with legacy pool mount
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Nexenta Operating System |
New
|
Undecided
|
Unassigned |
Bug Description
It's possible the following patch breaks the previously working functionality:
This patch closed the following bug:
http://
but has broken current functionality when zones are created on a dataset under syspool:
# zfs create mountpoint=/zones syspool/zones
# zonecfg -z test_zone
...
set zonepath=
...
# zoneadm -z test_zone clone base_zone
Reserving zone: test_zone
setting up zone: test_zone
Copying /zones/
The copy failed.
More information can be found in /var/log/
# cat /var/log/
/usr/bin/cpio: invalid option -- P
Try `cpio --help' or `cpio --usage' for more information.
Subscribing. zone@SUNWzone1 base_zone. ..zoneadm: zone 'stas': 'copy' failed with exit code 64.
I'm trying to deploy some devzones and it fails stupidly:
---
$ devzone_free
Error: no zones are allocated to you.
stas@kyle:~$ devzone_create
Reserving zone: stas
setting up zone: stas
Cloning snapshot zones/base_
cannot create ZFS dataset zones/stas: dataset already exists
Copying /zones/
The copy failed. zoneAAA0YaqsF
More information can be found in /var/log/
$ cat /var/log/ zoneAAA0YaqsF
/usr/bin/cpio: invalid option -- P
Try `cpio --help' or `cpio --usage' for more information.
---