[PVE-User] ceph disk replace

lists lists at merit.unu.edu
Tue Sep 4 13:16:57 CEST 2018


Hi,

Some additional info:

> root at pve:~# ceph-disk list
...skipped less relevant stuff
> /dev/sdg :
>  /dev/sdg1 ceph data, active, cluster ceph, osd.22, journal /dev/sdl7
> /dev/sdh :
>  /dev/sdh1 ceph data, active, cluster ceph, osd.21, journal /dev/sdl6
> /dev/sdi :
>  /dev/sdi1 ceph data, active, cluster ceph, osd.20, journal /dev/sdl5
> /dev/sdj other, unknown
...skipped less relevant stuff> /dev/sdl :
>  /dev/sdl8 other
>  /dev/sdl1 ceph journal, for /dev/sda1
>  /dev/sdl2 ceph journal, for /dev/sdb1
>  /dev/sdl3 ceph journal, for /dev/sdc1
>  /dev/sdl4 ceph journal, for /dev/sdd1
>  /dev/sdl7 ceph journal, for /dev/sdg1
>  /dev/sdl6 ceph journal, for /dev/sdh1
>  /dev/sdl5 ceph journal, for /dev/sdi1

> root at pve:~# fdisk -l /dev/sdl
> 
> Disk /dev/sdl: 447.1 GiB, 480103981056 bytes, 937703088 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
> Disklabel type: gpt
> Disk identifier: D6AE7F88-3C21-4C98-BDAC-1140554D8BB2
> 
> Device        Start      End  Sectors Size Type
> /dev/sdl1      2048 10487807 10485760   5G unknown
> /dev/sdl2  10487808 20973567 10485760   5G unknown
> /dev/sdl3  20973568 31459327 10485760   5G unknown
> /dev/sdl4  31459328 41945087 10485760   5G unknown
> /dev/sdl5  41945088 52430847 10485760   5G unknown
> /dev/sdl6  52430848 62916607 10485760   5G unknown
> /dev/sdl7  62916608 73402367 10485760   5G unknown

Looking at the above, fdisk lists only seven partitions on the journal 
device/dev/sdl, but ceph--disks lists an 8th "other" partition on /dev/sdl

Perhaps that is why ceph-disk complains "Error: journal specified but 
not allowed by osd backend".

Ideas?

MJ



More information about the pve-user mailing list