Project

General

Profile

Bug #6286

ZFS internal error when set large block on bootfs

Added by Matthew Ahrens almost 4 years ago. Updated almost 4 years ago.

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

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

  1. zfs set recordsize=1m rpool/boot/filesystem
    internal error: Argument out of domain
    Abort (core dumped)

zfs_check_settable() should return ERANGE, not EDOM; making this change gives us the correct error message:

  1. zfs set recordsize=1m rpool
    cannot set property for 'rpool': property setting is not allowed on bootable datasets

History

#1

Updated by Electric Monk almost 4 years ago

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

git commit 6de9bb5603e65b16816b7ab29e39bac820e2da2b

commit  6de9bb5603e65b16816b7ab29e39bac820e2da2b
Author: Matthew Ahrens <mahrens@delphix.com>
Date:   2015-10-09T17:53:56.000Z

    6286 ZFS internal error when set large block on bootfs
    Reviewed by: Paul Dagnelie <pcd@delphix.com>
    Reviewed by: George Wilson <george.wilson@delphix.com>
    Reviewed by: Andriy Gapon <avg@FreeBSD.org>
    Approved by: Robert Mustacchi <rm@joyent.com>

Also available in: Atom PDF