Project

General

Profile

Bug #6866

zdb -l should return non-zero if it fails to find any label

Added by Yuri Pankov over 3 years ago. Updated over 2 years ago.

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

100%

Estimated time:
Difficulty:
Bite-size
Tags:

Description

Need this for #6865.

To be generally more scripting-friendly, overload this issue with adding '-q' option which should skip printing any label information.


Related issues

Related to illumos gate - Bug #8108: zdb -l fails to read labels 2 and 3Closed2017-04-25

Actions
Related to illumos gate - Bug #8352: stat(2) man page needs to describe difference between stat() and fstat() when working on character special filesNew2017-06-07

Actions
Blocks illumos gate - Feature #6865: want zfs-tests cases for zpool labelclear commandResolved2015-11-022015-11-02

Actions

History

#1

Updated by Yuri Pankov over 3 years ago

  • Blocks Feature #6865: want zfs-tests cases for zpool labelclear command added
#2

Updated by Electric Monk over 2 years ago

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

git commit 64723e361134b2a2c45341334174f9d34002f8d0

commit  64723e361134b2a2c45341334174f9d34002f8d0
Author: Yuri Pankov <yuri.pankov@nexenta.com>
Date:   2017-01-13T18:20:46.000Z

    6866 zdb -l should return non-zero if it fails to find any label
    Reviewed by: Matthew Ahrens <mahrens@delphix.com>
    Reviewed by: John Kennedy <john.kennedy@delphix.com>
    Approved by: Robert Mustacchi <rm@joyent.com>

#3

Updated by Marcel Telka over 2 years ago

  • Related to Bug #8108: zdb -l fails to read labels 2 and 3 added
#4

Updated by Yuri Pankov over 2 years ago

  • Related to Bug #8352: stat(2) man page needs to describe difference between stat() and fstat() when working on character special files added

Also available in: Atom PDF