ceph-volume lvm for bluestore for newer disk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

# 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@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux