Migrating from smaller to larger disk
Learn something new every week.
I needed to migrate the rpool from a 30GB drive to the 300GB.
I found this link http://www.i-justblog.com/2009/07/zfs-tip-14-zfs-bootroot-mirroring.html that helped get the data over and I employed this after using the same method between just 2 drives. The issue I had was that the new drive only saw the same amount of space allocated even though the partition for root was 279.80GB. All of it wasn't being used.
Well after a couple of days of googling and trying to figure out how to resize the drive I found a discussion on it and the solution was to turn on zpool's autoexpand feature, zpool set autoexpand=on rpool, which I found the setting by using zpool get all rpool. According to the forum it was supposed to work on the fly. Well I saw no change so I rebooted and didn't see a change and ran zpool online -e rpool "device". I got an error that said that device didn't exist, I ran df -h and swa the size change,