On Thu, Nov 11, 2010 at 12:10, C Anthony Risinger <[email protected]> wrote:
> On Thu, Nov 11, 2010 at 2:04 PM, Josh Berry <[email protected]> wrote:
>> Hi,
>>
>> I have a cron script that runs periodically, taking new snapshots and
>> cleaning up old ones when space gets low on my filesystem.  This
>> morning, the script suddenly stopped being able to remove snapshots.
>> When I tried to remove one manually, I got the following:
>>
>> # btrfs subvol del 2010-11-07-01:17:01
>> Delete subvolume '/btrfs/snapshot/2010-11-07-01:17:01'
>> ERROR: cannot delete '/btrfs/snapshot/2010-11-07-01:17:01'
>>
>> There is nothing in dmesg or in the above output to tell me what the
>> problem is, how to fix it, etc.  I'm running kernel 2.6.36, and I
>> updated btrfs-progs-unstable to the lastest Git revision
>> (1b444cd2e6...), with the same result.
>>
>> How do I diagnose this issue?  I'm not even sure where to start.
>
> do you have other nested subvols in it by accident?  try `btrfs sub
> list` to be sure.

That was the problem -- somehow there was another subvol inside.  Thanks!

-- Josh
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to