Project

General

Profile

Bug #12764

Holes prevent TRIM

Added by Carsten Endres 7 days ago. Updated 3 days ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
zfs - Zettabyte File System
Start date:
Due date:
% Done:

90%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

Exactly what this ZoL bug states: https://github.com/openzfs/zfs/pull/10227

Added and later removed an SLOG.

Now I can't trim that pool anymore, but get the error message

"cannot remove hole: no such device in pool"

because ZFS apparently stumbles over the removed log device.

ZoL has a solution (linked above); the same could apply to illumos-ZFS.

History

#1

Updated by Carsten Endres 7 days ago

Bug encountered on OmniOS r34.

#2

Updated by Nick Ewins 6 days ago

  • Assignee set to Nick Ewins
#3

Updated by Nick Ewins 3 days ago

Tested to generate the error by creating a zpool and associated SLOG. Removing the SLOG and performing zpool trim <pool> generated the error as expected.

After the modification, further testing was performed. From there, removal of the SLOG and a zpool trim <pool> is completed successfully. The error message is no longer present.

#4

Updated by Nick Ewins 3 days ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 90

Also available in: Atom PDF