danb35
Hall of Famer
- Joined
- Aug 16, 2011
- Messages
- 15,504
I'm running FreeNAS 9.2.1.5, having incrementally upgraded over the last couple of years from 8.something, and my zpool is nearing its capacity. Since I created the pool several versions ago, I'm getting the daily warning about 512-byte sector sizes on my 4096-byte-sector drives. I have a few drives on order to increase capacity, and I'm thinking the following procedure will get me running with a larger pool, proper sector size, no loss of data, and everything else working:
Does this make sense? Am I missing something in this plan?
- Create a new pool on the new disks, call it newpool for this example
- Replicate oldpool to newpool
- Detach oldpool, marking drives as new
- Using the ZFS volume manager, add the old drives to the new pool
- Either rename newpool to oldpool, or edit shares to point to the corresponding locations on newpool
Code:
# zfs send oldpool@last_auto_snapshot | zfs recv newpool
Does this make sense? Am I missing something in this plan?