I am trying to destroy ZFS dataset but I end up with
And also does anyone know why the dataset get named "recv-somenr" ? All the datasets are replicated from another server for backup.
Code:
dataset is busy
Code:
root@backupbsd:/usr/home/anders # zfs list -o name -r zroot/zfsbackup/bsdserver/oceanpool/recv-48595-2/releases | grep recv- | xargs -n 1 zfs destroy -rfv
will destroy zroot/zfsbackup/bsdserver/oceanpool/recv-48595-2/releases/10.2-RELEASE/root
cannot destroy 'zroot/zfsbackup/bsdserver/oceanpool/recv-48595-2/releases/10.2-RELEASE/root': dataset is busy
will destroy zroot/zfsbackup/bsdserver/oceanpool/recv-48595-2/releases/10.2-RELEASE/root
cannot destroy 'zroot/zfsbackup/bsdserver/oceanpool/recv-48595-2/releases/10.2-RELEASE/root': dataset is busy
will destroy zroot/zfsbackup/bsdserver/oceanpool/recv-48595-2/releases/10.2-RELEASE/root
cannot destroy 'zroot/zfsbackup/bsdserver/oceanpool/recv-48595-2/releases/10.2-RELEASE/root': dataset is busy
And also does anyone know why the dataset get named "recv-somenr" ? All the datasets are replicated from another server for backup.