Re: [ceph-users] resize wal/db

2018-07-17 Thread Shunde Zhang
Hi Igor, Thanks for the reply. I am using NVMe SSD for wal/db. Do you have any instruction on how to create a partition for wal/db on it? For example, the type of existing partitions are unknown. If I create a new one, it defaults to Linux: Disk /dev/nvme0n1: 500.1 GB, 500107862016 bytes, 976773

Re: [ceph-users] resize wal/db

2018-07-17 Thread Igor Fedotov
For now you can expand that space up to actual volume size using ceph-bluestore-tool commands ( bluefs-bdev-expand and set-label-key). Which is a bit tricky though. And I'm currently working on a solution within ceph-bluestore tool to  simplify both expansion and migration. Thanks, Igor

Re: [ceph-users] resize wal/db

2018-07-17 Thread Nicolas Huillard
Le mardi 17 juillet 2018 à 16:20 +0300, Igor Fedotov a écrit : > Right, but procedure described in the blog can be pretty easily > adjusted  > to do a resize. Sure, but if I remember correctly, Ceph itself cannot use the increased size: you'll end up with a larger device with unused additional spa

Re: [ceph-users] resize wal/db

2018-07-17 Thread Igor Fedotov
Right, but procedure described in the blog can be pretty easily adjusted to do a resize. Thanks, Igor On 7/17/2018 11:10 AM, Eugen Block wrote: Hi, There is no way to resize DB while OSD is running. There is a bit shorter "unofficial" but risky way than redeploying OSD though. But you'll

Re: [ceph-users] resize wal/db

2018-07-17 Thread Eugen Block
Hi, There is no way to resize DB while OSD is running. There is a bit shorter "unofficial" but risky way than redeploying OSD though. But you'll need to tag specific OSD out for a while in any case. You will also need either additional free partition(s) or initial deployment had to be don

Re: [ceph-users] resize wal/db

2018-07-16 Thread Igor Fedotov
Hi Zhang, There is no way to resize DB while OSD is running. There is a bit shorter "unofficial" but risky way than redeploying OSD though. But you'll need to tag specific OSD out for a while in any case. You will also need either additional free partition(s) or initial deployment had to be d

[ceph-users] resize wal/db

2018-07-11 Thread Shunde Zhang
Hi Ceph Gurus, I have installed Ceph Luminous with Bluestore using ceph-ansible. However, when I did the install, I didn’t set the wal/db size. Then it ended up using the default values, which is quite small: 1G db and 576MB wal. Note that each OSD node has 12 OSDs and each OSD has a 1.8T spinni