unable to delete iscsi file extents

Description

I now have a problem with freenas that when i delete an iscsi target the extent gets left behind. This is resulting in wasted space with files that seem undeleteable. I have tried to remove the extent file via the shell but get errors there too.

There's a previously entered bug entry in redmine for this:

https://redmine.ixsystems.com/issues/76278

This appears tob e naother middleware issue...and i do not wish to run 12 beta on a production mahcine:

https://jira.ixsystems.com/browse/NAS-104191

Can we get this fix backported to 11.3u5?

Problem/Justification

None

Impact

None

SmartDraw Connector

Katalon Manual Tests (BETA)

Activity

Show:

William Warren August 31, 2020 at 5:42 PM

how about for 12.x betas?  I ahve had to move to them for other issues.

Bug Clerk August 13, 2020 at 11:25 PM

William Warren August 11, 2020 at 5:19 PM

oh what would be the syntax to get rid of the \testing extent on my 520?

William Warren August 11, 2020 at 5:16 PM
Edited

ok so i screwed up and used the \ instead of the / on the second server..let's see wht happens when i try to delete this extent via the web interface:
so the extent gets deleted in the wb interface..however it stil remains behind on the mahcine..even when told to delete it:
root@freenas:/mnt/Data # ls
\testing clones dcbackup ericb iocage iscsitesting Stuff testing
root@freenas:/mnt/Data # rm testing
root@freenas:/mnt/Data # ls
\testing clones dcbackup ericb iocage iscsitesting Stuff
root@freenas:/mnt/Data #

However I was able to get rid of it manually...which should not be necessary? also iscsitesting is another extent left behind when i deleted it from the webgui...so the middleware is not deleting extents correctly even without special characters.... I have deleted iscsitesting as well and all the other remnant targets and extents

William Warren August 11, 2020 at 5:03 PM

aha..the bug is still there. I created an extent using the above mentioned syntax.,,then deleted it inside the web gui...now i have the same issue on my local freenas:
root@freenas:~ # cd /mnt/Data
root@freenas:/mnt/Data # ls
\testing clones dcbackup ericb iscsitesting Stuff
root@freenas:/mnt/Data # rm /testing
rm: /testing: No such file or directory

Complete

Details

Assignee

Reporter

Impact

Medium

Fix versions

Affects versions

Priority

More fields

Katalon Platform

Created August 8, 2020 at 2:57 PM
Updated July 1, 2022 at 4:56 PM
Resolved August 13, 2020 at 11:25 PM