Project

General

Profile

Bug #26547

Don't run scrub if the pool is unlocked or not online

Added by John Smith over 1 year ago. Updated 10 months ago.

Status:
Done
Priority:
Important
Assignee:
Brandon Schneider
Category:
Middleware
Target version:
Seen in:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

FreeNAS tries to periodically (according to schedule) scrub all pools including encrypted ones, even if they are not mounted.

1. There's no consideration in situations where the encrypted pool(s) is not mounted during the scrub schedule. FN tries to scrub an unmounted pool and produces some errors:

cannot open 'enc1': no such pool
cannot open 'enc1': no such pool
skipping scrubbing of pool 'enc1':
can't get last scrubbing date

2. After the above happens, FN won't try to scrub the encrypted pool until the next schedule (regardless of if/when it's mounted again). This means the pool can be (at best) left without scrubbing for quite a while.

On a side note, I suggest to add a "Not Sure" Category for when opening new tickets.

Associated revisions

Revision c3e10416 (diff)
Added by Brandon Schneider about 1 year ago

fix(scrub): Don't run if the pool is not online or unlocked

Ticket: #26547

Revision 30540bb0 (diff)
Added by Brandon Schneider about 1 year ago

fix(scrub): Don't run if the pool is not online or unlocked

Ticket: #26547

Revision f7c300a2 (diff)
Added by Brandon Schneider about 1 year ago

fix(scrub): Don't run if the pool is not online or unlocked (#924)

Ticket: #26547

Revision 9a2b375f (diff)
Added by Dru Lavigne 12 months ago

Note that pool must be available to be scrubbed. While here, fix a typo.
Ticket: #26547

Revision 94bdac92 (diff)
Added by Dru Lavigne 12 months ago

Note that pool must be available to be scrubbed. While here, fix a typo.
Ticket: #26547

History

#1 Updated by Bonnie Follweiler over 1 year ago

  • Assignee changed from Release Council to William Grzybowski

#2 Updated by William Grzybowski over 1 year ago

  • Assignee changed from William Grzybowski to Bartosz Prokop
  • Target version set to 11.2-BETA1

#3 Updated by Bartosz Prokop over 1 year ago

  • Status changed from Unscreened to Screened

#4 Updated by Bartosz Prokop over 1 year ago

  • Priority changed from No priority to Important

#5 Avatar?id=14398&size=24x24 Updated by Kris Moore over 1 year ago

  • Target version changed from 11.2-BETA1 to 11.3

#6 Avatar?id=14398&size=24x24 Updated by Kris Moore about 1 year ago

  • Status changed from Screened to Not Started

#7 Updated by William Grzybowski about 1 year ago

  • Assignee changed from Bartosz Prokop to Brandon Schneider

Load balancing Bartosz tickets.

#8 Updated by Brandon Schneider about 1 year ago

  • Status changed from Not Started to In Progress

#9 Updated by Dru Lavigne about 1 year ago

  • Subject changed from Scrub of unmounted encrypted pools to Don't run scrub if the pool is unlocked or not online
  • Target version changed from 11.3 to 11.2-BETA1

#10 Updated by Brandon Schneider about 1 year ago

  • Status changed from In Progress to Done
  • Needs Merging changed from Yes to No

#11 Updated by Dru Lavigne 12 months ago

  • Status changed from Done to Ready for Testing

#12 Updated by Dru Lavigne 12 months ago

  • Severity set to New
  • Needs Doc changed from Yes to No

#13 Updated by Bonnie Follweiler 10 months ago

  • Status changed from Ready for Testing to Passed Testing

I left a pool encrypted. I got the following email over the weekend
"mini_me is not decrypted, skipping scrub."

#14 Updated by Bonnie Follweiler 10 months ago

  • Needs QA changed from Yes to No

#15 Updated by Dru Lavigne 10 months ago

  • Status changed from Passed Testing to Done

Also available in: Atom PDF