<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>[ t h e f r a g g l e . c o m ] &#187; storage</title>
	<atom:link href="http://www.thefraggle.com/tag/storage/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thefraggle.com</link>
	<description>technology, photography and anything else that springs to mind.</description>
	<lastBuildDate>Tue, 22 Sep 2009 15:02:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>iSCSI quick-start guide.</title>
		<link>http://www.thefraggle.com/2009/09/14/iscsi-quick-start-guide/</link>
		<comments>http://www.thefraggle.com/2009/09/14/iscsi-quick-start-guide/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 14:19:00 +0000</pubDate>
		<dc:creator>Chris Ganderton</dc:creator>
				<category><![CDATA[]]></category>
		<category><![CDATA[disk]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[storage]]></category>

		<guid isPermaLink="false">http://www.thefraggle.com/?p=72</guid>
		<description><![CDATA[I had to configure an iSCSI target for testing purposes, the steps I followed are below.
This assumes that you have the tgtadm software installed, and that you are making use of LVM.
1. create the backing volume in lvm
we have one volume group, called vg01, if you want to see what volume groups you have available, [...]]]></description>
			<content:encoded><![CDATA[<p>I had to configure an iSCSI target for testing purposes, the steps I followed are below.</p>
<p>This assumes that you have the tgtadm software installed, and that you are making use of LVM.</p>
<h5>1. create the backing volume in lvm</h5>
<p>we have one volume group, called vg01, if you want to see what volume groups you have available, issue:</p>
<p style="padding-left: 30px;"><code>$ vgs<br />
VG   #PV #LV #SN Attr   VSize  VFree<br />
vg01   1   6   0 wz--n- 501G    295G</code></p>
<p>To create your volume, issue something like this:</p>
<p style="padding-left: 30px;"><code>$ lvcreate -L50G vg01 -n iscsiback01</code></p>
<p>Logical volume &#8220;iscsiback01&#8243; created</p>
<h5>2. set up the iSCSI target</h5>
<h6>2.1 create the iSCSI target</h6>
<p style="padding-left: 30px;"><code>$ tgtadm --lld iscsi --op new --mode target --tid 1 -T test-file01:storagetest</code></p>
<p>To verify this was created successfully:</p>
<p style="padding-left: 30px;"><code>$ tgtadm --lld iscsi --op show --mode target</code></p>
<p style="padding-left: 30px;"><code> Target 1: test-file01:storagetest<br />
System information:<br />
Driver: iscsi<br />
State: ready<br />
I_T nexus information:<br />
LUN information:<br />
LUN: 0<br />
Type: controller<br />
SCSI ID: deadbeaf1:0<br />
SCSI SN: beaf10<br />
Size: 0 MB<br />
Online: Yes<br />
Removable media: No<br />
Backing store: No backing store<br />
Account information:<br />
ACL information:<br />
</code></p>
<h6>2.2  Add a LUN to the target</h6>
<p style="padding-left: 30px;"><code>$ tgtadm --lld iscsi --op new --mode logicalunit --tid 1 --lun 1 -b /dev/vg01/iscsiback01</code></p>
<h6>2.3 Allow access to the new target</h6>
<p style="padding-left: 30px;"><code>$ tgtadm --lld iscsi --op bind --mode target --tid 1 -I ALL</code></p>
<p>Instead of using &#8220;ALL&#8221; you can specify addresses that you want to be allowed to access these LUNs.</p>
<h5>3. Set up an iSCSI initiator</h5>
<p>Lets assume that our iSCSI target server is sat on 192.168.10.1, on the initiator you need to issue the following to discover the targets on there</p>
<p style="padding-left: 30px;"><code>$ iscsiadm --mode discovery --type sendtargets --portal 192.168.10.1<br />
192.168.10.1:3260,1 test-file01:storagetest<br />
</code></p>
<p>Once you&#8217;ve done this log into the target session</p>
<p style="padding-left: 30px;"><code>$ iscsiadm --mode node --targetname test-file01:storagetest --portal 192.168.10.1:3260 --login</code></p>
<p>Once you&#8217;ve done this, the first LUN should be added as a new sdX device, &#8220;fdisk -l&#8221; should show this new disk, if not, restart the iscsi service on the initiator and then perform a partprobe.</p>
<p>If you add a new LUN to the target, you can always refresh your iscsi session to force it to show up:</p>
<p style="padding-left: 30px;"><code>$ iscsiadm -m session -R</code></p>
<p>It&#8217;s worth noting that this tool won&#8217;t save any of this configuration to a config file. I resorted to entering the commands above into /etc/rc.local to make sure they were run on boot. You also need to make sure that iscsid and tgtadm are set to start on boot, if you&#8217;re using RHEL or clone of that, a simple:</p>
<p style="padding-left: 30px;"><code><br />
$ chkconfig iscsid on<br />
$ chkconfig tgtadm on</code></p>
<p>Will do this for you, if you&#8217;re using debian:</p>
<p style="padding-left: 30px;"><code><br />
$ update-rc.d iscsid defaults<br />
$ update-rc.d tgtadm defaults</code></p>
<p>Should do the same.</p>
<p>See <a title="TGT Project" href="http://stgt.berlios.de/" target="_blank">http://stgt.berlios.de/</a> for more information about tgt</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thefraggle.com/2009/09/14/iscsi-quick-start-guide/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>cheap portable hard disks a go go</title>
		<link>http://www.thefraggle.com/2007/06/21/cheap-portable-hard-disks-a-go-go/</link>
		<comments>http://www.thefraggle.com/2007/06/21/cheap-portable-hard-disks-a-go-go/#comments</comments>
		<pubDate>Thu, 21 Jun 2007 18:35:57 +0000</pubDate>
		<dc:creator>Chris Ganderton</dc:creator>
				<category><![CDATA[General Life]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[Photography]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[Hard disk]]></category>
		<category><![CDATA[storage]]></category>
		<category><![CDATA[warehouseexpress]]></category>

		<guid isPermaLink="false">http://www.thefraggle.com/2007/06/21/cheap-portable-hard-disks-a-go-go/</guid>
		<description><![CDATA[I decided to buy a portable hard disk this week for my trip to germany, so that I can ensure I don&#8217;t run out of CF space.
It&#8217;s a vosonic vp2160, and at Â£109 for a 60gb model I&#8217;m pretty happy. It happily reads my CF card fresh from the camera, and copies over all the [...]]]></description>
			<content:encoded><![CDATA[<p>I decided to buy a portable hard disk this week for my trip to germany, so that I can ensure I don&#8217;t run out of CF space.</p>
<p>It&#8217;s a vosonic vp2160, and at Â£109 for a 60gb model I&#8217;m pretty happy. It happily reads my CF card fresh from the camera, and copies over all the images pretty speedily.</p>
<p>The interface is super simple and easy to use, it doesn&#8217;t play music or anything like that, but all I wanted it for was to store pictures on till I get home and can process the images.</p>
<p>The USB2.0 interface is speedy enough to copy over files i&#8217;ve copied to the disk, and also allows you to use the device as a CF/MMC/whatever reader for your PC, which is handy. It&#8217;s pretty handy too how you can charge the Li-ion battery via USB too (you have to plug two usb connectors into your pc, but that&#8217;s no biggie really)</p>
<p>What really impressed me the most, however, is how it actually seems to suggest you should be fine upgrading the hard disk at some point. They include (amongst the power adapter to charge it up and the install cd for win98 drivers etc) a mini screwdriver to uncouple the back off it, which reveals a bog standard fujitsu 2.5&#8243; hard disk. So if I decide 60gb isn&#8217;t enough in this little device I will be able to have a good go at upgrading the hard disk!.</p>
<p style="text-align: center"><img src="http://img.thefraggle.info/IMG_0471.JPG" alt="Vosonic VP2160" height="243" width="365" /></p>
<p>I also purchased a  Creative Zen Vision:M 30gb today too today to tide me for my trip to germany, but will druel more at that when it arrives tomorrow <img src='http://www.thefraggle.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.thefraggle.com/2007/06/21/cheap-portable-hard-disks-a-go-go/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
