Project

General

Profile

Actions

Bug #13153

closed

ceph-disk: blkid 2.23.2 fails on journal device on CentOS 7

Added by Loïc Dachary over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Using http://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud-1503.qcow2, ceph-disk list fails to match the journal partition with the corresponding data partition because blkid does not return the expected information.

[root@target230089 ceph-disk]# blkid -V
blkid from util-linux 2.23.2  (libblkid 2.23.0, 25-Apr-2013)
[root@target230089 ceph-disk]# ceph-disk prepare /dev/vdb
Creating new GPT entries.
The operation has completed successfully.
The operation has completed successfully.
meta-data=/dev/vdb1              isize=2048   agcount=4, agsize=59071 blks
         =                       sectsz=512   attr=2, projid32bit=1
         =                       crc=0        finobt=0
data     =                       bsize=4096   blocks=236283, imaxpct=25
         =                       sunit=0      swidth=0 blks
naming   =version 2              bsize=4096   ascii-ci=0 ftype=0
log      =internal log           bsize=4096   blocks=864, version=2
         =                       sectsz=512   sunit=0 blks, lazy-count=1
realtime =none                   extsz=4096   blocks=0, rtextents=0
The operation has completed successfully.
[root@target230089 ceph-disk]# df
Filesystem     1K-blocks    Used Available Use% Mounted on
/dev/vda1       10471148 2946764   7524384  29% /
devtmpfs          900472       0    900472   0% /dev
tmpfs             917696       0    917696   0% /dev/shm
tmpfs             917696   16648    901048   2% /run
tmpfs             917696       0    917696   0% /sys/fs/cgroup
/dev/vdb1         941676   33560    908116   4% /var/lib/ceph/osd/ceph-0
[root@target230089 ceph-disk]# blkid -o udev /dev/vdb2
[root@target230089 ceph-disk]# sgdisk -i 2 /dev/vdb
Partition GUID code: 45B0969E-9B03-4F30-B4C6-B4B80CEFF106 (Unknown)
Partition unique GUID: 443357BB-FDB6-4DF8-A4A1-5757BB076330
First sector: 2048 (at 1024.0 KiB)
Last sector: 204800 (at 100.0 MiB)
Partition size: 202753 sectors (99.0 MiB)
Attribute flags: 0000000000000000
Partition name: 'ceph journal'

Related issues 1 (0 open1 closed)

Related to Ceph - Bug #13000: ceph-disk failure to activate with dmcryptResolvedLoïc Dachary09/09/2015

Actions
Actions #1

Updated by Loïc Dachary over 8 years ago

  • Priority changed from Normal to Urgent
Actions #2

Updated by Loïc Dachary over 8 years ago

  • Status changed from In Progress to Fix Under Review
Actions #3

Updated by Loïc Dachary over 8 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF