Project

General

Profile

Actions

Bug #430

open

zfs create -b and -o volblocksize produce inconsistent results

Added by Albert Lee almost 11 years ago. Updated almost 11 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
cmd - userland programs
Start date:
2010-11-27
Due date:
% Done:

0%

Estimated time:
Difficulty:
Tags:
Gerrit CR:

Description

libzfs fails to look for a string value for ZFS_PROP_VOLBLOCKSIZE in several places, so only -b should work correctly. However, -b creates volumes with the wrong size while -o volblocksize volumes have the right size.

From IRC:

zfs create -b 512 -o dedup=off -o compression=off -o logbias=latency -o sync=standard -o copies=1 -V 50GB tank/test512minusb
zfs create -V 50GB -o dedup=off -o compression=off -o logbias=latency -o sync=standard -o copies=1 -o volblocksize=512 tank/test512volblocksize

tank/test512minusb         75.2G   831G  23.9K  -
tank/test512volblocksize         51.6G   808G  23.9K  -


Related issues

Has duplicate illumos gate - Bug #437: zfs create -o volblocksize doesn't refreserve enoughNew2010-12-04

Actions
Actions

Also available in: Atom PDF