Re: Invalid Object map without flags set

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello K,

 

We have found our issue – we were only fixing the main RDB image in our script rather than the snapshots. Working fine now.

 

Thanks for your help.

Kind regards,

Glen Baars

From: Konstantin Shalygin <k0ste@xxxxxxxx>
Sent: Friday, 17 August 2018 11:20 AM
To: ceph-users@xxxxxxxxxxxxxx; Glen Baars <glen@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [ceph-users] Invalid Object map without flags set

 

We are having issues with ensuring that object-map and fast-diff is working correctly. Most of the time when there is an invalid fast-diff map, the flag is set to correctly indicate this. We have a script that checks for this and rebuilds object maps as required. If we don't fix these, snapshot removal and rbd usage commands are too slow.
 
About 10% of the time when we issue an `rbd du` command we get the following situation.
 
warning: fast-diff map is invalid for 2d6b4502-f720-4c00-b4a4-8879e415f283 at 18-D-2018-07-11:1109. operation may be slow.
 
When we check the `rbd info` it doesn't have any flags set.
 
[INFO]    {"name":"2d6b4502-f720-4c00-b4a4-8879e415f283","size":536870912000,"objects":128000,"order":22,"object_size":4194304,"block_name_prefix":"rbd_data.17928643c9869","format":2,"features":["layering","exclusive-lock","object-map","fast-diff","deep-flatten"],"flags":[],"create_timestamp":"Sat Apr 28 19:45:59 2018"}
[Feat]    ["layering","exclusive-lock","object-map","fast-diff","deep-flatten"]
[Flag]    []
 
Is there another way to detect invalid object maps?
 
Ceph 12.2.7 - All Bluestore

As long as I remember, when object-map is bad you will see this flag on rbd info.


for e in `rbd ls replicated_rbd`; do echo "replicated_rbd/${e}"; rbd info replicated_rbd/${e} | grep "flag"; done

 

 

k

This e-mail is intended solely for the benefit of the addressee(s) and any other named recipient. It is confidential and may contain legally privileged or confidential information. If you are not the recipient, any use, distribution, disclosure or copying of this e-mail is prohibited. The confidentiality and legal privilege attached to this communication is not waived or lost by reason of the mistaken transmission or delivery to you. If you have received this e-mail in error, please notify us immediately.
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux