Hi,
i'm just reinstalling my ceph-storage:
ubuntu 14.04, hammer, ceph-deploy 1.5.23
GPT was created with 'parted /dev/sdaf mklabel gpt'
then 'ceph-deploy --overwrite-conf osd --zap-disk --fs-type btrfs create
bd-2:/dev/sdaf' (beside others of cources)
in /etc/ceph.conf: 'osd_mkfs_options_btrfs = -f -n 32k -l 32k'
I got the following warnings from ceph-deploy, should i take care about
these or can they be ignored?
[ceph_deploy.osd][DEBUG ] Preparing cluster ceph disks bd-2:/dev/sdaf:
[bd-2][DEBUG ] connected to host: bd-2
[bd-2][DEBUG ] detect platform information from remote host
[bd-2][DEBUG ] detect machine type
[ceph_deploy.osd][INFO ] Distro info: Ubuntu 14.04 trusty
[ceph_deploy.osd][DEBUG ] Deploying osd to bd-2
[bd-2][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf
[bd-2][INFO ] Running command: udevadm trigger --subsystem-match=block
--action=add
[ceph_deploy.osd][DEBUG ] Preparing host bd-2 disk /dev/sdaf journal
None activate True
[bd-2][INFO ] Running command: ceph-disk -v prepare --zap-disk
--fs-type btrfs --cluster ceph -- /dev/sdaf
[bd-2][WARNIN] DEBUG:ceph-disk:Zapping partition table on /dev/sdaf
[bd-2][WARNIN] INFO:ceph-disk:Running command: /sbin/sgdisk --zap-all
--clear --mbrtogpt -- /dev/sdaf
[bd-2][WARNIN] Caution: invalid backup GPT header, but valid main
header; regenerating
[bd-2][WARNIN] backup header from main header.
[bd-2][WARNIN]
[bd-2][WARNIN] Warning! Main and backup partition tables differ! Use the
'c' and 'e' options
[bd-2][WARNIN] on the recovery & transformation menu to examine the two
tables.
[bd-2][WARNIN]
[bd-2][WARNIN] Warning! One or more CRCs don't match. You should repair
the disk!
[bd-2][WARNIN]
[bd-2][DEBUG ]
****************************************************************************
[bd-2][DEBUG ] Caution: Found protective or hybrid MBR and corrupt GPT.
Using GPT, but disk
[bd-2][DEBUG ] verification and recovery are STRONGLY recommended.
[bd-2][DEBUG ]
****************************************************************************
[bd-2][DEBUG ] GPT data structures destroyed! You may now partition the
disk using fdisk or
[bd-2][DEBUG ] other utilities.
[bd-2][DEBUG ] The operation has completed successfully.
[bd-2][WARNIN] DEBUG:ceph-disk:Calling partprobe on zapped device /dev/sdaf
[bd-2][WARNIN] INFO:ceph-disk:Running command: /sbin/partprobe /dev/sdaf
[bd-2][WARNIN] INFO:ceph-disk:Running command: /usr/bin/ceph-osd
--cluster=ceph --show-config-value=fsid
[bd-2][WARNIN] INFO:ceph-disk:Running command: /usr/bin/ceph-conf
--cluster=ceph --name=osd. --lookup osd_mkfs_options_btrfs
[bd-2][WARNIN] INFO:ceph-disk:Running command: /usr/bin/ceph-conf
--cluster=ceph --name=osd. --lookup osd_mount_options_btrfs
[bd-2][WARNIN] INFO:ceph-disk:Running command: /usr/bin/ceph-osd
--cluster=ceph --show-config-value=osd_journal_size
[bd-2][WARNIN] INFO:ceph-disk:Running command: /usr/bin/ceph-conf
--cluster=ceph --name=osd. --lookup osd_cryptsetup_parameters
[bd-2][WARNIN] INFO:ceph-disk:Running command: /usr/bin/ceph-conf
--cluster=ceph --name=osd. --lookup osd_dmcrypt_key_size
[bd-2][WARNIN] INFO:ceph-disk:Running command: /usr/bin/ceph-conf
--cluster=ceph --name=osd. --lookup osd_dmcrypt_type
[bd-2][WARNIN] INFO:ceph-disk:Will colocate journal with data on /dev/sdaf
[bd-2][WARNIN] DEBUG:ceph-disk:Creating journal partition num 2 size
10240 on /dev/sdaf
[bd-2][WARNIN] INFO:ceph-disk:Running command: /sbin/sgdisk
--new=2:0:10240M --change-name=2:ceph journal
--partition-guid=2:960b90b2-a199-41b7-8c98-634bcbd7d58e
--typecode=2:45b0969e-9b03-4f30-b4c6-b4b80ceff106 --mbrtogpt -- /dev/sdaf
[bd-2][DEBUG ] The operation has completed successfully.
[bd-2][WARNIN] DEBUG:ceph-disk:Calling partprobe on prepared device
/dev/sdaf
[bd-2][WARNIN] INFO:ceph-disk:Running command: /sbin/partprobe /dev/sdaf
[bd-2][WARNIN] INFO:ceph-disk:Running command: /sbin/udevadm settle
[bd-2][WARNIN] DEBUG:ceph-disk:Journal is GPT partition
/dev/disk/by-partuuid/960b90b2-a199-41b7-8c98-634bcbd7d58e
[bd-2][WARNIN] DEBUG:ceph-disk:Journal is GPT partition
/dev/disk/by-partuuid/960b90b2-a199-41b7-8c98-634bcbd7d58e
[bd-2][WARNIN] DEBUG:ceph-disk:Creating osd partition on /dev/sdaf
[bd-2][WARNIN] INFO:ceph-disk:Running command: /sbin/sgdisk
--largest-new=1 --change-name=1:ceph data
--partition-guid=1:46bf7456-cf9e-49ba-82d1-2eb868faa66b
--typecode=1:89c57f98-2fe5-4dc0-89c1-f3ad0ceff2be -- /dev/sdaf
[bd-2][DEBUG ] The operation has completed successfully.
[bd-2][WARNIN] DEBUG:ceph-disk:Calling partprobe on created device /dev/sdaf
[bd-2][WARNIN] INFO:ceph-disk:Running command: /sbin/partprobe /dev/sdaf
[bd-2][WARNIN] INFO:ceph-disk:Running command: /sbin/udevadm settle
[bd-2][WARNIN] DEBUG:ceph-disk:Creating btrfs fs on /dev/sdaf1
[bd-2][WARNIN] INFO:ceph-disk:Running command: /sbin/mkfs -t btrfs -f -n
32k -l 32k -- /dev/sdaf1
[bd-2][WARNIN] Turning ON incompat feature 'extref': increased hardlink
limit per file to 65536
[bd-2][DEBUG ]
[bd-2][DEBUG ] WARNING! - Btrfs v3.12 IS EXPERIMENTAL
[bd-2][DEBUG ] WARNING! - see http://btrfs.wiki.kernel.org before using
[bd-2][DEBUG ]
[bd-2][DEBUG ] fs created label (null) on /dev/sdaf1
[bd-2][DEBUG ] nodesize 32768 leafsize 32768 sectorsize 4096 size 3.63TiB
[bd-2][DEBUG ] Btrfs v3.12
[bd-2][WARNIN] DEBUG:ceph-disk:Mounting /dev/sdaf1 on
/var/lib/ceph/tmp/mnt.euGRqq with options rw,noatime,nodiratime,autodefrag
[bd-2][WARNIN] INFO:ceph-disk:Running command: /bin/mount -t btrfs -o
rw,noatime,nodiratime,autodefrag -- /dev/sdaf1 /var/lib/ceph/tmp/mnt.euGRqq
[bd-2][WARNIN] DEBUG:ceph-disk:Preparing osd data dir
/var/lib/ceph/tmp/mnt.euGRqq
[bd-2][WARNIN] DEBUG:ceph-disk:Creating symlink
/var/lib/ceph/tmp/mnt.euGRqq/journal ->
/dev/disk/by-partuuid/960b90b2-a199-41b7-8c98-634bcbd7d58e
[bd-2][WARNIN] DEBUG:ceph-disk:Unmounting /var/lib/ceph/tmp/mnt.euGRqq
[bd-2][WARNIN] INFO:ceph-disk:Running command: /bin/umount --
/var/lib/ceph/tmp/mnt.euGRqq
[bd-2][WARNIN] INFO:ceph-disk:Running command: /sbin/sgdisk
--typecode=1:4fbd7e29-9d25-41b8-afd0-062c0ceff05d -- /dev/sdaf
[bd-2][DEBUG ] The operation has completed successfully.
[bd-2][WARNIN] DEBUG:ceph-disk:Calling partprobe on prepared device
/dev/sdaf
[bd-2][WARNIN] INFO:ceph-disk:Running command: /sbin/partprobe /dev/sdaf
[bd-2][INFO ] Running command: udevadm trigger --subsystem-match=block
--action=add
[bd-2][INFO ] checking OSD status...
[bd-2][INFO ] Running command: ceph --cluster=ceph osd stat --format=json
[ceph_deploy.osd][DEBUG ] Host bd-2 is now ready for osd use.
root@bd-a:/etc/ceph#
--
MfG,
Markus Goldberg
--------------------------------------------------------------------------
Markus Goldberg Universität Hildesheim
Rechenzentrum
Tel +49 5121 88392822 Universitätsplatz 1, D-31141 Hildesheim, Germany
Fax +49 5121 88392823 email goldberg@xxxxxxxxxxxxxxxxx
--------------------------------------------------------------------------
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com