Difference between revisions of "Fedora Arm Secondary Architecture/Storage performance"

From CDOT Wiki
Jump to: navigation, search
(Initiator config)
(Initiator config)
Line 4: Line 4:
  
 
== Initiator config ==
 
== Initiator config ==
 +
 +
{{Admon/important|Kernel Update Needed|The current kernel does not support iSCSI transport.}}
  
 
Host is OpenRD
 
Host is OpenRD

Revision as of 17:13, 24 March 2010


iSCSI

Initiator config

Important.png
Kernel Update Needed
The current kernel does not support iSCSI transport.

Host is OpenRD

  1. Install the iscsi-initiator-utils package.
  2. Placed "InitiatorName=iqn.2000-10.ca.on.senecac.hongkong" in /etc/iscsi/initiatorname.iscsi
  3. Start the iscsi and iscsid services.
  4. Discover the remote targets: iscsiadm -m discovery -t sendtargets -p hongkong:3260
  5. List the targets: iscsiadm -m node -- the remote target(s) should be shown.
  6. Login to the targets: iscsiadm -m node -l
  7. You will now have an additional scsi disk device. Use this as one element of a RAID-1 array, using local storage (an LV or a looped-back file) as the other element.
  8. Mount the new RAID-1 array and create a filesystem on it. Place some files there.
  9. Unmount the filesystem, stop the array, log out of the iSCSI disk (iscsiadm -m node -u).
  10. Verify that the filesystem can be locally read on the machine hosting the target.

Target Config

  • Host is HongKong
  • IQN is "InitiatorName=iqn.2000-10.ca.on.senecac.hongkong"
  • Target is "target0" which is connected to the LV HongKong/arm1iscsi, size 2GB