Project

General

Profile

Bug #2748

ztest has unnecessary dependencies on its directory

Added by Bill Pijewski about 8 years ago. Updated almost 8 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
zfs - Zettabyte File System
Start date:
2012-05-17
Due date:
% Done:

0%

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

Description

The ztest utility (used to test the ZFS kernel module in userland, among other things) has an oddity which makes it difficult to use:

It assumes that, if running /usr/bin/amd64/ztest, that zdb must be present in /usr/sbin/amd64/zdb. Which makes sense, except that we (SmartOS) don't deliver ztest and zdb in our platform, rendering those tools useless unless they're delivered with the platform. In addition, ztest will dump core if it doesn't find zdb.

History

#1

Updated by Bill Pijewski about 8 years ago

In addition, I'll introduce the ZDB_PATH environment variable, which indicates to ztest where to find the zdb tool.

#2

Updated by hyy asd almost 8 years ago

[spam]

Also available in: Atom PDF