Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

zpool autoexpand doesn't change size of pool

KMcGregorNov 24 2016 — edited Dec 6 2016

We have some old Solaris 10 servers (SunOS name 5.10 Generic_142909-17 sun4u sparc SUNW,Sun-Fire-V490) now connected to our new IBM SAN. These Solaris servers still have mostly UFS file systems. A while back, we added a new 2 TB LUN from the SAN to one of the servers and started using it as a zpool with one ZFS file system defined on it - really simple. It worked great!

Recently we found that 2 TB wasn't enough, so we extended the LUN from 2 TB to 3 TB. zpool listshowed

NAME         SIZE  ALLOC   FREE    CAP  HEALTH  ALTROOT
solarisSYS  1.98T  1.84T   146G    92%  ONLINE  -

...both before and after the LUN was extended, as one would expect. luxadm display now shows

# luxadm display /dev/rdsk/c4t600507640081017A080000000000004Dd0s2 
DEVICE PROPERTIES for disk: /dev/rdsk/c4t600507640081017A080000000000004Dd0s2
Vendor:               IBM
Product ID:           2145
Revision:             0000
Serial Num:           010020405e82XX00
Unformatted capacity: 3145728.000 MBytes
Read Cache:           Enabled
Minimum prefetch:   0x0
Maximum prefetch:   0x0
Device Type:          Disk device
Path(s): /dev/rdsk/c4t600507640081017A080000000000004Dd0s2 /devices/scsi_vhci/ssd@g600507640081017a080000000000004d:c,raw

The format command shows it as

16. c4t600507640081017A080000000000004Dd0 <IBM-2145-0000-3.00TB>

Various sources said to do these, which I did:

# zpool set autoexpand=on solarisSYS 
# zpool online -e solarisSYS c4t600507640081017A080000000000004Dd0
# zpool export solarisSYS
# zpool import solarisSYS
# zpool list solarisSYS
NAME         SIZE  ALLOC   FREE    CAP  HEALTH  ALTROOT
solarisSYS  1.98T  1.84T   146G    92%  ONLINE  -

Does autoexpand not work online/dynamically for our old version of Solaris? Or is there something else I can try? I'm trying to avoid a reboot!

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 3 2017
Added on Nov 24 2016
13 comments
2,203 views