I find myself in need of rolling back a couple of snapshots. Here's the relevant list:
I need to roll back to the 1710 snapshot. Note that none of these use any data (the column with 0 is the "Used" column).
The GUI will let me roll back to the latest one. When I try the CLI to roll back further, I get this:
I am 100% certain that nothing is using the dataset. In fact, I booted into single-user mode, imported the pool, and tried the command from there ... exactly the same result, "dataset is busy".
I have also tried first rolling back to 1730, then rolling back (with -r) to 1725, but the result is exactly the same. I have also tried the -R and -f options, to no avail.
Is there some flag that I need to tweak on the snapshot? Held, or latest, or something?
Code:
tank/Archive@auto-20140907.1710-2w 0 - 1.35T - tank/Archive@auto-20140907.1715-2w 0 - 1.35T - tank/Archive@auto-20140907.1720-2w 0 - 1.35T - tank/Archive@auto-20140907.1725-2w 0 - 1.35T - tank/Archive@auto-20140907.1730-2w 0 - 1.35T -
I need to roll back to the 1710 snapshot. Note that none of these use any data (the column with 0 is the "Used" column).
The GUI will let me roll back to the latest one. When I try the CLI to roll back further, I get this:
Code:
[root@omega] ~# zfs rollback -r tank/Archive@auto-20140907.1725-2w cannot destroy 'tank/Archive@auto-20140907.1730-2w': dataset is busy
I am 100% certain that nothing is using the dataset. In fact, I booted into single-user mode, imported the pool, and tried the command from there ... exactly the same result, "dataset is busy".
I have also tried first rolling back to 1730, then rolling back (with -r) to 1725, but the result is exactly the same. I have also tried the -R and -f options, to no avail.
Is there some flag that I need to tweak on the snapshot? Held, or latest, or something?