Re: Any way to modify Bluestore label ?

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

 



Woaw ok thanks a lot i missed that in the doc...

Le jeu. 13 juin 2019 à 16:49, Konstantin Shalygin <k0ste@xxxxxxxx> a écrit :

Hello,

I would like to modify Bluestore label of an OSD, is there a way to do this
?

I so that we could diplay them with  "ceph-bluestore-tool show-label" but i
did not find anyway to modify them...

Is it possible ?
I changed LVM tags but that don't help with bluestore labels..

# ceph-bluestore-tool show-label --dev
/dev/ceph-dd64f696-4908-4088-8bea-9ed5e15dd3ce/osd-block-3a5e0c27-0bc3-4fb2-90d3-c6d2cd4e2f2e
{
"/dev/ceph-dd64f696-4908-4088-8bea-9ed5e15dd3ce/osd-block-3a5e0c27-0bc3-4fb2-90d3-c6d2cd4e2f2e":
{
"osd_uuid": "3a5e0c27-0bc3-4fb2-90d3-c6d2cd4e2f2e",
"size": 1073737629696,
"btime": "2019-06-11 17:18:12.935690",
"description": "main",
"bluefs": "1",
"ceph_fsid": "cf7017d0-bb78-44d9-9d99-dfe2c210a4fa",
"kv_backend": "rocksdb",
"magic": "ceph osd volume v026",
"mkfs_done": "yes",
"osd_key": "xxxxxxxxxxxxxxxxxx",
"ready": "ready",
"whoami": "1"
}
}

This possible like this:

ceph-bluestore-tool set-label-key --dev /var/lib/ceph/osd/ceph-1/block --key <size> --value <123>



k

_______________________________________________
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]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux