rados -p pool_name ls shows deleted object when there is a snapshot

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

 



Dear all,

I am experimenting with ceph pacific, and I have noticed that if I remove an object from a pool that has a snapshot, the `rados -p poolname ls` command will keep showing the object.

```
root@node1:~# rados -p testpool ls
first
root@node1:~# rados -p testpool mksnap snap1
created pool testpool snap snap1
root@node1:~# rados -p testpool lssnap
1    snap1    2021.09.03 18:03:43
1 snaps
root@node1:~# rados -p testpool rm first
root@node1:~# rados -p testpool ls
first
root@node1:~# rados -p testpool stat first
 error stat-ing testpool/first: (2) No such file or directory
root@node1:~# rados -p testpool -s snap1 stat first
selected snap 1 'snap1'
testpool/first mtime 2021-09-03T18:03:17.000000+0000, size 1183448
root@node1:~#
```

is this a feature or a bug? is there any documentation about this behavior? Can I list the objects from the pool without seeing the removed ones (even if there is a snapshot that contains them)?

Tank you,
Laszlo

_______________________________________________
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