file - Ceph- list object in a RADOS block device -
my question quiet simple: possible list files in block device?
for instance, if create new pool :
ceph osd pool create mypool
and inside pool add rados block device :
rbd create myblock -p mypool --size 1024
on ceph-client do:
sudo rbd map myblock -p mypool
sudo mkfs.ext4 -m0 /dev/rbd/rbd/myblock
sudo mkdir /mnt/ceph-block-device
sudo mount /dev/rbd/rbd/myblock /mnt/ceph-block-device
cd /mnt/ceph-block-device
i put files in block
touch myfile.txt
touch hello.txt
how on osd/mon node can see thoses files , stored? know :
ceph osd map -p mypool object1 works perfectly, how can see complete list inside pool mypool?
regards,
ghislain
Comments
Post a Comment