[OmniOS-discuss] Ang: zvol snapshot rollback issue,dataset busy

Johan Kragsterman johan.kragsterman at capvert.se
Tue Feb 16 16:11:33 UTC 2016


Hi!


-----"OmniOS-discuss" <omnios-discuss-bounces at lists.omniti.com> skrev: -----
Till: omnios-discuss <omnios-discuss at lists.omniti.com>
Från: Hafiz Rafiyev 
Sänt av: "OmniOS-discuss" 
Datum: 2016-02-16 16:47
Ärende: [OmniOS-discuss] zvol snapshot rollback issue,dataset busy

I now its OmniOs forum,question about Nexenta v4.0.4FP02.
Maybe issue is common to illumos,

Getting below error when trying to rollback zvol snapshot,zvol unshared before rollback operation,system rebooted but result was same.
 
any sugesttions?

zfs rollback -r OPOOL/DATA at snap-hourly-1-2016-02-16-130002

cannot rollback 'OPOOL/DATA': dataset is busy
 

Nexenta log:

Feb 16 15:35:47 xxx nms[966]: [ID 702911 local0.error] (:1.12) EXCEPTION: SystemCallError: SnapshotContainer::rollback(OPOOL/DATA at snap-hourly-1-2016-02-16-130002,-r): 

[zfs rollback -r OPOOL/DATA at snap-hourly-1-2016-02-16-130002] cannot rollback 'OPOOL/DATA': dataset is busy




My guess is that the volume you want to roll it back to is registred as an LU with stmf...is it? If so, you need to delete it first. But be aware, before you delete the LU you need to delete any view for that LU. Otherwise you get views "hanging in the air" which is difficult to get rid of.


Johan

_______________________________________________
OmniOS-discuss mailing list
OmniOS-discuss at lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss




More information about the OmniOS-discuss mailing list