r/sysadmin • • 7d ago

FlexProtectLin stuck at same “processed” count for 2.5+ days, across 3 separate job restarts — kernel threads stuck on lin_lock_get_locker — ideas?

Running a 32-node Dell PowerScale/Isilon cluster, OneFS 9.7.1.12, ~5.2PB. Two drives SmartFailed around the same time (different nodes, consolidated into one FlexProtectLin job by OneFS). The repair job has now stalled at exactly the same “processed” LIN count for 2.5+ days, across three separate job instances (cancelled and restarted fresh each time — same freeze point every time, ruling out corrupted job-state from a single bad restart).

What I’ve already ruled out:

  • Node/job-engine coordinator health (confirmed fine via isi job status)
  • Competing jobs stealing workers (paused everything else, no change)
  • Impact policy throttling (raised to HIGH, no change)
  • Stale SMB file handles holding locks (found and closed ~150 orphaned handles from an old git push — no change to the stall)
  • Cluster-reported pool imbalance (confirmed present on both affected pools, haven’t yet tried a dedicated rebalance pass)

What I’m seeing in procstat -akk across the cluster, sampled twice ~10+ minutes apart: a large number of isi_job_d worker threads consistently parked in sleepq_wait (untimed) inside lin_lock_get_locker → ifs_vnop_wraplock1 → vget → bam_vget_vp, identical stack, same PIDs/tids unmoved between samples. Some other threads show sleepq_timedwait inside bam_safe_write_region_swips/bam_safe_restripe (real restripe I/O happening), so the cluster isn’t fully dead — just this one job’s actual repair progress.

dmesg on the node hosting one of the two failed drives repeats this every few minutes, for several different LIN/snapid combinations:

_pctl2_start_restripe: Restripe already in progress for 2:eb54:5177::333280
_pctl2_start_restripe: Restripe already in progress for 2:e7ab:8437::333346
_pctl2_start_restripe: Restripe already in progress for 2:e4d3:c962::333084

No active Dell support contract currently. Has anyone seen this exact pattern — FlexProtectLin wedged indefinitely near completion, same LIN-lock stack trace cluster-wide — and found what actually released it? Trying to avoid a blind rolling reboot if there’s a known, more targeted fix.

7 Upvotes

7 comments sorted by

1

u/Optanik 5d ago

Same freeze point across three fresh job instances usually means one specific LIN whose lock never gets granted, not a job-engine problem. So the move is to find that LIN and whoever holds its lock, not to keep restarting the job.

  • Check the job engine logs (/var/log/isi_job_d.log on the nodes) around the stall time for the LIN or path it keeps retrying, then map it with isi get -L <lin> or isi get -D on the path.
  • Look for protocol locks on that file. Closing SMB handles won't clear NFS or NLM locks, so check isi nfs nlm locks list and isi smb openfiles list for anything that touches it.
  • The OneFS lock coordinator has sysctls under efs.lin.lock that show the oldest waiters and initiators. Run them with isi_for_array and see which node holds the locker everything is sleeping on. Exact names vary by release, so tab-complete or check the docs for 9.7.
  • That repeating dmesg on the node with the failed drive is suspicious. Run isi devices drive list on that node and confirm the drive actually finished SmartFail and isn't half-responsive, because a drive that still answers some I/O can hang a restripe on exactly one block. With two drives down at 5.2PB, I'd also have a Sev1 open with Dell. Avoid rebooting nodes to clear the locks until you know your protection level can tolerate it.

3

u/Firefox005 7d ago • Bravo

Running a 32-node Dell PowerScale/Isilon cluster, OneFS 9.7.1.12, ~5.2PB. [...] No active Dell support contract currently.

Yikes.

Are you sure the job has actually stalled, FlexProtect jobs can run for extremely long times. What other jobs are running on the cluster? How low are you on free space, there are certain 'high water marks' that progressively make OneFS run like dogshit. 80%, 92%, 93%, 95%. You can get into death spirals where it needs more free space to do housekeeping jobs like shadowstore deletes, autoblance, or flexprotect jobs.

In addition you are running the LIN based version, is your cluster all SSD's or are you using SSD's for metadata (NOT L3 cache), as the non-lin based jobs are actually more efficient.

2

u/Deep_Celery4379 7d ago

Thanks — that lin_based_jobs question turned out to be a real, concrete lead. Checked isi_gconfig -t job-config, found jobs.common.lin_based_jobs = Auto, with our SSDs confirmed configured as L3 cache (not dedicated metadata) — per Dell’s own docs, that combination should favor the non-LIN variant, but ours was clearly still running Lin.

Set it explicitly to False, cancelled the stuck job, and tried to start plain FlexProtect — turns out that job type is outright disabled on this cluster (Job 'FlexProtect' is disabled: Operation not permitted). Not sure yet why/when that got disabled. Had to fall back to starting FlexProtectLin again just to keep the drive repair active, since the cluster currently has two SmartFailed drives it needs to finish protecting.

So: config change made, but not actually tested yet, since we can’t currently run the variant it’s supposed to favor. Repair job is active again either way. Will report back once we sort out why FlexProtect is disabled and get a real test of whether the LIN/non-LIN distinction was actually the issue.

Update: Enabled FlexProtect via isi job types modify FlexProtect --enabled true, cancelled the auto-restarted FlexProtectLin job, and started non-LIN FlexProtect (Job 52223 — currently running in Phase 1/6). Monitoring it now to see if the block-based FlexProtect job clears the stall.

1

u/Deep_Celery4379 3d ago

Hey, just wanted to follow up and say thank you — your question about LIN vs non-LIN jobs and high-water marks pointed us in the right direction.

Turned out jobs.common.lin_based_jobs was set to Auto on our cluster, but our SSDs are L3-cache-only (not dedicated metadata), so per Dell KB 000212030 it should’ve been running plain FlexProtect instead of FlexProtectLin. We’d also had FlexProtect disabled cluster-wide from an earlier decision, so every protection job was defaulting to the LIN-based variant — which kept freezing at the exact same LIN count across multiple job restarts over several days.

Set lin_based_jobs to False, re-enabled the FlexProtect job type, and kicked off a fresh job. It ran clean for the first time — progressed past phases the LIN-based job never could, finished in about 3 days with zero errors, and both SmartFailed drives are now marked gone and ready for physical replacement.

Appreciate you taking the time to ask the right question — made all the difference. Thanks again!

1

u/[deleted] 6d ago

[removed] — view removed comment

1

u/Firefox005 5d ago

Other way around, the LIN based version runs faster if you have metadata (or all data) on SSD's L3 cache does not count.

1

u/redditusertk421 7d ago

Hello, data loss. Hope it wasn't important.