Hi,

I have successfully created dedicated ZFS volume for dump
device and activated it using dumpadm(1M) command:

# zfs create -b 131072 -V 2048m data/dump
# dumpadm -n -d /dev/zvol/dsk/data/dump
      Dump content: kernel pages
       Dump device: /dev/zvol/dsk/data/dump (dedicated)
Savecore directory: /var/crash/tia
  Savecore enabled: no

Now I would like to destroy ZFS pool "data", but I am not sure,
how I might release the dump device - "zpool destroy" as well
as "zfs destroy" complain in following way:

# zpool destroy -f data
cannot remove device links for 'data/dump': dataset is busy

# zfs destroy -f data/dump
cannot remove device links for 'data/dump': dataset is busy

I have looked at dumpadm(1M) manpage, but haven't found
similar approach I used for swap(1M) - I was able to release
swap ZFS volume using "swap -d".

Is there any way to release dump ZFS volume after it was
activated by dumpadm(1M) command ?

Thank you,
Jan

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to