[ceph-users] ceph-volume lvm for bluestore for newer disk

Brad Hubbard bhubbard at redhat.com
Thu Nov 30 22:48:21 PST 2017



On Thu, Nov 30, 2017 at 5:30 PM, nokia ceph <nokiacephusers at gmail.com> wrote:
> Hello,
>
> I'm following
> http://docs.ceph.com/docs/master/ceph-volume/lvm/prepare/#ceph-volume-lvm-prepare-bluestore
> to create new OSD's.
>
> I took the latest branch from https://shaman.ceph.com/repos/ceph/luminous/
>
> # ceph -v
> ceph version 12.2.1-851-g6d9f216
>
> What I did, formatted the device.
>
> #sgdisk -Z /dev/sdv
> Creating new GPT entries.
> GPT data structures destroyed! You may now partition the disk using fdisk or
> other utilities.
>
>
> Getting below error while the creation of bluestore OSD's
>
> # ceph-volume lvm prepare --bluestore  --data /dev/sdv
> Running command: sudo vgcreate --force --yes
> ceph-b2f1b9b9-eecc-4c17-8b92-cfa60b31c121 # use uuidgen to create an ID, use
> this for all ceph nodes in your cluster /dev/sdv
>  stderr: Name contains invalid character, valid set includes:
> [a-zA-Z0-9.-_+].
>   New volume group name "ceph-b2f1b9b9-eecc-4c17-8b92-cfa60b31c121 # use
> uuidgen to create an ID, use this for all ceph nodes in your cluster" is
> invalid.
>   Run `vgcreate --help' for more information.
> -->  RuntimeError: command returned non-zero exit status: 3

Can you remove the comment "# use `uuidgen` to generate your own UUID" from the
line for 'fsid' in your ceph.conf and try again?

>
> # grep fsid /etc/ceph/ceph.conf
> fsid = b2f1b9b9-eecc-4c17-8b92-cfa60b31c121
>
>
> My question
>
> 1. We have 68 disks per server so for all the 68 disks sharing same Volume
> group --> "ceph-b2f1b9b9-eecc-4c17-8b92-cfa60b31c121" ?
> 2. Why ceph-volume failed to create vg name with this name, even I manually
> tried to create, as it will ask for Physical volume as argument
>     #vgcreate --force --yes "ceph-b2f1b9b9-eecc-4c17-8b92-cfa60b31c121"
>   No command with matching syntax recognised.  Run 'vgcreate --help' for
> more information.
>   Correct command syntax is:
>   vgcreate VG_new PV ...
>
> Please let me know the comments.
>
> Thanks
> Jayaram
>
>
>
>
> _______________________________________________
> ceph-users mailing list
> ceph-users at lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>



-- 
Cheers,
Brad


More information about the ceph-users mailing list