Project

General

Profile

Feature #64410

Avatar?id=55038&size=22x22

Mention correct zdb cache path for non-boot pools in Guide

Added by Alex Rosenberg almost 3 years ago. Updated over 2 years ago.

Status:
Done
Priority:
No priority
Assignee:
Zackary Welch
Category:
Documentation
Target version:
Estimated time:
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:

Description

There are numerous duplicate (closed as NTBF) bugs of users trying to use zdb for a non-boot pool and getting an obtuse error. I just wasted 20m finding the solution (-U /data/zfs/zpool.cache <POOLNAME>).

This issue tracks eIther adding documentation on this topic, or patching zdb to know where to look by default on FreeNAS.


Related issues

Related to FreeNAS - Feature #21373: zdb and cache file clarity?Closed: Not To Be Fixed2017-02-22

History

#1 Updated by Dru Lavigne almost 3 years ago

#2 Updated by William Grzybowski almost 3 years ago

  • Category changed from OS to Documentation
  • Assignee changed from Release Council to Warren Block

Warren, given Alexander explanation in related ticket, it seems all we could do is document it somehow. Up to you.

#3 Updated by Warren Block almost 3 years ago

  • Assignee changed from Warren Block to Zackary Welch

#4 Avatar?id=55038&size=24x24 Updated by Zackary Welch almost 3 years ago

  • Status changed from Unscreened to Screened

I can verify this error. If 'zdb pool1' is ran, I get the error:

zdb: can't open 'pool1': No such file or directory

ZFS_DBGMSG(zdb):

And if the cache is specified with the '-U' flag, then the command runs as expected. Documentation should probably be added, although presently there is no mention of 'zdb' in freenas documentation.

#5 Avatar?id=55038&size=24x24 Updated by Zackary Welch over 2 years ago

  • Status changed from Screened to In Progress

#6 Updated by Dru Lavigne over 2 years ago

  • Subject changed from document or patch zdb for the correct cache path for non-boot pools to Mention correct zdb cache path for non-boot pools in Guide
  • Status changed from In Progress to Ready for Testing
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

#7 Updated by Dru Lavigne over 2 years ago

  • Target version changed from Backlog to 11.2-U3

#8 Avatar?id=55038&size=24x24 Updated by Zackary Welch over 2 years ago

  • Status changed from Ready for Testing to Passed Testing
  • Needs QA changed from Yes to No

#9 Updated by Dru Lavigne over 2 years ago

  • Status changed from Passed Testing to Done

Also available in: Atom PDF