OpenSolaris

Printable Version Enter a New Search
Bug ID 6366265
Synopsis attach/replace should allow a new device size at least the min of all devs in a mirror/raidz
State 10-Fix Delivered (Fix available in build)
Category:Subcategory kernel:zfs
Keywords
Responsible Engineer Lin Ling
Reported Against
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_31
Fixed In snv_31
Release Fixed solaris_nevada(snv_31)
Related Bugs 6347491 , 6368208
Submit Date 21-December-2005
Last Update Date 9-January-2006
Description
Schrock noticed that 

# mkfile 100m /disk/a
# mkfile 200m /disk/b
# mkfile 100m /disk/c
# zpool create -f foo mirror /disk/a /disk/b
# zpool replace foo /disk/b /disk/c
cannot replace /disk/b with /disk/c: /disk/c is too small

and verified with BillM that this should be allowed,
as long as the new device size is at least as big as
the minimum of all the devices in a mirror or raidz.
Work Around
N/A
Comments
N/A