Need to mount unmounted drives that are OSD - How to do it safely?

CrowJenkins

New Member
Jul 12, 2018
2
0
1
35
Hi everyone. I'm (very) new to PM and ceph. Some of the OSD's are down, and when I try to start them up, it says:
Code:
# service ceph start osd.1
/etc/init.d/ceph: osd.1 not found (/etc/ceph/ceph.conf defines mon.0 mon.1 mon.2 mds.0, /var/lib/ceph defines )
When I check df -h, it's not showing the drives are mounted (but fdisk -l is showing the disks as being available)

Question 1: How do I know which disks are supposed to be which? E.G. I have 5 disks in fdisk -l and I have 5 OSD's. How do I know if osd.1 is supposed to be /dev/sdb1 or /dev/sdf1?

Question 2: If I mount the wrong osd to the wrong drive, am I going to lose the data on that drive? E.G. osd.1 is supposed to be /dev/sdb1 but I mounted osd.1 to /dev/sde1
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!