Project

General

Profile

Bug #7857

zfs/zpool commands print scary errors after 7741

Added by Andrew Stormont about 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2017-02-13
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

After 7741 get_zfs_dataset() tries to guess the name of the dataset that the given path resides on. When it gets this wrong errors are printed to sterr which can be misleading.

cannot open 'storage/pool0/test': dataset does not exist

Related issues

Related to illumos gate - Bug #7741: get_zfs_dataset() takes an unreasonable amount of timeClosed2017-01-06

Actions
Related to illumos gate - Bug #7890: degradation afte 7741: 'zfs set sharesmb=name=test,guestok=true rpool/test' produce message with 'cannot open 'var/smb/cvol': dataset does not exist'Rejected2017-02-19

Actions

History

#1

Updated by Andrew Stormont about 2 years ago

  • Related to Bug #7741: get_zfs_dataset() takes an unreasonable amount of time added
#2

Updated by Andrew Stormont about 2 years ago

  • Description updated (diff)
#3

Updated by Electric Monk about 2 years ago

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

git commit ff524b2355c0ac08bf963297ae8e5ea2e8375852

commit  ff524b2355c0ac08bf963297ae8e5ea2e8375852
Author: Andrew Stormont <astormont@racktopsystems.com>
Date:   2017-02-19T17:56:04.000Z

    7857 zfs/zpool commands print scary errors after 7741
    7887 get_zfs_dataset() optimised path leaks zfs handle
    Reviewed by: Sam Zaydel <szaydel@racktopsystems.com>
    Reviewed by: Matthew Ahrens <mahrens@delphix.com>
    Approved by: Richard Lowe <richlowe@richlowe.net>

#4

Updated by Marcel Telka about 2 years ago

  • Related to Bug #7890: degradation afte 7741: 'zfs set sharesmb=name=test,guestok=true rpool/test' produce message with 'cannot open 'var/smb/cvol': dataset does not exist' added

Also available in: Atom PDF