Rollback ZFS volume exported over iSCSI

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

While playing with Kernel Zones on Solaris 11.2 I noticed that once a ZFS volume is shared over iSCSI, while I can create a snapshot of it, I can’t roll it back – I get “volume is busy” error message. I found a way to do it:

 

Although this should be easier…

The iSCSI lun contains a kernel zone image just after it was installed. However now I couldn’t boot into it:

Right, the man page explains it all – there is a host meta data needed to boot a kernel zone, which is encrypted. Since I rolled back the ZFS volume to a previous installation the encryption key stored in the zone’s configuration is no longer valid. I had to re-create it:

And now it booted just fine.

Leave a Reply

avatar
  Subscribe  
Notify of