petasan deletes pool and data when deleting a secondary layout in a cephfs
ghbiz
76 Posts
March 30, 2024, 3:29 amQuote from ghbiz on March 30, 2024, 3:29 ampetasan deletes pool and data when deleting a secondary layout in a cephfs
to reproduce.
- create main cephfs file system with the default layout.
- create an additional layout and attach a data pool to it.
- delete the secondary layout you created in #2 above.
- 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.
petasan deletes pool and data when deleting a secondary layout in a cephfs
to reproduce.
- create main cephfs file system with the default layout.
- create an additional layout and attach a data pool to it.
- delete the secondary layout you created in #2 above.
- 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.
admin
2,930 Posts
March 30, 2024, 3:49 pmQuote from admin on March 30, 2024, 3:49 pm
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.
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.
ghbiz
76 Posts
March 30, 2024, 7:13 pmQuote from ghbiz on March 30, 2024, 7:13 pmyup, 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...
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...
petasan deletes pool and data when deleting a secondary layout in a cephfs
ghbiz
76 Posts
Quote from ghbiz on March 30, 2024, 3:29 ampetasan deletes pool and data when deleting a secondary layout in a cephfs
to reproduce.
- create main cephfs file system with the default layout.
- create an additional layout and attach a data pool to it.
- delete the secondary layout you created in #2 above.
- 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.
petasan deletes pool and data when deleting a secondary layout in a cephfs
to reproduce.
- create main cephfs file system with the default layout.
- create an additional layout and attach a data pool to it.
- delete the secondary layout you created in #2 above.
- 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.
admin
2,930 Posts
Quote from admin on March 30, 2024, 3:49 pm
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.
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.
ghbiz
76 Posts
Quote from ghbiz on March 30, 2024, 7:13 pmyup, 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...
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...