Globalsan iscsi initiator setup8/1/2023 ![]() ![]() Use jumbo frames, if possible to allow more data to be transferred in each Ethernet transaction to reduce the number of frames. Multiple connections per session (MCS) support allow multiple TCP/IP connections from the initiator to the target for the same iSCSI session.ĭeploy iSCSI devices in a fast (gigE or better), dedicated network. Review the following iSCSI recommendations before configuring iSCSI devices in your network.Ĭonsider using multipathed device paths for increased availability. Recommended iSCSI Configuration Practices ![]() You still have to create the disk and edit the iet.Which interfaces a specific iSCSI target will listen to. Then you can install the iscsi server by typing Download the repo file located at:ĭownload rpmorama.repo (right click and save as) Adding an unknown/untrusted repo may cause security issues.įor ease of use I have created a repository which can easily be added. Please note that this is a personal repo/service and as such is not maintained by Amahi. The instructions below are for your convenience only. Go to Start - Control Panel - click on Administrative tools. Use Win 7 ISCSI initiator to connect a ISCSI target Start/restart your ISCSI server Code= service iscsi-target restart Lun 0 Path=/var/hda/files/iscsi/disk.img,Type=fileio Leave everything as it is exept at the bottom we addĬode= Target :disk.img We have to edit the config file in /etc/iet/nf (use your favorite editor) Now if we look in /var/hda/files/iscsi/ we will find a file called disk.imgĬonfiguring the ISCSI server to serve your disk image You can name the disk.img whatever you want and the numbers behind seek is the size of the image disk which in our case is 250 gigs. The easiest way to get an ISCSI target is to create an image file.ĭd if=/dev/zero of=/var/hda/files/iscsi/disk.img bs=1M count=0 seek=256000 ![]() This should have now compiled and installed the ISCSI server on your Amahi box.Ĭonfiguration and creation of an ISCSI disk image Now we going to download the install script i wrote Yum install kernel-headers kernel-devel gcc Let amahi update whatever is necessary to avoid a kernel module error trying to start the ISCSI server. NOTE: As i have experienced myself it is a good idea to check if your updates are all done correctly. Log into your amahi box via ssh and become root The contents of this page have become outdated or irrelevant. Installing the ISCSI server on Fedora 14/Amahi 6 semi-automated Then configure Time Machine to use that disk and you're done! 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). I installed globalSAN iSCSI Initiator for OS X by Studio Network Solutions (free community supported) iSCSI client for OS X) on the Mac. You should see a new device, you can partition it nowĬreate LVM stuff if you want to, otherwise create the filesystem as you would normally do Quick how-to for connecting to iSCSI storage (implies that iscsi-initiator-utils are installed!): Start the iSCSI target daemon and make sure it starts at boot time: The LUN name: this is what the vendor usually provides -> lun1 Your domainname inverted: domain.your -> com.home 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.īelow how the name comes together, the parts are connected by dots, the lun name is separated by a colon.ĭate the LUN was created: year-month -> 2012-02 The below output shows my LV created for time machine (hence the name lvtime).Įxport the LV: add it to /etc/tgt/nf (note that there's a convention on how to export these!) Set up 1 Logical Volume (LV) that will be exported as an iSCSI LUN. Note that all actions must be done as user root. 4 Use Win 7 ISCSI initiator to connect a ISCSI target.3 Installing the ISCSI server on Fedora 14/Amahi 6 semi-automated. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |