Project

General

Profile

Bug #6391

Override default SPA config location via environment

Added by Richard Yao about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
zfs - Zettabyte File System
Start date:
2015-10-24
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage

Description

When using zdb with non-default SPA config file it is not convenient
to add -U <non-default-config-file-path> all the time. This commit
introduces support for setting/overriding SPA config location via
environment variable 'SPA_CONFIG_PATH'.

If -U flag is specified in the command line it will override any other
value as usual.

https://github.com/zfsonlinux/zfs/commit/64d7b6cf75e52a4698d9bdec61745573c39d2e5a

Reviewed by: Brian Behlendorf <>
Reviewed by: Richard Yao <>
Reviewed by: Matthew Ahrens <>

History

#1

Updated by Electric Monk about 4 years ago

  • % Done changed from 0 to 100
  • Status changed from New to Closed

git commit ae24175b2b25e9fb4bfd9ac0648b57e0735b6651

commit  ae24175b2b25e9fb4bfd9ac0648b57e0735b6651
Author: Cyril Plisko <cyril.plisko@mountall.com>
Date:   2015-11-02T17:56:18.000Z

    6391 Override default SPA config location via environment
    Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov>
    Reviewed by: Richard Yao <ryao@gentoo.org>
    Reviewed by: Matthew Ahrens <mahrens@delphix.com>
    Reviewed by: Will Andrews <will@freebsd.org>
    Reviewed by: George Wilson <george.wilson@delphix.com>
    Approved by: Robert Mustacchi <rm@joyent.com>

Also available in: Atom PDF