From: Alexis KOALLA <alexis.koalla@orange.com>
To: Butkeev Stas <staerist@ya.ru>
Cc: ceph-devel@vger.kernel.org
Subject: Re: Problems with "shadow" objects
Date: Wed, 4 Mar 2015 10:47:39 +0100 [thread overview]
Message-ID: <54F6D4BB.1030209@orange.com> (raw)
In-Reply-To: <1809941425380648@web25h.yandex.ru>
Hi Stas,
My comments below in the mail
Le 03/03/2015 12:04, Butkeev Stas a écrit :
> Hello, all
>
> I have ceph+RGW installation. And have some problems with "shadow" objects.
>
> For example:
> #rados ls -p .rgw.buckets|grep "default.4507.1"
>
> .....
> default.4507.1__shadow_test_s3.2/2vO4WskQNBGMnC8MGaYPSLfGkhQY76U.1_5
> default.4507.1__shadow_test_s3.2/2vO4WskQNBGMnC8MGaYPSLfGkhQY76U.2_2
> default.4507.1__shadow_test_s3.2/2vO4WskQNBGMnC8MGaYPSLfGkhQY76U.6_4
> default.4507.1__shadow_test_s3.2/2vO4WskQNBGMnC8MGaYPSLfGkhQY76U.4_2
> default.4507.1__shadow_test_s3.2/2vO4WskQNBGMnC8MGaYPSLfGkhQY76U.3_5
> .....
>
> Please give me advices and answer on my questions
> 1) How can I rm this "shadow" files?
Consider that "shadow files" are rados object and are part of an rados
object. In fact when the Radosgateway stores an object in the cluster,
the object is split in several parts (called chunks) and the size of
each chunk is by default 4Mo. But you can configure this parameter...
You can get more details in the online cephdocumentation
If you want to remove these chunks you just need to remove the parent
object to which they are linked.
> 2) What does the name of this "shadow" files?
> example
> with normal object:
> # radosgw-admin object stat --bucket=dev --object="RegExp_tutorial.png"
> and I receive information about this object.
>
> with "shadow" object:
> default.4507.1_ - bucket-id
> radosgw-admin object stat --bucket=dev --object="_shadow_test_s3.2/2vO4WskQNBGMnC8MGaYPSLfGkhQY76U.2_7"
> ERROR: failed to stat object, returned error: (2) No such file or directory
> how can I determine name of this object
In the command above you forgot to type the full object name
"default.4507.1__shadow_test_s3.2/2vO4WskQNBGMnC8MGaYPSLfGkhQY76U.3_5 "
Your command should looks like this:
* #**rdosgw-admin object stat --bucket=dev
--object="_shadow_test_s3.2/2vO4WskQNBGMnC8MGaYPSLfGkhQY76U.2_7"
*
You an can have more details in inkscope project in github. We have
implemented a module that visualizes and show a rados object is stored
in a Ceph cluster.
Regards
Alex
*
*
> --
> Best Regards,
> Stanislav Butkeev
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message tomajordomo@vger.kernel.org
> More majordomo info athttp://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2015-03-04 9:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-03 11:04 Problems with "shadow" objects Butkeev Stas
2015-03-04 9:47 ` Alexis KOALLA [this message]
2015-03-04 12:40 ` Butkeev Stas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54F6D4BB.1030209@orange.com \
--to=alexis.koalla@orange.com \
--cc=ceph-devel@vger.kernel.org \
--cc=staerist@ya.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.