>Number: 173298 >Category: bin >Synopsis: Splitted pool is not expandable >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Nov 02 19:10:00 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Dmitry Afanasiev >Release: FreeBSD 9.0-STABLE >Organization: >Environment: FreeBSD green 9.0-STABLE FreeBSD 9.0-STABLE #87: Wed Jun 20 11:20:29 MSK 2012 root@green:/usr/obj/usr/src/sys/green amd64
>Description: No way to expand pool after zpool split >How-To-Repeat: # dd if=/dev/zero of=/var/tmp/tank bs=1024k count=64 # dd if=/dev/zero of=/var/tmp/tank2 bs=1024k count=128 # zpool create tank /var/tmp/tank # zpool list tank NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT tank 59.5M 89.5K 59.4M 0% 1.00x ONLINE - # zpool attach tank /var/tmp/tank /var/tmp/tank2 Wait for resilvering to be complete # zpool split -o autoexpand=on tank tank2 /var/tmp/tank2 # zpool import -d /var/tmp tank2 # zpool list tank2 NAME SIZE ALLOC FREE CAP HEALTH ALTROOT tank2 59,5M 196K 59,3M 0% ONLINE - We have no way to expand pool tank2 Attach new device, set autoexpand property and then detach old device works properly: # zpool attach tank /var/tmp/tank /var/tmp/tank2 # zpool set autoexpand=on tank # zpool detach tank /var/tmp/tank # zpool list tank NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT tank 124M 133K 123M 0% 1.00x ONLINE - >Fix: >Release-Note: >Audit-Trail: >Unformatted: _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "[email protected]"
