Project

General

Profile

Actions

Bug #20233

open

Cannot remove striped object

Added by Jan Kasprzak almost 7 years ago. Updated almost 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
libradosstriper
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

I have created a RADOS striped object using

$ dd someargs | rados --pool testpool --striper put testfile -

and interrupted it in the middle of writing. Now I cannot remove this object:

$ rados --pool testpool --striper rm testfile
error removing testpool>testfile: (16) Device or resource busy

Removing the individual parts of the striped object in the order given by "rados ls" works;

rados --pool testpool ls | grep ^testfile.000 | while read filename
do
rados --pool testpool rm $filename
done

This problem has originally been discussed in ceph-users list here:
https://www.mail-archive.com/ceph-users@lists.ceph.com/msg37962.html

Actions

Also available in: Atom PDF