BitShop, Inc. Ashburn, VA(703) 940-6703 Fax:(703) 563-3826
EMail Us
BitShop abides by: the Rotary International Four Way Test - Find out what that means..
To navigate our site click the menu at the top.
Written by:Steve Radich - Founder BitShop, Inc.1/21/2010 7:49 AM
Sometimes you may need to move your iSCSI targets to a different storage pool. The process is actually quite painless..
zfs send/receive the zvol (assuming a zvol backing store)
List view output for target to migrate:
65B37945E2A9B77A96D94D1E89E23FEF View Entry: 0 Host group : vbox Target group : owndirtest2 LUN : 1 Operational Status: Online Data File : /dev/zvol/rdsk/tank1/iscsi/customers/.../.../Data Writeback Cache : Enabled
Now delete the logical unit and keep the views, then recreate:
bitshop@zfs:/# stmfadm delete-lu -k 65B37945E2A9B77A96D94D1E89E23FEF bitshop@zfs:/# stmfadm create-lu --lu-prop guid=65B37945E2A9B77A96D94D1E89E23FEF /dev/zvol/rdsk/tankmir1/iscsi/customers/.../..../Data Logical unit created: 65B37945E2A9B77A96D94D1E89E23FEF
In our case we were moving from a RaidZ1 to a mirrored pool.
0 comment(s) so far...
All servers Operational
REGISTER for FREE tips related to your small business, web sites, computers, and web 2.0 marketing. We won't sell your name and there's no cost.
Find more about our founder
Steve Radich: