Hey guys, I have a zpool built from iSCSI targets from several machines at present, i''m considering buying a 16 port SATA controller and putting all the drives into one machine, if i remove all the drives from the machines offering the iSCSI targets and place them into the 1 machine, connected via SATA, can i simply zpool import as they were previously iSCSI which is block level, or would it not work as there is some "special" things done previously by iSCSI? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20091120/57485192/attachment.html>
Michael wrote:> Hey guys, I have a zpool built from iSCSI targets from several > machines at present, i''m considering buying a 16 port SATA controller > and putting all the drives into one machine, if i remove all the > drives from the machines offering the iSCSI targets and place them > into the 1 machine, connected via SATA, can i simply zpool import as > they were previously iSCSI which is block level, or would it not work > as there is some "special" things done previously by iSCSI? > ------------------------------------------------------------------------ > > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >You should be just fine re-importing the drives. Naturally, you''ll need to reconfigure COMSTAR to export the iSCSI zvols in the correct groups, etc, but there should be no gotchas on the zpool import (of course, remember to zpool export from the original machines first as a good practice). -- Erik Trimble Java System Support Mailstop: usca22-123 Phone: x17195 Santa Clara, CA
Michael wrote:> Hey guys, I have a zpool built from iSCSI targets from several > machines at present, i''m considering buying a 16 port SATA controller > and putting all the drives into one machine, if i remove all the > drives from the machines offering the iSCSI targets and place them > into the 1 machine, connected via SATA, can i simply zpool import as > they were previously iSCSI which is block level, or would it not work > as there is some "special" things done previously by iSCSI? > ------------------------------------------------------------------------ > > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >One, thing, I forgot. If you DIDN''T use COMSTAR on the original machines to share the iSCSI zvol, and you plan on using COMSTAR on the new machine, you need to unset the ''shareiscsi'' property BEFORE you export them (or, after you import them, then reboot). This prevents a potential conflict between the old iSCSI implementation and COMSTAR. -- Erik Trimble Java System Support Mailstop: usca22-123 Phone: x17195 Santa Clara, CA
>>>>> "m" == Michael <michael.armstrong at gmail.com> writes:m> zpool built from iSCSI targets from several machines at m> present, i''m considering buying a 16 port SATA controller and m> putting all the drives into one machine, if i remove all the m> drives from the machines offering the iSCSI targets and place m> them into the 1 machine, on this list people have said COMSTAR puts a label at the beginning of the disk, so what''s on the disk and what it presents to iSCSI initiators differ by the offset of this label. Maybe you could work around it by figuring out the offset and writing a tweaked GPT label. For Linux IET, what''s presented to the iSCSI initiator and the disk itself are identical, so no problems. It depends on your iSCSI target software. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 304 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20091120/9d2dcc68/attachment.bin>