Score:0

Is there a way to check filesystem/files on a logical drive in CEPH storage environment

tr flag

Little background. HP C7K hardware

Example partition:

/dev/sdi :
 /dev/sdi1 ceph data, prepared, cluster ceph, osd.21, block /dev/sdi2, block.db /dev/nvme1n1p3, block.wal /dev/nvme1n1p4
 /dev/sdi2 ceph block, for /dev/sdi1

file -s /dev/sdi2
/dev/sdi2: data

fdisk -l /dev/sdi
WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.

Disk /dev/sdi: 6000.6 GB, 6000606183424 bytes, 11719933952 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 262144 bytes / 262144 bytes
Disk label type: gpt
Disk identifier: 7E80BC6B-4E4F-4C01-B4F9-E1D4214CB66F


#         Start          End    Size  Type            Name
 1         2048       206847    100M  Ceph OSD        ceph data
 2       206848  11719933918    5.5T  unknown         ceph block

I am trying to validate data on the /dev/sdi2 logical drive before and after maintenance activity. To validate if there was any data loss.

I have tried mounting the drive, but receive the following:

mkdir -p /tmp/mnt
mount /dev/sdi2 /tmp/mnt
mount: /dev/sdi2 is write-protected, mounting read-only
mount: unknown filesystem type '(null)'

Any ideas? Thank you in advance

us flag
Rob
IMHO your approach is flawed. Use the Ceph (OSD) tools to check the health of your data. https://docs.ceph.com/en/latest/rados/operations/monitoring-osd-pg/ - Unless you have a really old Ceph deployment with OSD's using a FileStore (which uses a conventional file system) you can't mount a ceph OSD. Recent ceph versions use the BlueStore back end ahttps://docs.ceph.com/en/latest/rados/configuration/storage-devices/
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.