Iscsi - target and initiator setup debian: Difference between revisions
Jump to navigation
Jump to search
(Created page with "Category:Linux == iSCSI - target (server) setup == We'll use tgt to handle everything dynamically == iSCSI - initiator (client) setup == Link to page: <pre> http://isc...") |
No edit summary |
||
Line 11: | Line 11: | ||
http://iscsitargetandinitiator.blogspot.dk/ |
http://iscsitargetandinitiator.blogspot.dk/ |
||
</pre> |
</pre> |
||
== Re-adding LVM based iscsi disks after reboot == |
|||
Requires a change in how LVM 'attaches' to disks. |
|||
So if you've added say /dev/sdb to be a complete iscsi device and on the initiator using it as a LVM, it does not attach itself to the target on reboot. |
|||
Edit /etc/lvm/lvm.conf and change: |
|||
<pre> |
|||
# By default we accept every block device: |
|||
#filter = [ "a/.*/" ] |
|||
# Every block device except /dev/sdb, that is. |
|||
filter = [ "r|/dev/sdb|" ] |
|||
</pre> |
|||
More info here: http://www.sysarchitects.com/iscsi_target_on_rhel6 |
Revision as of 21:46, 15 November 2012
iSCSI - target (server) setup
We'll use tgt to handle everything dynamically
iSCSI - initiator (client) setup
Link to page:
http://iscsitargetandinitiator.blogspot.dk/
Re-adding LVM based iscsi disks after reboot
Requires a change in how LVM 'attaches' to disks.
So if you've added say /dev/sdb to be a complete iscsi device and on the initiator using it as a LVM, it does not attach itself to the target on reboot.
Edit /etc/lvm/lvm.conf and change:
# By default we accept every block device: #filter = [ "a/.*/" ] # Every block device except /dev/sdb, that is. filter = [ "r|/dev/sdb|" ]
More info here: http://www.sysarchitects.com/iscsi_target_on_rhel6