Project

General

Profile

Actions

Bug #14124

closed

ztest is looking for zdb in wrong directory

Added by Toomas Soome 8 months ago. Updated 7 months ago.

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

100%

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

Description

ztest does run zdband is attempting to start is from isa directory. Replace this by plain /usr/sbin.

Before patch:

tsoome@openindiana:~$ ztest
sh: /usr/sbin/amd64/zdb: not found [No such file or directory]
ztest: '/usr/sbin/amd64/zdb -bcc -G -d -U /tmp/zpool.cache -o zfs_reconstruct_indirect_combinations_max=65536 ztest' exit code 127
child exited with code 3

After patch:

tsoome@test:~$ ztest -VVVVV
5 vdevs, 7 datasets, 23 threads, 300 seconds...
Executing zdb -bccsv -G -d -U /tmp/zpool.cache -o zfs_reconstruct_indirect_combinations_max=65536 ztest
Dataset mos [META], ID 0, cr_txg 4, 568K, 57 objects
....

Actions #1

Updated by Electric Monk 8 months ago

  • Gerrit CR set to 1736
Actions #2

Updated by Toomas Soome 7 months ago

  • Description updated (diff)
Actions #3

Updated by Electric Monk 7 months ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100

git commit a0fbb7fb6838a78ac78444267878638832a983f3

commit  a0fbb7fb6838a78ac78444267878638832a983f3
Author: Toomas Soome <tsoome@me.com>
Date:   2021-10-15T21:33:08.000Z

    14124 ztest is looking for zdb in wrong directory
    14125 zfs-tests should be built 64-bit only
    Reviewed by: Yuri Pankov <ypankov@tintri.com>
    Reviewed by: Klaus Ziegler <klausz@haus-gisela.de>
    Approved by: Robert Mustacchi <rm@fingolfin.org>

Actions

Also available in: Atom PDF