ceph@cephdeploy01:~/ceph-deploy$ ceph-deploy --overwrite-conf disk prepare --fs-type btrfs cephosd01:sdd:/dev/sde
[ceph_deploy.cli][INFO ] Invoked (1.4.0): /usr/bin/ceph-deploy --overwrite-conf disk prepare --fs-type btrfs cephosd01:sdd:/dev/sde
[ceph_deploy.osd][DEBUG ] Preparing cluster ceph disks cephosd01:/dev/sdd:/dev/sde
[cephosd01][DEBUG ] connected to host: cephosd01
[cephosd01][DEBUG ] detect platform information from remote host
[cephosd01][DEBUG ] detect machine type
[ceph_deploy.osd][INFO ] Distro info: Ubuntu 14.04 trusty
[ceph_deploy.osd][DEBUG ] Deploying osd to cephosd01
[cephosd01][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf
[cephosd01][INFO ] Running command: sudo udevadm trigger --subsystem-match=block --action=add
[ceph_deploy.osd][DEBUG ] Preparing host cephosd01 disk /dev/sdd journal /dev/sde activate False
[cephosd01][INFO ] Running command: sudo ceph-disk-prepare --fs-type btrfs --cluster ceph -- /dev/sdd /dev/sde
[cephosd01][WARNIN] INFO:ceph-disk:Running command: /usr/bin/ceph-osd --cluster=ceph --show-config-value=fsid
[cephosd01][WARNIN] INFO:ceph-disk:Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup osd_mkfs_options_btrfs
[cephosd01][WARNIN] INFO:ceph-disk:Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup osd_fs_mkfs_options_btrfs
[cephosd01][WARNIN] INFO:ceph-disk:Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup osd_mount_options_btrfs
[cephosd01][WARNIN] INFO:ceph-disk:Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup osd_fs_mount_options_btrfs
[cephosd01][WARNIN] INFO:ceph-disk:Running command: /usr/bin/ceph-osd --cluster=ceph --show-config-value=osd_journal_size
[cephosd01][WARNIN] INFO:ceph-disk:Running command: /sbin/parted --machine -- /dev/sde print
[cephosd01][WARNIN] ceph-disk: Error: weird parted units:
[cephosd01][ERROR ] RuntimeError: command returned non-zero exit status: 1
[ceph_deploy.osd][ERROR ] Failed to execute command: ceph-disk-prepare --fs-type btrfs --cluster ceph -- /dev/sdd /dev/sde
[ceph_deploy][ERROR ] GenericError: Failed to create 1 OSDs
ceph@cephdeploy01:~/ceph-deploy$
---
ceph@cephosd01:~$ sudo fdisk /dev/sdd
WARNING: GPT (GUID Partition Table) detected on '/dev/sdd'! The util fdisk doesn't support GPT. Use GNU Parted.
WARNING: The size of this disk is 3.0 TB (3000592982016 bytes).
DOS partition table format can not be used on drives for volumes
larger than (2199023255040 bytes) for 512-byte sectors. Use parted(1) and GUID
partition table format (GPT).
Command (m for help): p
Disk /dev/sdd: 3000.6 GB, 3000592982016 bytes
255 heads, 63 sectors/track, 364801 cylinders, total 5860533168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
Command (m for help):
ceph@cephosd01:~$ sudo fdisk /dev/sde
WARNING: GPT (GUID Partition Table) detected on '/dev/sde'! The util fdisk doesn't support GPT. Use GNU Parted.
The device presents a logical sector size that is smaller than
the physical sector size. Aligning to a physical sector (or optimal
I/O) size boundary is recommended, or performance may be impacted.
Command (m for help): p
Disk /dev/sde: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders, total 234441648 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
Command (m for help):