Forums

Home / Forums

You need to log in to create posts and topics. Login · Register

petasan deletes pool and data when deleting a secondary layout in a cephfs

petasan deletes pool and data when deleting a secondary layout in a cephfs

to reproduce.

  1. create main cephfs file system with the default layout.
  2. create an additional layout and attach a data pool to it.
  3. delete the secondary layout you created in #2 above.
  4. DONE... pool and all data is deleted.

This is BAD as it seems to be unexpected behavior..... it is understood that the data is useless as it depends on the metadata pool of the default / parent cephfs file system.  ...

maybe a DETACH or a WARNING that all the underlaying cephfs data will be erased.

 

maybe a DETACH or a WARNING that all the underlaying cephfs data will be erased

this is the message we show:

Are you sure you want to delete layout LayoutXYZ ? All associated shares, exports and pools will be removed, data will be erased.

yup, saw that as well ... Should maybe put a second warning just in case... 🙂 for those blind people that just hit yes yes yes .. or maybe a text box that asks to put .... "YES I AM AWARE" etc ...

We lost NO data... but felt it was important to post here as it seemed way too easy to accidently just delete data...