Need to replace OSD. How do I find physical disk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

sdb    disk  1.8T ST2000DM001-1CH1 Z1E5VLRG

 

But how do I find out which osd is mapped to sdb and so on?

When I run df –h I get this

 

[root@ceph-osd1 ~]# df -h

Filesystem                   Size  Used Avail Use% Mounted on

/dev/mapper/ceph--osd1-root   19G  1.9G   17G  10% /

devtmpfs                      48G     0   48G   0% /dev

tmpfs                         48G     0   48G   0% /dev/shm

tmpfs                         48G  9.3M   48G   1% /run

tmpfs                         48G     0   48G   0% /sys/fs/cgroup

/dev/sda3                    947M  232M  716M  25% /boot

tmpfs                         48G   24K   48G   1% /var/lib/ceph/osd/ceph-2

tmpfs                         48G   24K   48G   1% /var/lib/ceph/osd/ceph-5

tmpfs                         48G   24K   48G   1% /var/lib/ceph/osd/ceph-0

tmpfs                         48G   24K   48G   1% /var/lib/ceph/osd/ceph-8

tmpfs                         48G   24K   48G   1% /var/lib/ceph/osd/ceph-7

tmpfs                         48G   24K   48G   1% /var/lib/ceph/osd/ceph-33

tmpfs                         48G   24K   48G   1% /var/lib/ceph/osd/ceph-10

tmpfs                         48G   24K   48G   1% /var/lib/ceph/osd/ceph-1

tmpfs                         48G   24K   48G   1% /var/lib/ceph/osd/ceph-38

tmpfs                         48G   24K   48G   1% /var/lib/ceph/osd/ceph-4

tmpfs                         48G   24K   48G   1% /var/lib/ceph/osd/ceph-6

tmpfs                        9.5G     0  9.5G   0% /run/user/0

 

 

Robert Pelletier, IT and Security Specialist

Eastern Maine Community College
(207) 974-4782 | 354 Hogan Rd., Bangor, ME 04401

 

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux