Changes

From Amahi Wiki
Jump to: navigation, search
1,008 bytes added ,  13:22, 9 February 2012
no edit summary
= Client side =
quick how-to for connecting to iSCSI storage:scan for new LUNs:{{Code|root@host# iscsiadm -m discovery -t sendtargets -p <NAS IP>}} login and make the connection persistent{{Code|root@host# iscsiadm -m node -T iqn.2012-02.<domain>.<your>:<LUNname> -p <NAS IP> -l}} you should see a new device, you can partition it now{{Code|root@host# fdisk /dev/<new device>root@host# partprobe /dev/<new device>}} Create LVM stuff if you want to, otherwise create the filesystem as you would normally do The name convention for iSCSI LUNs is usually as follows but a vendor can change it at will, it's a convention not a requirement. Below how the name comes together, the parts are connected by dots, the lun name is separated by a colon.fixed data: iqn -> iqndate the LUN was created: year-month -> 2012-02your domainname inverted: domain.your -> com.homethe LUN name: this is what the vendor usually provides -> lun1 so that would make the following target:iqn.2012-02.com.home:lun1 For the Apple iMac I installed [http://www.studionetworksolutions.com/products/product_detail.php?pi=11 globalSAN iSCSI Initiator] for OS X by Studio Network Solutions (free community supported) iSCSI client for OS X) on the Mac.
I configured it to "see" the iSCSI lun (just type in the iqn IIRC); since it's presented to the OS as a normal disk you need to partition the drive first (it's a blank disk as far as the Mac is concerned). Then configure Time Machine to use that disk and you're done!
33

edits