Project

General

Profile

Actions

Bug #3558

closed

setting the volsize on a dump device does not return back ENOSPC

Added by Christopher Siden over 9 years ago. Updated over 9 years ago.

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

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

From George Wilson's bug report at Delphix:

If you try try set a dump device to be larger than the allowable space it fails
silently and reverts back to the original size. This is misleading since it
does not provide any information to the user about the failure:

delphix@gwilson110:~# zfs volsize=20g rpool/dump
delphix@gwilson110:~# zfs get volsize rpool/dump
NAME        PROPERTY  VALUE    SOURCE
rpool/dump  volsize   2G       local

Actions #1

Updated by Christopher Siden over 9 years ago

  • Status changed from In Progress to Closed
commit c61ea56
Author: George Wilson <george.wilson@delphix.com>
Date:   Wed Feb 20 22:50:16 2013

    3557 dumpvp_size is not updated correctly when a dump zvol's size is changed
    3558 setting the volsize on a dump device does not return back ENOSPC
    3559 setting a volsize larger than the space available sometimes succeeds
    3560 dumpadm should be able to remove a dump device
    Reviewed by: Adam Leventhal <ahl@delphix.com>
    Reviewed by: Matthew Ahrens <mahrens@delphix.com>
    Reviewed by: Christopher Siden <christopher.siden@delphix.com>
    Approved by: Albert Lee <trisk@nexenta.com>
Actions

Also available in: Atom PDF