Re: [ceph-users] Reusing old journal block device w/ data causes FAILED assert(0)

2014-11-13 Thread Dan van der Ster
Hi, On Thu Nov 13 2014 at 3:35:55 PM Anthony Alba wrote: > Ah no. > On 13 Nov 2014 21:49, "Dan van der Ster" > wrote: > >> Hi, >> Did you mkjournal the reused journal? >> >>ceph-osd -i $ID --mkjournal >> >> Cheers, Dan >> > > No - however the man page states that "--mkjournal" is for : > "

Re: [ceph-users] Reusing old journal block device w/ data causes FAILED assert(0)

2014-11-13 Thread Anthony Alba
Ah no. On 13 Nov 2014 21:49, "Dan van der Ster" wrote: > Hi, > Did you mkjournal the reused journal? > >ceph-osd -i $ID --mkjournal > > Cheers, Dan > No - however the man page states that "--mkjournal" is for : "Create a new journal file to match an existing object repository. This is usef

Re: [ceph-users] Reusing old journal block device w/ data causes FAILED assert(0)

2014-11-13 Thread Dan van der Ster
Hi, Did you mkjournal the reused journal? ceph-osd -i $ID --mkjournal Cheers, Dan On Thu Nov 13 2014 at 2:34:51 PM Anthony Alba wrote: > When I create a new OSD with a block device as journal that has > existing data on it, ceph is causing FAILED assert. The block device > iss a journal fr

[ceph-users] Reusing old journal block device w/ data causes FAILED assert(0)

2014-11-13 Thread Anthony Alba
When I create a new OSD with a block device as journal that has existing data on it, ceph is causing FAILED assert. The block device iss a journal from a previous experiment. It can safely be overwritten. If I zero the block device with dd if=/dev/zero bs=512 count=1000 of=MyJournalDev then the a