On Mon, 14 Apr 2014, Christian Balzer wrote:
> 
> Hello,
> 
> On Sat, 12 Apr 2014 09:17:05 -0700 Sage Weil wrote:
> 
> > Hi Florent,
> > 
> > GPT partitions ate required if the udev-based magic is going to work.
> > If you opt out of that strategy, you need to mount your file systems
> > using fstab or similar and start the daemons manually.
> >
> THAT would have been great to know before I deployed this cluster totally
> manually. 
> As in, the need to have GPT partitions for this to work is not mentioned in
> the manual deployment pages at all.
> 
> Putting stuff in fstab is trivial enough, not having OSD demons come back
> up after a reboot is a major PITA. 

Sorry, I misspoke.  If the file systems get mounted, the daemons will 
start/stop on their own.  The init scripts look for /var/lib/ceph/osd/* 
and will start/stop whatever they find there if the 'sysvinit' or 
'upstart' marker files are present.

sage


> 
> Christian
>  
> > sage
> > 
> > On April 12, 2014 6:38:13 AM PDT, Florent B <flor...@coppint.com> wrote:
> > >Hi all,
> > >
> > >I run Debian Wheezy and Ceph 0.72
> > >
> > >I would like to put journal of my OSD at the beginning of disk (aka
> > >/dev/sda1).
> > >/dev/sda4 is the partition for data.
> > >
> > >I do:
> > >
> > >ceph-disk prepare --cluster ceph --cluster-uuid xxx --fs-type xfs
> > >/dev/sda4 /dev/sda1
> > >
> > >
> > >
> > >Then :
> > >
> > >ceph-disk activate-journal /dev/sda1
> > >
> > >tells me it can't read from /dev/disk/by-partuuid/xxx
> > >
> > >I have no /dev/disk/by-partuuid/ because I use MBR partitions.
> > >
> > >Are GPT partitions required to do what I want ?
> > >
> > >Thank you a lot
> > >
> > >
> > >------------------------------------------------------------------------
> > >
> > >_______________________________________________
> > >ceph-users mailing list
> > >ceph-users@lists.ceph.com
> > >http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> > 
> 
> 
> -- 
> Christian Balzer        Network/Systems Engineer                
> ch...@gol.com         Global OnLine Japan/Fusion Communications
> http://www.gol.com/
> 
> 
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to