Project

General

Profile

Actions

Bug #437

open

zfs create -o volblocksize doesn't refreserve enough

Added by Richard Elling over 12 years ago. Updated over 12 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
-
Start date:
2010-12-04
Due date:
% Done:

0%

Estimated time:
Difficulty:
Tags:
Gerrit CR:
External Bug:

Description

CR6429996, zvols don't reserve enough space for requisite meta data
was integrated into ON b132. If a zvol is created using the "zfs -b blocksize"
option, then zfs_add_synthetic_resv() is called to increase the refreservation
to accomodate metadata needs as the pool fills.

However, if the file system is created using the "zfs -o volblocksize=XXX"
option, then zfs_add_synthetic_resv() is not called and the refreservation
is set to the same size as the zvol (volsize). In other words, the fix for
CR6429996 does not cover this case.

Workaround: use -b option to set blocksize when creating zvols.

For more discussion, see
http://www.nexentastor.org/boards/1/topics/1440

See also
http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6429996


Related issues

Is duplicate of illumos gate - Bug #430: zfs create -b and -o volblocksize produce inconsistent resultsNew2010-11-27

Actions
Actions #1

Updated by Albert Lee over 12 years ago

This is a dup of #430, although I'll leave open until I merge the info.

Actions

Also available in: Atom PDF