in /var/lib/ceph/osd/ceph-$ID/block # ls -l /var/lib/ceph/osd/ceph-9/b
From: "☣Adam" mailto:a...@dc949.org>>
To: ceph-users@lists.ceph.com<mailto:ceph-users@lists.ceph.com>
Date: 07/18/2019 03:25 PM
Subject: [EXTERNAL] Re: [ceph-users] Need to replace OSD. How do I fi
On the host with the osd run:
ceph-volume lvm list
From: "☣Adam"
To: ceph-users@lists.ceph.com
Date: 07/18/2019 03:25 PM
Subject:[EXTERNAL] Re: [ceph-users] Need to replace OSD. How do I find
physical disk
Sent by:"ceph-users"
The block device can be found in /var/lib/ceph/osd/ceph-$ID/block
# ls -l /var/lib/ceph/osd/ceph-9/block
In my case it links to /dev/sdbvg/sdb which makes is pretty obvious
which drive this is, but the Volume Group and Logical volume could be
named anything. To see what physical disk(s) make up
You can use ceph-volume to get the LV ID
> # ceph-volume lvm list
>
> == osd.24 ==
>
> [block]
> /dev/ceph-edeb727e-c6d3-4347-bfbb-b9ce7f60514b/osd-block-1da5910e-136a-48a7-8cf1-1c265b7b612a
>
> type block
> osd id24
>
On Thu, Jul 18, 2019 at 8:10 PM John Petrini wrote:
> Try ceph-disk list
>
no, this system is running ceph-volume not ceph-disk because the
mountpoints are in tmpfs
ceph-volume lvm list
But it looks like the disk is just completely broken and disappeared from
the system.
--
Paul Emmerich
Try ceph-disk list
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
How do I find the physical disk in a Ceph luminous cluster in order to replace
it. Osd.9 is down in my cluster which resides on ceph-osd1 host.
If I run lsblk -io KNAME,TYPE,SIZE,MODEL,SERIAL I can get the serial numbers of
all the physical disks for example
sdbdisk 1.8T ST2000DM001-1CH1