Re: Bluestore : Where is my WAL device ?

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

 



On 05/06/18 14:49, rafael.diazmaurin@xxxxxxxxxxxxxxx wrote:
> Hello,
> 
> I run proxmox 5.2 with ceph 12.2 (bluestore).
> 
> I've created an OSD on a Hard Drive (/dev/sda) and tried to put both WAL and Journal on a SSD part (/dev/sde1) like this :
> pveceph createosd /dev/sda --wal_dev /dev/sde1 --journal_dev /dev/sde1
> 
> It automaticaly creates 2 parts on the Hard Drive /dev/sda (the first one /dev/sda1 called Ceph data and a 2nd one /dev/sda2 called Ceph block).
> 
> My problem is when I browse the OSD (/var/lib/ceph/osd/ceph-0/) I can't find the symlink to the WAL device.
> -I see a symlink to the block.db (journal on /dev/sde1 as expected)
> -and another symlink to block that points to Hard Drive /dev/sda2 (by-partuuid)
> -but no block.wal at all...
> 
> Can you explain me how to verify if the WAL device a really on the /dev/sde1 ?
> And if not, how to put the WAL and the journal on the same SSD part.

If you're trying to put the metadata DB and the WAL on the same device, don't bother specifying them separately. Only specify the DB device; the WAL will automatically colocate with the rest of the metadata if it's not otherwise specified. When they are located together, you won't see a separate WAL symlink in the OSD folder; it sounds like since you specified both WAL and DB should be on the same partition, the tool was smart enough to not mess it up.

Rich

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
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