Re: question about ceph-deploy osd create

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

 



Hello,

On Fri, 5 Aug 2016 02:11:31 +0200 Guillaume Comte wrote:

> I am reading half your answer
> 
> Do you mean that ceph will create by itself the partitions for the journal?
>
Yes, "man ceph-disk".
 
> If so its cool and weird...
>
It can be very weird indeed.
If sdc is your data (OSD) disk and sdb your journal device then:

"ceph-disk prepare /dev/sdc /dev/sdb1" 
will not work, but:

"ceph-disk prepare /dev/sdc /dev/sdb"
will and create a journal partition on sdb. 
However you have no control over numbering or positioning this way.
 
Christian

> Le 5 août 2016 02:01, "Christian Balzer" <chibi@xxxxxxx> a écrit :
> 
> >
> > Hello,
> >
> > you need to work on your google skills. ^_-
> >
> > I wrote about his just yesterday and if you search for "ceph-deploy wrong
> > permission" the second link is the issue description:
> > http://tracker.ceph.com/issues/13833
> >
> > So I assume your journal partitions are either pre-made or non-GPT.
> >
> > Christian
> >
> > On Thu, 4 Aug 2016 15:34:44 +0200 Guillaume Comte wrote:
> >
> > > Hi All,
> > >
> > > With ceph jewel,
> > >
> > > I'm pretty stuck with
> > >
> > >
> > > ceph-deploy osd create {node-name}:{disk}[:{path/to/journal}]
> > >
> > > Because when i specify a journal path like this:
> > > ceph-deploy osd prepare ceph-osd1:sdd:sdf7
> > > And then:
> > > ceph-deploy osd activate ceph-osd1:sdd:sdf7
> > > I end up with "wrong permission" on the osd when activating, complaining
> > > about "tmp" directory where the files are owned by root, and it seems it
> > > tryes to do stuff as ceph user.
> > >
> > > It works when i don't specify a separate journal
> > >
> > > Any idea of what i'm doing wrong ?
> > >
> > > thks
> >
> >
> > --
> > Christian Balzer        Network/Systems Engineer
> > chibi@xxxxxxx           Global OnLine Japan/Rakuten Communications
> > http://www.gol.com/
> >


-- 
Christian Balzer        Network/Systems Engineer                
chibi@xxxxxxx   	Global OnLine Japan/Rakuten Communications
http://www.gol.com/
_______________________________________________
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