Re: The osd-block* file is gone

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

 



Hi,
Thanks a lot.
The following message. Is there any way can repair that?

[root@GH ui cephconfig]# lsblk
lsblk: dm-2: failed to get device path
lsblk: dm-3: failed to get device path
lsblk: dm-0: failed to get device path
lsblk: dm-1: failed to get device path
lsblk: dm-2: failed to get device path
lsblk: dm-3: failed to get device path
lsblk: dm-4: failed to get device path
lsblk: dm-4: failed to get device path
lsblk: dm-0: failed to get device path
lsblk: dm-1: failed to get device path
NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda           8:0    0   1.8T  0 disk
sdb           8:16   0   1.8T  0 disk
nvme0n1     259:4    0 372.6G  0 disk
nvme1n1     259:0    0   477G  0 disk
├─nvme1n1p1 259:1    0   200M  0 part /boot/efi
├─nvme1n1p2 259:2    0     1G  0 part /boot
└─nvme1n1p3 259:3    0 475.8G  0 part
[root@GHui cephconfig]# lvs
  LV                                             VG                                        Attr       LSize    Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  root                                           centos                                    -wi-ao----  471.74g
  swap                                           centos                                    -wi-ao----    4.00g
  osd-block-e341dd4f-58a7-49b4-a1d6-a4d3b29a9e73 ceph-11019d79-278a-4467-afb2-decad4397313 -wi-a----- <372.61g
  osd-block-0c7e1eae-19ae-4a84-a2a0-d1d1afcb1d12 ceph-1e084b2c-add9-4bd8-8c61-84e0410a6bea -wi-a-----   <1.75t
  osd-block-62678371-9389-4cb0-9065-2590862a54f5 ceph-744510d6-ab17-4f9f-80c8-f216d5b4a133 -wi-a-----   <1.75t
[root@GHui cephconfig]#
ID  CLASS  WEIGHT   REWEIGHT  SIZE  RAW USE  DATA  OMAP  META  AVAIL  %USE  VAR   PGS  STATUS
 0    ssd  1.74660   1.00000   0 B      0 B   0 B   0 B   0 B    0 B     0  1.00    0    down
 1    ssd  1.74660   1.00000   0 B      0 B   0 B   0 B   0 B    0 B     0  1.00    0    down
 4    ssd  0.36389   1.00000   0 B      0 B   0 B   0 B   0 B    0 B     0  1.00    0    down
 2    ssd  1.74660   1.00000   0 B      0 B   0 B   0 B   0 B    0 B     0  1.00    0      up
 3    ssd  1.74660   1.00000   0 B      0 B   0 B   0 B   0 B    0 B     0  1.00    0    down
 5    ssd  0.36389   1.00000   0 B      0 B   0 B   0 B   0 B    0 B     0  1.00    0    down
                       TOTAL   0 B      0 B   0 B   0 B   0 B    0 B     0
MIN/MAX VAR: 1.00/1.00  STDDEV: 0



------------------ Original ------------------
From: "胡 玮文" <huww98@xxxxxxxxxxx>;
Date: Fri, Nov 19, 2021 04:49 PM
To: "GHui"<ugiwgh@xxxxxx>;"ceph-users"<ceph-users@xxxxxxx>;
Subject: 回复:  The osd-block* file is gone

That one should be automatically created on boot. If not, you should check if your disk is broken / not connected, maybe by checking the kernel logs. You can share the output of `lsblk` and `lvs`

 

发件人: GHui
发送时间: 2021年11月19日 16:43
收件人: ceph-users
主题:  The osd-block* file is gone

 

Hi,
My Ceph Cluster is Pacific.
There is a block file in /var/lib/ceph/<fsid>/osd.0. The block file linked to /dev/ceph-*/osd-block*.
When I run uinit.run script in osd.0. It reports  "/dev/ceph-*/osd-block-*: (2) No such file or directory".
Yes, the file "/dev/ceph-*/osd-block-*" is gone.
How to create this file?

I would very much appreciate any advice.

Best Regards,
GHui
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx




[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