https://github.com/ceph/ceph/blob/master/udev/95-ceph-osd.rules Lists the 4
variants, in your case it sounds like a normal ceph volume so the guid you
want is probably 4fbd7e29-9d25-41b8-afd0-062c0ceff05d.

You will need sgdisk to set the guid correctly (part of gdisk)

from man
       -t, --typecode=partnum:{hexcode|GUID}
              Change a single partition's type code. You enter the  type
 code
              using  either  a  two-byte hexadecimal number, as described
ear‐
              lier,   or   a   fully-specified    GUID    value,    such
 as
              EBD0A0A2-B9E5-4433-87C0-68B6B72699C7.

your exec should look like

sgdisk --typecode=4:4fbd7e29-9d25-41b8-afd0-062c0ceff05d /dev/sda


On Mon, Dec 9, 2013 at 8:32 AM, Matthew Walster <matt...@walster.org> wrote:

> On 9 December 2013 16:26, Andrew Woodward <xar...@gmail.com> wrote:
>
>> This is a similar issue that we ran into, the root cause was that
>> ceph-deploy doesn't set the partition type guid (that is used to auto
>> activate the volume) on an existing partition. Setting this beforehand
>> while pre-creating the partition is a must or you have you put entries in
>> fstab.
>>
>
> What should it be?
>
>  root@host1:~# parted /dev/sda
> GNU Parted 2.3
> Using /dev/sda
> Welcome to GNU Parted! Type 'help' to view a list of commands.
> (parted) p
> Model: ATA ST2000DM001-9YN1 (scsi)
> Disk /dev/sda: 2000GB
> Sector size (logical/physical): 512B/4096B
> Partition Table: gpt
>
> Number  Start   End     Size    File system     Name     Flags
>  1      20.5kB  1049kB  1029kB                  primary  bios_grub
>  2      2097kB  21.0GB  21.0GB  ext4            primary
>  3      21.0GB  21.5GB  536MB   linux-swap(v1)  primary
>  4      21.5GB  2000GB  1979GB  xfs             primary
>
>
> Matthew​​
>



-- 
If google has done it, Google did it right!
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to