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 <matthew@xxxxxxxxxxx> 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/sdaGNU Parted 2.3Using /dev/sdaWelcome to GNU Parted! Type 'help' to view a list of commands.(parted) pModel: ATA ST2000DM001-9YN1 (scsi)Disk /dev/sda: 2000GBSector size (logical/physical): 512B/4096BPartition Table: gpt
Number Start End Size File system Name Flags1 20.5kB 1049kB 1029kB primary bios_grub2 2097kB 21.0GB 21.0GB ext4 primary3 21.0GB 21.5GB 536MB linux-swap(v1) primary4 21.5GB 2000GB 1979GB xfs primaryMatthew
If google has done it, Google did it right!
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com