Hi Christian,

I didn't create the partitions beforehand, which is probably the reason why we 
had differing outcomes.

The actual partitions were fine, I could mount the root partition from a live 
cd. However when the server tried to boot it never loaded grub, it just sat 
there with a blinking cursor, which suggests to me ceph-deploy overwrote the 
1st sector of the disk, where grub normally resides.

Nick

-----Original Message-----
From: Christian Balzer [mailto:ch...@gol.com] 
Sent: 01 March 2015 03:44
To: ceph-users@lists.ceph.com
Cc: Nick Fisk
Subject: Re: [ceph-users] Booting from journal devices


Hello,

On Sat, 28 Feb 2015 18:47:14 -0000 Nick Fisk wrote:

> Hi All,
> 
>  
> 
> Thought I would just share this in case someone finds it useful.
> 
>  
> 
> I've just finished building our new Ceph cluster where the journals 
> are installed on the same SSD's as the OS. The SSD's have a MD raid 
> partitions for the OS and swap and the rest of the SSD's are used for 
> individual journal partitions. The OS is Ubuntu and as such the 
> default install is using MBR partitions.
>
When you say MBR, do you mean DOS partitions?
 
>  
> 
> After we created the OSD's, the servers were unable to boot anymore. 
> This was caused by the ceph-deploy making GPT partitions for the 
> journals on the SSD's, effectively what it looks like is that its 
> overwriting the MBR boot record.
> 
Another reason I dislike these black box, "we know better what you want"
approaches.

Which version of ceph-deploy was this?

Did you create the journal partitions beforehand?

Because I have a cluster very much like it and ceph-deploy v1.5.7 did not touch 
the OS/Journal SSDs other than initializing the journals (partitions had been 
created with fdisk before).

Christian

>  
> 
> To fix it I carried out the following steps:-
> 
>  
> 
> 1.       Used gdisk on both SSD's to create a new partition from sector
> 34 to 2047, of type EF02
> 
> 2.       Ran grub-install against each SSD device
> 
>  
> 
> Hope that's helps someone, if they come across the same problem.
> 
>  
> 
> Nick
> 
> 
> 
> 


-- 
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