Re: Reusing journal partitions when using ceph-deploy/ceph-disk --dmcrypt

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

 



Le 05/12/2016 à 05:14, Alex Gorbachev a écrit :
> Referencing
> http://lists.ceph.com/pipermail/ceph-users-ceph.com/2015-July/003293.html
> 
> When using --dmcrypt with ceph-deploy/ceph-disk, the journal device is
> not allowed to be an existing partition. You have to specify the entire
> block device, on which the tools create a partition equal to osd journal
> size setting.
> 
> However, in the case when an HDD fails and OSD is deleted and then
> replaced with another HDD, I have not been able to find a way to reuse
> the earlier journal partition. Ceph-deploy creates a new one, which can
> lead into unpleasant situations on the SSD used for journaling.

Hello,

Remove the old journal partition ( ex : parted /dev/sdc rm 2 ).
Ceph-deploy should reuse the space for the new one.

Regards

> Is there a way anyone know of, to continue to use a specific partition
> as journal with ceph-deploy?
> 
> Thanks in advance,
> Alex
> 
> 
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> 


-- 
----------------------------------------------
Pierre BLONDEAU
Administrateur Système & réseau
Université de Caen Normandie
Laboratoire GREYC, Département d'informatique

Tel : 02 31 56 75 42.
Bureau : Campus 2, Science 3, 406
----------------------------------------------

Attachment: smime.p7s
Description: Signature cryptographique S/MIME

_______________________________________________
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