<?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>LINHOST.INFO &#187; Article</title>
	<atom:link href="http://linhost.info/category/article/feed/" rel="self" type="application/rss+xml" />
	<link>http://linhost.info</link>
	<description>For My Own Mental Health</description>
	<lastBuildDate>Thu, 17 May 2012 07:17:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Mount A Network Share In Linux / Ubuntu</title>
		<link>http://linhost.info/2012/05/mount-a-network-share-in-linux-ubuntu/</link>
		<comments>http://linhost.info/2012/05/mount-a-network-share-in-linux-ubuntu/#comments</comments>
		<pubDate>Thu, 17 May 2012 07:14:48 +0000</pubDate>
		<dc:creator>Luis Ventura</dc:creator>
				<category><![CDATA[Article]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://linhost.info/?p=13291</guid>
		<description><![CDATA[In this tutorial I will go over the steps need to mount a network share in Linux. The cifs-util suite is required in order to mount a network share, if the system you are working with lacks the suite this &#8230; <a href="http://linhost.info/2012/05/mount-a-network-share-in-linux-ubuntu/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div id="in_post_ad_right_1" style="float:right;margin: 5px;padding: 0px;"><center>
<script type="text/javascript"><!--
google_ad_client = "pub-4795077102761305";
/* 300x250, created 7/31/09 Custom */
google_ad_slot = "9198980942";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</center></div><p>In this tutorial I will go over the steps need to mount a network share in Linux. The <a href="http://wiki.samba.org/index.php/LinuxCIFS_utils">cifs-util</a> suite is required in order to mount a network share, if the system you are working with lacks the suite this tutorial also covers the installation of the same. Like always the tutorial assumes you have root access or similar.</p>
<h3>Create Mount Point</h3>
<p>For every network share you wish to mount you need to specify a mount point just like we do with hard drives and USB drives. I would recommend creating the mount point in the <strong>/mnt</strong> directory.</p>
<pre>mkdir /mnt/shares/share1</pre>
<h3>Install Cifs-util Suite</h3>
<p>If the system you are working with lacks the <strong>cifs-util</strong> it can be installed using the package manager for your distribution.</p>
<p>Ubuntu and Debian users can use apt-get.</p>
<pre>apt-get install cifs-util</pre>
<p>Scientific Linux and CentOS users can use yum. </p>
<pre>yum install cifs-utils</pre>
<h3>Mount Network Share With Credentials</h3>
<p>The basic command below will attempt to mount a network share with credentials, in this case the file server is a Windows Server 2003 and the client is a Ubuntu 12.04 server.</p>
<pre>mount.cifs //192.168.1.107/share1/ /mnt/shares/share1/ -o users=user1,password=user1</pre>
<p>Description:</p>
<ul>
<li><strong>mount.cifs</strong> &#8211; Mount using the CIFS</li>
<li><strong>//192.168.1.107/share1/</strong> &#8211; IP address or name of file server followed by the share name</li>
<li><strong>/mnt/shares/share1/</strong> &#8211; This is the mount point where our network share will reside</li>
<li><strong>-o users=user1,password=user1</strong> &#8211; This means options and in my case I am specifying the username and password to the share</li>
</ul>
<h3>Mount Public Share</h3>
<p>To mount a public share or one that doesn&#8217;t require a password is even easier. All you are required to specify is the server IP address, share and mount point.</p>
<pre>mount.cifs //192.168.1.107/share1/ /mnt/shares/share1/</pre>
<ul>
<li><strong>mount.cifs</strong> &#8211; Mount using the CIFS</li>
<li><strong>//192.168.1.107/share1/</strong> &#8211; IP address or name of file server followed by share name</li>
<li><strong>/mnt/shares/share1/</strong> &#8211; This is the mount point where our network share will reside</li>
</ul>
<h3>Mount Share At Boot</h3>
<p>Now that was easy, keep in mind that using the commands above will only result in the network shares being temporarily mounted, if the system were to be rebooted all mounted shares will be unmounted. If you would like to keep the network shares mounted even after a reboot you can acomplish this with the help of the <strong>fstab</strong> configuration file.</p>
<p>Add the following line to the bottom of your fstab configuration file. Modify to fit your needs.</p>
<pre>//192.168.1.129/share  /mnt/shares/share1  cifs  username=user1,password=user1  0  0</pre>
<h3>Conclusion</h3>
<p>Mount a network share in Linux doesn&#8217;t have to be a nightmare, as you saw above we are able to follow an organized process. I like it when there is minimal configuration files changes involved and the commands are easy to understand, as it was in the case for this tutorial. </p>
<p>Thank you for reading, if you have any input or comments use the comment section below.</p>
<div id="in_post_ad_bottom_1" style="clear:both;margin: 5px;padding: 0px;"><center>
<script type="text/javascript"><!--
google_ad_client = "pub-4795077102761305";
/* 300x250, created 7/31/09 Custom */
google_ad_slot = "9198980942";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</center></div><div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://linhost.info/2012/05/mount-a-network-share-in-linux-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install RPMforge In CentOS / Scientific Linux</title>
		<link>http://linhost.info/2012/05/install-rpmforge-in-centos-scientific-linux/</link>
		<comments>http://linhost.info/2012/05/install-rpmforge-in-centos-scientific-linux/#comments</comments>
		<pubDate>Tue, 15 May 2012 06:17:04 +0000</pubDate>
		<dc:creator>Luis Ventura</dc:creator>
				<category><![CDATA[Article]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[red hat]]></category>
		<category><![CDATA[scientific linux]]></category>

		<guid isPermaLink="false">http://linhost.info/?p=12885</guid>
		<description><![CDATA[What is RPMforge and why should I bother adding it ? RPMforge is a collaboration of Dag and other packagers. They provide over 5000 packages for CentOS, including wine, vlc, mplayer, xmms-mp3, and other popular media tools. It is not &#8230; <a href="http://linhost.info/2012/05/install-rpmforge-in-centos-scientific-linux/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div id="in_post_ad_right_1" style="float:right;margin: 5px;padding: 0px;"><center>
<script type="text/javascript"><!--
google_ad_client = "pub-4795077102761305";
/* 300x250, created 7/31/09 Custom */
google_ad_slot = "9198980942";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</center></div><p>What is RPMforge and why should I bother adding it ?</p>
<blockquote><p>RPMforge is a collaboration of Dag and other packagers. They provide over 5000 packages for CentOS, including wine, vlc, mplayer, xmms-mp3, and other popular media tools. It is not part of Red Hat or CentOS but is designed to work with those distributions.</p></blockquote>
<p>Third party repositories like RPMforge increase the amount of available software you can install with your distributions package manager. The instructions you are about to read are both applicable to CentOS and Scientific Linux.</p>
<h3>Install Wget</h3>
<p>First install Wget since it doesn&#8217;t come installed by default in most systems, Wget will be responsible for downloading the required .RPM file for the repository.</p>
<pre>yum install wget</pre>
<h3>Verify System Architecture</h3>
<p>RPMforge is available for 32-bit(i686) and 64-bit(x86_64) architectures, if you don&#8217;t know the architecture type of the system in which you are planning to install RPMforge you can use the uname command.</p>
<pre>uname -a</pre>
<pre>
Linux localhost.localdomain 2.6.32-220.el6.x86_64 #1 SMP Sat Dec 10 17:04:11 CST 2011 x86_64 x86_64 x86_64 GNU/Linux
</pre>
<h3>RPMForge Installation</h3>
<p>RPMforge for CentOS 6 and Scientific Linux 6 32-bit</p>
<pre>
cd /tmp/

wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm

rpm -ivh rpmforge-release-0.5.2-2.el6.rf.i686.rpm
</pre>
<p>RPMforge for CentOS 6 and Scientific Linux 6 64-bit</p>
<pre>
cd /tmp/

wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm

rpm -ivh rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
</pre>
<p>RPMforge for CentOS 5 and Scientific Linux 5 32-bit</p>
<pre>
cd /tmp/

wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm

rpm -ivh rpmforge-release-0.5.2-2.el5.rf.i386.rpm
</pre>
<p>RPMforge for CentOS 5 and Scientific Linux 5 64-bit</p>
<pre>
cd /tmp/

wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm

rpm -ivh rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm
</pre>
<h3>Try It</h3>
<p>RPMForge should help expand the amount of available software your installation can access when looking for a package to install.</p>
<pre>
[root@localhost tmp]# yum install lighttpd

Loaded plugins: security
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package lighttpd.x86_64 0:1.4.28-2.el6.rf will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==========================================================================================
 Package            Arch             Version                     Repository          Size
==========================================================================================
Installing:
 lighttpd           x86_64           1.4.28-2.el6.rf             rpmforge           706 k

Transaction Summary
==========================================================================================
Install       1 Package(s)

Total download size: 706 k
Installed size: 2.8 M
Is this ok [y/N]:
</pre>
<h3>Conclusion</h3>
<p>If you don&#8217;t like to install from source, then RPMForge is a must. Installation takes just a few minutes, but the convenience is worth it.</p>
<div id="in_post_ad_bottom_1" style="clear:both;margin: 5px;padding: 0px;"><center>
<script type="text/javascript"><!--
google_ad_client = "pub-4795077102761305";
/* 300x250, created 7/31/09 Custom */
google_ad_slot = "9198980942";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</center></div><div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://linhost.info/2012/05/install-rpmforge-in-centos-scientific-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cloning A Drive With EaseUS Disc Copy &#8211; Simple Cloning Utility</title>
		<link>http://linhost.info/2012/05/cloning-a-drive-with-easeus-disc-copy-simple-cloning-utility/</link>
		<comments>http://linhost.info/2012/05/cloning-a-drive-with-easeus-disc-copy-simple-cloning-utility/#comments</comments>
		<pubDate>Mon, 14 May 2012 05:16:20 +0000</pubDate>
		<dc:creator>Luis Ventura</dc:creator>
				<category><![CDATA[Article]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[cloning]]></category>

		<guid isPermaLink="false">http://linhost.info/?p=13149</guid>
		<description><![CDATA[EaseUS Disk Copy Home Edition is a simple cloning utility in the form of a Live CD. Disc Copy performs a sector by sector copy of the source drive and deposits the resulting data in to another drive, Sectory by &#8230; <a href="http://linhost.info/2012/05/cloning-a-drive-with-easeus-disc-copy-simple-cloning-utility/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div id="in_post_ad_right_1" style="float:right;margin: 5px;padding: 0px;"><center>
<script type="text/javascript"><!--
google_ad_client = "pub-4795077102761305";
/* 300x250, created 7/31/09 Custom */
google_ad_slot = "9198980942";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</center></div><p><a href="http://www.easeus.com/disk-copy/home-edition/">EaseUS Disk Copy Home Edition</a> is a simple cloning utility in the form of a Live CD. Disc Copy performs a sector by sector copy of the source drive and deposits the resulting data in to another drive, Sectory by sector copies are exact copies of the source drive resulting in an exact image. EaseUS Disk Copy interface is simple to understand, actually the user is presented with few options in regards to how the cloning will performed. EaseUS Disk Copy Home Edition is freely available to home users, business users need to purchase a license.</p>
<p>There a few limitations: </p>
<ol>
	 its not possible to clone the source drive into an image file for later transfer</li>
<p>	 free version has a 1TB drive limit.</li>
</ol>
<p>Consider using EaseUS Disk Copy if you need to migrate an operating system from a smaller drive over to a larger one. For this tutorial I will be cloning the contents of a 80GB drive over to a 120GB drive.</p>
<p>But before you can use start cloning you need need to download the <a href="http://www.easeus.com/disk-copy/home-edition/">EaseUS Disk Copy executable</a> which is responsible for creating either a Live CD, .ISO or bootable USB needed to start the application.<br />
<strong>Download:</strong> <a href="http://www.easeus.com/disk-copy/home-edition/">EaseUS_DiskCopy_Home.exe</a> </p>
<h3>Create USB, CD/DVD, Bootable ISO </h3>
<p>Run EaseUS_DiskCopy_Home.exe. Depending on your preferences you can choose to create either a bootable USB drive, .ISO file, or bootable DVD/DVD.</p>
<p><img src="https://lh4.googleusercontent.com/-yt7z1fowWCs/T6mmZmk0QSI/AAAAAAAADZo/PE9KsJiNLCg/s642/0.png" alt="" /></p>
<p>Depending on the system BIOS you need to boot in to either the <strong>CD/DVD Drive</strong> or <strong>Removable Devices</strong> which is another name for USB drive.</p>
<p><img src="https://lh6.googleusercontent.com/-dB3gPffsenk/T6mZ7DEcTBI/AAAAAAAADYA/LuJE2KpE7RI/s640/1.png" alt="" /></p>
<p>Choose <strong>Start Disk Copy</strong></p>
<p><img src="https://lh6.googleusercontent.com/-WZkml3Drzoc/T6mZ8Gqk3YI/AAAAAAAADYI/osp03N-xukc/s640/2.png" alt="null" /></p>
<p>Select <strong>Next</strong>.</p>
<p><img src="https://lh4.googleusercontent.com/-bLE-Fq9oiLA/T6mZ88UTD0I/AAAAAAAADYQ/6Be3hPabKG0/s640/3.png" alt="" /></p>
<p>You can decided what will be copied:</p>
<ul>
<li><strong>Disk Copy</strong> &#8211; Copies the entire drive</li>
<li><strong>Partition Copy</strong> &#8211; copies a single partition</li>
</ul>
<p>For most cases you should pick <strong>Disk Copy</strong>.</p>
<p><img src="https://lh5.googleusercontent.com/-MKfYMGiVYBY/T6mZ9q1dicI/AAAAAAAADYY/cUDog701140/s640/4.png" alt="" /></p>
<p>I wish to transfer the content of my 80GB drive over to the new 120GB, which is why I selected the 80GB drive as the source. Click on <strong>Next</strong> when ready.</p>
<p><img src="https://lh4.googleusercontent.com/-nS5cfw0p78w/T6mZ-f01KcI/AAAAAAAADYg/OJN9MqjJWwE/s640/5.png" alt="" /></p>
<p>The 120GB drive will be the destination. Click on <strong>Next</strong> when ready.</p>
<p><img src="https://lh6.googleusercontent.com/-c2duhB9F8qg/T6mZ_WaDy0I/AAAAAAAADYo/0SQ8k7_98XA/s640/6.png" alt="" /></p>
<p><strong>Task preview</strong> &#8211; this is where you review the changes that are about to be made. Click on <strong>Proceed</strong> when ready.</p>
<p><img src="https://lh4.googleusercontent.com/-Rw9XGBpnQLI/T6maAXBV7hI/AAAAAAAADYw/MDRETK5Li_U/s640/7.png" alt="" /></p>
<p>Make sure you are working with the right drives. Click on <strong>Yes</strong> if you are positive of the changes.</p>
<p><img src="https://lh4.googleusercontent.com/-EjF8fIO_l4I/T6maBpcYWlI/AAAAAAAADY4/KsB8_eSZ0JM/s640/8.png" alt="" /></p>
<p>Depending on the amount of data being handled the operation might take a while.</p>
<p><img src="https://lh6.googleusercontent.com/-O5tEnqe3ehM/T6maCnDaCOI/AAAAAAAADZA/eF_O2JCsMTk/s640/9.png" alt="" /></p>
<p>You can review the results if you like.</p>
<p><img src="https://lh4.googleusercontent.com/-hwrLOO1MA6s/T6maEKdiuBI/AAAAAAAADZI/WCNRH33YxVk/s640/10.png" alt="" /></p>
<p>With the cloning operation successfully completed you can click on <strong>Done</strong> or <strong>Quit</strong> to exit.</p>
<p><img src="https://lh4.googleusercontent.com/-XibvtB-8DrA/T6maFDnqfHI/AAAAAAAADZQ/On-v9cjL5yg/s640/11.png" alt="" /></p>
<p>When prompted click on <strong>Yes</strong> to reboot.</p>
<p><img src="https://lh6.googleusercontent.com/-0DSs6ItD1SQ/T6maGXDLM8I/AAAAAAAADZY/v6-2jOCl92E/s640/12.png" alt="" /></p>
<p>Now, make sure you remove the source drive and install the new drive in the same port where the previous was connected to.</p>
<h3>Conclusion</h3>
<p>If you need a some cloning utility then <a href="http://www.easeus.com/disk-copy/home-edition/">EaseUS Disk Copy Home Edition</a> is the answer, I don&#8217;t have much to say other than it works and is free for home users.</p>
<p><strong>Link:</strong> <a href="http://www.easeus.com/disk-copy/home-edition/">EaseUS.com</a></p>
<div id="in_post_ad_bottom_1" style="clear:both;margin: 5px;padding: 0px;"><center>
<script type="text/javascript"><!--
google_ad_client = "pub-4795077102761305";
/* 300x250, created 7/31/09 Custom */
google_ad_slot = "9198980942";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</center></div><div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://linhost.info/2012/05/cloning-a-drive-with-easeus-disc-copy-simple-cloning-utility/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configure Ubuntu To Serve As An iSCSI Target</title>
		<link>http://linhost.info/2012/05/configure-ubuntu-to-serve-as-an-iscsi-target/</link>
		<comments>http://linhost.info/2012/05/configure-ubuntu-to-serve-as-an-iscsi-target/#comments</comments>
		<pubDate>Thu, 10 May 2012 03:16:11 +0000</pubDate>
		<dc:creator>Luis Ventura</dc:creator>
				<category><![CDATA[Article]]></category>
		<category><![CDATA[iscsi]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://linhost.info/?p=13194</guid>
		<description><![CDATA[This tutorial will cover the required steps to configure a basic iSCSI Target on Ubuntu. The installation for this tutorial was performed on an Ubuntu 12.04 64-bit system, but the same configuration applies to Ubuntu 12.04-32bit. Before We Install Before &#8230; <a href="http://linhost.info/2012/05/configure-ubuntu-to-serve-as-an-iscsi-target/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div id="in_post_ad_right_1" style="float:right;margin: 5px;padding: 0px;"><center>
<script type="text/javascript"><!--
google_ad_client = "pub-4795077102761305";
/* 300x250, created 7/31/09 Custom */
google_ad_slot = "9198980942";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</center></div><p>This tutorial will cover the required steps to configure a basic iSCSI Target on Ubuntu. The installation for this tutorial was performed on an Ubuntu 12.04 64-bit system, but the same configuration applies to Ubuntu 12.04-32bit.</p>
<h3>Before We Install</h3>
<p>Before the target can be installed check to see of the system you are planning to run the target from is up to date.</p>
<pre>
sudo apt-get update
sudo apt-get upgrade
</pre>
<h3>Target Installation, Minimal Changes</h3>
<p>Proceed to install the iSCSI target(<em>iscsitarget</em>) along with <em>iscsitarget-source</em> and <em>iscsitarget-dkms</em>. </p>
<pre>
sudo apt-get install iscsitarget iscsitarget-source iscsitarget-dkms
</pre>
<p>If you don&#8217;t install the extra two packages you will be greeted with the following error every time you attempt to restart the target.</p>
<pre>
user@ubuntu:~$ sudo service iscsitarget restart
 * Removing iSCSI enterprise target devices:           [ OK ]
 * Starting iSCSI enterprise target service            FATAL: Module iscsi_trgt not found.
</pre>
<p>Next edit <em>/etc/default/iscsitarget</em>. Change the default value of <em>ISCSITARGET_ENABLE=false</em> over to <em>ISCSITARGET_ENABLE=true</em>. Not doing so will not allow the target to start.</p>
<pre>
sudo nano /etc/default/iscsitarget
</pre>
<pre>
ISCSITARGET_ENABLE=true
</pre>
<h3>Storage Creation</h3>
<p>When working with iSCSI you have to also think of LUN&#8217;s. This when you decide whether you want to use files or partitions when offering the targets storage to the iSCSI clients. For the tutorial I will be using files.</p>
<p>To create a file we can use dd to create and empty file that will grow once the users start storing file in it. The file weights 50GB.</p>
<pre>
dd if=/dev/zero of=/media/volume0/storlun0.bin count=0 obs=1 seek=50G
</pre>
<p>I want to store the resulting files in a different path than my home directory which is why I specified that the file be deposited at /media/volume0.</p>
<h3>Target Creation</h3>
<p>Configurations and targets we create can be found in the <em>/etc/iet/ietd.conf</em> configuration file.</p>
<pre>
sudo nano /etc/iet/ietd.conf
</pre>
<p>Scroll to the bottom of the configuration file and add:</p>
<pre>
Target iqn.2012-05.local.mynet:storage.sys0
        Lun 0 Path=/media/volume0/storlun0.bin,Type=fileio,ScsiId=lun0,ScsiSN=lun0
</pre>
<p>If you don&#8217;t want to use files you can also use partitions, just use <strong>Lun 0 Path=/dev/sdb1,Type=fileio</strong> instead.</p>
<p>The first line can be changed, but the second line specifies where the LUN actually is. If you want, you could create a second LUN using <strong>LUN 1 Path=/XXXX XXXX XXXX</strong> and expose a second iSCSI drive withing the same target, this assumes you have created a second storage file. </p>
<h3>Restart Target</h3>
<p>All that is left to do is restart the target with our changes.</p>
<pre>
sudo service iscsitarget restart
</pre>
<h3>Test The Target</h3>
<p>To test the target I will be using built-in Windows 7 iSCSI client(initiator) </p>
<p><img src="https://lh6.googleusercontent.com/-2nAchg79JU8/T6sp7_vLozI/AAAAAAAADZ0/msx_I_Oqou8/s512/widows_7_iscsi_initiator.png" alt="" /></p>
<p>Enter the IP address of the Ubuntu server and click on <strong>Quick Connect&#8230;</strong></p>
<p><img src="https://lh5.googleusercontent.com/-ZnHn_n5bc1s/T6sqzzhW6qI/AAAAAAAADZ8/rrDWNox9T6Y/s512/widows_7_iscsi_initiator_enter_ip.png" alt="" /></p>
<p>You are now connected, click on <strong>Done</strong>.</p>
<p><img src="https://lh3.googleusercontent.com/-WLXoxSNf1ew/T6svKnFFOjI/AAAAAAAADag/x26n-Zx1rLE/s512/heyhey1.png" alt="" /></p>
<p>Go over to <strong>Administrative Tools > Computer Management</strong>.</p>
<p><img src="https://lh5.googleusercontent.com/-NR9KtPV31fc/T6sskYmoxHI/AAAAAAAADaI/zfd-VUKhvr4/s512/windows_computer_management.png" alt="" /></p>
<p>On the left sidebar you should notice the <strong>Disk Management</strong> option.</p>
<p><img src="https://lh3.googleusercontent.com/-gQwRFWlgpXI/T6stsBcPXRI/AAAAAAAADaQ/EjmbU4Y2He4/s294/disk_management.png" alt="" /></p>
<p>Look for the iSCSI drive, for this tutorial we made a 50GB drive which is listed at the bottom. Here you can choose to format the drive if you like.</p>
<p><img src="https://lh6.googleusercontent.com/-x7gNbrsLN0M/T6stsMH6xCI/AAAAAAAADaU/N3gmABnQ-fY/s579/disk_management_list_drives.png" alt="" /></p>
<h3>Conclusion</h3>
<p>As you can see configuring an iSCSI target in Ubuntu doesn&#8217;t have to be complex. Keep in mind the above was just a basic installation, deploying iSCSI also brings other variables in to consideration such as security since the above configuration will all just about any one to connect to the target. Perhaps I should make another post about iSCSI best practices, thank you for reading.</p>
<p>If you have any questions or comments use the form below.</p>
<div id="in_post_ad_bottom_1" style="clear:both;margin: 5px;padding: 0px;"><center>
<script type="text/javascript"><!--
google_ad_client = "pub-4795077102761305";
/* 300x250, created 7/31/09 Custom */
google_ad_slot = "9198980942";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</center></div><div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://linhost.info/2012/05/configure-ubuntu-to-serve-as-an-iscsi-target/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configure A Software RAID1 Array In Linux</title>
		<link>http://linhost.info/2012/05/configure-a-software-raid1-array-in-linux/</link>
		<comments>http://linhost.info/2012/05/configure-a-software-raid1-array-in-linux/#comments</comments>
		<pubDate>Mon, 07 May 2012 09:00:29 +0000</pubDate>
		<dc:creator>Luis Ventura</dc:creator>
				<category><![CDATA[Article]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mdadm]]></category>
		<category><![CDATA[raid 1]]></category>

		<guid isPermaLink="false">http://linhost.info/?p=12747</guid>
		<description><![CDATA[Before we start you should know this tutorial assumes two things: First &#8211; System were MDADM will be running is up to date Second &#8211; Every step below will be performed with Root privileges or similar. How Many Drives Are &#8230; <a href="http://linhost.info/2012/05/configure-a-software-raid1-array-in-linux/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div id="in_post_ad_right_1" style="float:right;margin: 5px;padding: 0px;"><center>
<script type="text/javascript"><!--
google_ad_client = "pub-4795077102761305";
/* 300x250, created 7/31/09 Custom */
google_ad_slot = "9198980942";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</center></div><p>Before we start you should know this tutorial assumes two things:</p>
<ul>
<li>First &#8211; System were MDADM will be running is up to date</li>
<li>Second &#8211; Every step below will be performed with Root privileges or similar.</li>
</ul>
<h3>How Many Drives Are Available ?</h3>
<p>We need to list the available drives in the system we wish to create the array, this task can be accomplished with the <strong>ls</strong> command:</p>
<pre>ls /dev/sd*</pre>
<pre>user@ubuntu:~$ ls /dev/sd*
/dev/sda  /dev/sda1  /dev/sda2  /dev/sda5  /dev/sdb  /dev/sdc  /dev/sdd</pre>
<p>Listed are five drives, <strong>/sda /1 /2</strong> contain the Operating System, <strong>/sdb</strong> and <strong>/sdc</strong> are empty and will be used to create the RAID1 array, <strong>/sdd</strong> can be left alone or used as a hot-spare.</p>
<h3>Drive Prepartions</h3>
<p>First of all we should prepared the drives we want to include in the array, by preparing I am referring to partitioning each drive. For the purpose of partitioning we will be using a well known utility called fdisk. Repeat fdisk in every drive that will be part of the array, remember you will need to run the exact command and parameters. </p>
<p>I&#8217;ll do my best to guide you through the required steps to format a drive with fdisk.</p>
<pre>root@ubuntu:~# fdisk /dev/sdb

Command (m for help): n
Partition type:
   p   primary (0 primary, 0 extended, 4 free)
   e   extended
Select (default p): p
Partition number (1-4, default 1): 1
First sector (2048-251658239, default 2048):
Using default value 2048
Last sector, +sectors or +size{K,M,G} (2048-251658239, default 251658239):
Using default value 251658239

Command (m for help): t
Selected partition 1
Hex code (type L to list codes): fd
Changed system type of partition 1 to fd (Linux raid autodetect)

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.</pre>
<p><em>If you prefer a graphical interface, GParted is a good alternative to fdisk.</em></p>
<h3>Is MDADM Installed In The System?</h3>
<p>The answer is probably no!, if this is your case then I would recommend installing MDADM via the designated package manager for your Linux distribution.</p>
<p>For Red Hat and derivatives you can use yum.</p>
<pre>yum install mdadm</pre>
<p>Debian and derivatives you can use.</p>
<pre>apt-get install mdadm</pre>
<h3>Array Creation</h3>
<p>If you carefully look at the command below you can see the creation of the array, RAID level selected, and the devices to be included in the array.</p>
<pre>mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sdb1 /dev/sdc1</pre>
<ul>
<li>
<pre>/dev/md0</pre>
<p> &#8211; is the name of our array</li>
<li>
<pre>--level=1</pre>
<p> &#8211; equals RAID1 or mirror</li>
<li>
<pre>--raid-devices=2</pre>
<p> &#8211; means the amount of required drives</li>
</ul>
<p>You&#8217;ll be asked <em>Continue creating array?</em>, the answer is <strong>Yes</strong>.</p>
<p>Now we add the new array to the systems mdadm configuration file <strong>mdadm.conf</strong>.</p>
<pre>mdadm --detail –-scan >> /etc/mdadm.conf</pre>
<p>Monitor the creation or rebuilt process of the designated array.</p>
<pre>
root@ubuntu:~# mdadm --detail /dev/md0
/dev/md0:
        Version : 1.2
  Creation Time : Sun May  6 20:32:39 2012
     Raid Level : raid1
     Array Size : 125827000 (120.00 GiB 128.85 GB)
  Used Dev Size : 125827000 (120.00 GiB 128.85 GB)
   Raid Devices : 2
  Total Devices : 2
    Persistence : Superblock is persistent

    Update Time : Sun May  6 20:33:10 2012
          State : active, resyncing
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0

  Resync Status : 1% complete

           Name : ubuntu:0  (local to host ubuntu)
           UUID : 91f3904c:e3580ae7:a2b1cf77:b1be9efa
         Events : 1

    Number   Major   Minor   RaidDevice State
       0       8       17        0      active sync   /dev/sdb1
       1       8       33        1      active sync   /dev/sdc1
</pre>
<p>If you look at <em>Resync Status : 4% complete</em> is the status of our array,</p>
<p>You can also monitor all arrays within the system. I consider this to be a more elegant display.</p>
<pre>
root@ubuntu:~# cat /proc/mdstat
Personalities : [raid1]
md0 : active raid1 sdc1[1] sdb1[0]
      125827000 blocks super 1.2 [2/2] [UU]
      [>....................]  resync =  3.8% (4838272/125827000) finish=30.7min speed=65591K/sec

unused devices: <none>
</pre>
<p>Grab a cup of coffee or a beer it might take a while before the operation completes.</p>
<h3>Format The Array</h3>
<p>Now that our array is complete we format the volume. Format like you would format any other drive.</p>
<pre>mkfs -t ext3 /dev/md0</pre>
<h3>Mount The New Array</h3>
<p>If you want to make use of your new array which from now on we&#8217;ll call <strong>volume</strong> we need to mount it first. Create a directory where we can mount it.</p>
<pre>mkdir /media/volume0</pre>
<p>Now provide the path to the array and path to the directory we create in the previous step.</p>
<pre>mount /dev/md0 /media/volume0</pre>
<p>Make sure our user can access the partition, by giving ownership of the partition to our regular user. Otherwise you will have to be root to create anything. <strong>user:user</strong> will changing according to your system.</p>
<pre>
chown user:user /media/volume0/
</pre>
<p>Thanks to the df command we can see our RAID protected volume, check the bottom of the output.</p>
<pre>
user@ubuntu:~$ df -H
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1        54G  2.0G   49G   4% /
udev            186M  4.1k  186M   1% /dev
tmpfs            78M  308k   78M   1% /run
none            5.3M     0  5.3M   0% /run/lock
none            194M     0  194M   0% /run/shm
/dev/md0        127G  197M  121G   1% /media/volume0
</pre>
<p>However, if you want the volume to to survive a reboot you need to add the volume to the <strong>/etc/fstab</strong> configuration file. You can easily add the new array by making use of the <strong>echo</strong> command.</p>
<pre>echo '/dev/md0 /media/volume0 ext3 noatime,rw 0 0' >> /etc/fstab</pre>
<p>Let&#8217;s see if our new entry is in the <strong>/etc/fstab</strong> file.</p>
<pre>[root@iou ~]# cat /etc/fstab
#
# /etc/fstab
# Created by anaconda on Thu Mar 22 20:41:14 2012
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/VolGroup-lv_root /                       ext4    defaults        1 1
UUID=489ea666-1374-41ba-b4ef-725c04693437 /boot                   ext4    defaults        1 2
/dev/mapper/VolGroup-lv_swap swap                    swap    defaults        0 0
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0

/dev/md0 /media/volume0 ext3 noatime,rw 0 0
</pre>
<p>There it is, now our array should be mount it every time we start the system. If you have questions or suggestion on how this tutorial could be improved leave a comment below, thank you.</p>
<div id="in_post_ad_bottom_1" style="clear:both;margin: 5px;padding: 0px;"><center>
<script type="text/javascript"><!--
google_ad_client = "pub-4795077102761305";
/* 300x250, created 7/31/09 Custom */
google_ad_slot = "9198980942";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</center></div><div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://linhost.info/2012/05/configure-a-software-raid1-array-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Site Update: Domain Migration</title>
		<link>http://linhost.info/2012/05/site-update-domain-migration/</link>
		<comments>http://linhost.info/2012/05/site-update-domain-migration/#comments</comments>
		<pubDate>Mon, 07 May 2012 05:14:00 +0000</pubDate>
		<dc:creator>Luis Ventura</dc:creator>
				<category><![CDATA[Article]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[domain]]></category>
		<category><![CDATA[site]]></category>

		<guid isPermaLink="false">http://linhost.info/?p=13103</guid>
		<description><![CDATA[Just a heads up. I will be changing the domain registrar for Linhost.info from Go Daddy to Namecheap, if you notice any weird behavior then now you know the reason. One thing is clear, I won&#8217;t miss Go Daddy&#8217;s torturous &#8230; <a href="http://linhost.info/2012/05/site-update-domain-migration/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div id="in_post_ad_right_1" style="float:right;margin: 5px;padding: 0px;"><center>
<script type="text/javascript"><!--
google_ad_client = "pub-4795077102761305";
/* 300x250, created 7/31/09 Custom */
google_ad_slot = "9198980942";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</center></div><p>Just a heads up. I will be changing the domain registrar for Linhost.info from <a href="http://www.godaddy.com/">Go Daddy</a> to <a href="http://www.namecheap.com/">Namecheap</a>, if you notice any weird behavior then now you know the reason.</p>
<p>One thing is clear, I won&#8217;t miss Go Daddy&#8217;s torturous interface.</p>
<div id="in_post_ad_bottom_1" style="clear:both;margin: 5px;padding: 0px;"><center>
<script type="text/javascript"><!--
google_ad_client = "pub-4795077102761305";
/* 300x250, created 7/31/09 Custom */
google_ad_slot = "9198980942";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</center></div><div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://linhost.info/2012/05/site-update-domain-migration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mount exFAT Formatted Drives In Ubuntu</title>
		<link>http://linhost.info/2012/04/mount-exfat-formatted-drives-in-ubuntu/</link>
		<comments>http://linhost.info/2012/04/mount-exfat-formatted-drives-in-ubuntu/#comments</comments>
		<pubDate>Mon, 30 Apr 2012 08:43:39 +0000</pubDate>
		<dc:creator>Luis Ventura</dc:creator>
				<category><![CDATA[Article]]></category>
		<category><![CDATA[exfat]]></category>
		<category><![CDATA[fat]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://linhost.info/?p=12973</guid>
		<description><![CDATA[ExFAT is an abbreviation for Extended File Allocation Table a file system intended for use in flash drives, exFAT main advantage over the more tradditional FAT/FAT32 file system is that it can store files larger than 4GB. With the increase &#8230; <a href="http://linhost.info/2012/04/mount-exfat-formatted-drives-in-ubuntu/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div id="in_post_ad_right_1" style="float:right;margin: 5px;padding: 0px;"><center>
<script type="text/javascript"><!--
google_ad_client = "pub-4795077102761305";
/* 300x250, created 7/31/09 Custom */
google_ad_slot = "9198980942";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</center></div><p><a href="http://msdn.microsoft.com/en-us/library/aa914353.aspx">ExFAT</a> is an abbreviation for <strong>Extended File Allocation Table</strong> a file system intended for use in flash drives, exFAT main advantage over the more tradditional FAT/FAT32 file system is that it can store files larger than 4GB. With the increase in flash drive capacity FAT/FAT32 can be limiting. While exFAT sounds like the right solution it comes with inheret problems for users of Free Software such as Linux, you see exFAT is a file system created by and patented by Microsoft meaning that due to patents support for exFAT in Free Software is bound to be flaky.</p>
<p>ExFAT adoption is not a problem for the Windows platform: by Windows XP (SP2), Vista, and 7 are already support exFAT.</p>
<p>While not the best solution it is possible to mount exFAT formatted drives by using <a href="http://en.wikipedia.org/wiki/Filesystem_in_Userspace">FUSE</a> which is also an abbreviation for <strong>Filesystem in Userspace</strong>, <img src='http://linhost.info/log/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  .</p>
<p><img alt="" src="http://lh4.ggpht.com/_fF0LO28FGYY/TUj-W3hg3aI/AAAAAAAAC58/gN1FInARFL0/s800/Rally-DataTraveler.JPG" class="alignright" width="300" height="225" /></p>
<h3>Installation and Configuration</h3>
<p>Before you can make use of <strong>Fuse-exFAT</strong> you need to first install <strong>python-software-properties</strong> which includes <strong>add-apt-repository</strong>.</p>
<ul>
<li>This is required of you wish to continue with this tutorial, this package includes the tool needed to add the repository.</li>
<pre>sudo apt-get install python-software-properties</pre>
<li>Add the new PPA (http://pre.google.com/p/exfat/).</li>
<pre>sudo add-apt-repository ppa:relan/exfat</pre>
<li>Update the system.</li>
<pre>sudo apt-get update</pre>
<li>Install Fuse-exFAT</li>
<pre>sudo apt-get install fuse-exfat</pre>
<li>Create a directory where we can mount the drive.</li>
<pre>sudo mkdir /media/exfat</pre>
<li>Mount the drive and specify the file system used by the flash drive.</li>
<pre>mount -t exfat /dev/sdb1 /media/exfat</pre>
<li>Display the newly mounted exFAT drive.</li>
<pre>user@ubuntu:~$ df -H
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1        54G  1.8G   49G   4% /
udev            186M  4.1k  186M   1% /dev
tmpfs            78M  279k   78M   1% /run
none            5.3M     0  5.3M   0% /run/lock
none            194M     0  194M   0% /run/shm
/dev/sdb1        2.1G  525k  2.1G   1% /media/exfat</pre>
</ul>
<p>There you have it, it might not be pretty but it works.</p>
<div id="in_post_ad_bottom_1" style="clear:both;margin: 5px;padding: 0px;"><center>
<script type="text/javascript"><!--
google_ad_client = "pub-4795077102761305";
/* 300x250, created 7/31/09 Custom */
google_ad_slot = "9198980942";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</center></div><div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://linhost.info/2012/04/mount-exfat-formatted-drives-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>New Virtual Machines Available: Ubuntu 12.04 32-bit and 64-bit</title>
		<link>http://linhost.info/2012/04/new-virtual-machines-available-ubuntu-12-04-32-bit-and-64-bit/</link>
		<comments>http://linhost.info/2012/04/new-virtual-machines-available-ubuntu-12-04-32-bit-and-64-bit/#comments</comments>
		<pubDate>Mon, 30 Apr 2012 06:09:06 +0000</pubDate>
		<dc:creator>Luis Ventura</dc:creator>
				<category><![CDATA[Article]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[vm]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://linhost.info/?p=13010</guid>
		<description><![CDATA[Precise Pangolin or Ubuntu 12.04 is now available as a virtual machine. Like always the specs are: CPU: 1 Memory: 512 Disk Space: 50GB Networking: NAT &#124; Sound card: Enabled Compressed using 7-Zip Download from the links below: Ubuntu 12.04 &#8230; <a href="http://linhost.info/2012/04/new-virtual-machines-available-ubuntu-12-04-32-bit-and-64-bit/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div id="in_post_ad_right_1" style="float:right;margin: 5px;padding: 0px;"><center>
<script type="text/javascript"><!--
google_ad_client = "pub-4795077102761305";
/* 300x250, created 7/31/09 Custom */
google_ad_slot = "9198980942";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</center></div><p>Precise Pangolin or Ubuntu 12.04 is now available as a virtual machine. Like always the specs are: </p>
<ul>
<li>CPU: 1</li>
<li>Memory: 512</li>
<li>Disk Space: 50GB</li>
<li>Networking: NAT | Sound card: Enabled</li>
<li>Compressed using 7-Zip</li>
</ul>
<p>Download from the links below:</p>
<p><a href="http://linhost.info/downloads/Ubuntu%2012.04%20Server%2032-bit.7z" title="Ubuntu 12.04 Server 32-bit">Ubuntu 12.04 Server 32-bit &#8211; 382MB</a><br />
<a href="http://linhost.info/downloads/Ubuntu%2012.04%20Server%2032-bit.7z.md5" title=".MD5">.MD5</a><br />
<a href="http://linhost.info/downloads/Ubuntu%2012.04%20Server%2032-bit.7z.sha1" title=".SHA1">.SHA1</a></p>
<p><a href="http://linhost.info/downloads/Ubuntu%2012.04%20Server%2064-bit.7z" title="Ubuntu 12.04 Server 64-bit">Ubuntu 12.04 Server 64-bit &#8211; 377MB</a><br />
<a href="http://linhost.info/downloads/Ubuntu%2012.04%20Server%2064-bit.7z.md5" title=".MD5">.MD5</a><br />
<a href="http://linhost.info/downloads/Ubuntu%2012.04%20Server%2064-bit.7z.sha1" title=".SHA1">.SHA1</a></p>
<div id="in_post_ad_bottom_1" style="clear:both;margin: 5px;padding: 0px;"><center>
<script type="text/javascript"><!--
google_ad_client = "pub-4795077102761305";
/* 300x250, created 7/31/09 Custom */
google_ad_slot = "9198980942";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</center></div><div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://linhost.info/2012/04/new-virtual-machines-available-ubuntu-12-04-32-bit-and-64-bit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Roll Back A Problematic NVIDIA Driver</title>
		<link>http://linhost.info/2012/04/roll-back-a-problematic-nvidia-driver/</link>
		<comments>http://linhost.info/2012/04/roll-back-a-problematic-nvidia-driver/#comments</comments>
		<pubDate>Mon, 23 Apr 2012 05:04:51 +0000</pubDate>
		<dc:creator>Luis Ventura</dc:creator>
				<category><![CDATA[Article]]></category>
		<category><![CDATA[nvidia]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://linhost.info/?p=12858</guid>
		<description><![CDATA[Device driver or software driver are a must if you want to get the most out of what ever hardware you are using and in my case it happens to be a graphics card but this time updating to the &#8230; <a href="http://linhost.info/2012/04/roll-back-a-problematic-nvidia-driver/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div id="in_post_ad_right_1" style="float:right;margin: 5px;padding: 0px;"><center>
<script type="text/javascript"><!--
google_ad_client = "pub-4795077102761305";
/* 300x250, created 7/31/09 Custom */
google_ad_slot = "9198980942";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</center></div><p>Device driver or software driver are a must if you want to get the most out of what ever hardware you are using and in my case it happens to be a graphics card but this time updating to the latest driver released by NVIDIA resulted in an annoying problem. Whenever I play <a href="http://www.battlefieldbadcompany2.com/agegate">Battlefield 2 Bad Company</a> I sometimes get a black screen right when I am about to shoot some punk. <a href="http://www.nvidia.com/content/global/global.php">NVIDIA</a> drivers now support Braille ?. </p>
<p>In Windows rolling back to a previous driver version is surprisingly easy all you have to use is the <strong>Windows Device Manager</strong>. </p>
<p>As of this writing the latest driver for my NVIDIA 8800GTS graphics card is 296.10.</p>
<h3>Device Manager</h3>
<p>From Windows go to <strong>Start</strong> > <strong>Administrative Tools</strong> > <strong>Computer Management</strong> or go to <strong>Run</strong> and type <strong>compmgmt.msc</strong>.</p>
<p><img src="https://lh5.googleusercontent.com/-X0cVGjZodO4/T5TaXaUDjQI/AAAAAAAADVE/YI_bgA23YF8/s720/windows-device-manager.png" alt="" /></p>
<p>On the left sidebar search for and click on <strong>Device Manager</strong>. </p>
<p><img src="https://lh4.googleusercontent.com/-GuxE_QQlm_o/T5TWWlbxbQI/AAAAAAAADT8/uuOqoT6v76Y/s502/roll-back-nvidia1.png" alt="" /></p>
<p>Search for <strong>Display Adapters</strong> and <strong>right click</strong> on yours, click on <strong>Properties</strong>.</p>
<p><img src="https://lh6.googleusercontent.com/-3rLZnVh_tJw/T5TWX0cCYpI/AAAAAAAADUE/FiolyILjjOA/s620/roll-back-nvidia-2.png" alt="" /></p>
<p>Select the <strong>Driver</strong> tab.</p>
<p><img src="https://lh6.googleusercontent.com/-HY0mOG8LU4w/T5TWaS_gEII/AAAAAAAADUM/9zQzJqzZb-o/s481/roll-back-nvidia-3.png" alt="" /></p>
<p>Click on <strong>Roll Back Driver</strong>.</p>
<p><img src="https://lh6.googleusercontent.com/-fDrFEFfJCJM/T5TWb0C2FqI/AAAAAAAADUU/54hBMEingw0/s461/roll-back-nvidia4.png" alt="" /></p>
<p>In order to revert back to the old drive you have to click on <strong>Yes</strong>. Wait for the changes to take effect you might get a temporary black screen.</p>
<p><img src="https://lh5.googleusercontent.com/-eYqdNi2xtQU/T5TWcv1SlbI/AAAAAAAADUc/NIh4wjDJgWg/s366/roll-back-5.png" alt="" /></p>
<p>To see if the changes were successful check in the <strong>NVIDIA Control Panel</strong>.</p>
<p><img src="https://lh5.googleusercontent.com/-yijIn9muHtg/T5TfdbUbpEI/AAAAAAAADVQ/1PdqnGC6k2Q/s572/nvidia-system-information.png" alt="" /></p>
<div id="in_post_ad_bottom_1" style="clear:both;margin: 5px;padding: 0px;"><center>
<script type="text/javascript"><!--
google_ad_client = "pub-4795077102761305";
/* 300x250, created 7/31/09 Custom */
google_ad_slot = "9198980942";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</center></div><div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://linhost.info/2012/04/roll-back-a-problematic-nvidia-driver/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Securely Erase An Entire Drive With Shred</title>
		<link>http://linhost.info/2012/03/securely-erase-an-entire-drive-with-shred/</link>
		<comments>http://linhost.info/2012/03/securely-erase-an-entire-drive-with-shred/#comments</comments>
		<pubDate>Tue, 13 Mar 2012 03:17:40 +0000</pubDate>
		<dc:creator>Luis Ventura</dc:creator>
				<category><![CDATA[Article]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[shred]]></category>

		<guid isPermaLink="false">http://linhost.info/?p=12717</guid>
		<description><![CDATA[The reason why tools like Shred exist is because we don&#8217;t like the tough of our files ending in the hands of the wrong people and if it&#8217;s within our reach to prevent such an occurrence then why not take &#8230; <a href="http://linhost.info/2012/03/securely-erase-an-entire-drive-with-shred/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div id="in_post_ad_right_1" style="float:right;margin: 5px;padding: 0px;"><center>
<script type="text/javascript"><!--
google_ad_client = "pub-4795077102761305";
/* 300x250, created 7/31/09 Custom */
google_ad_slot = "9198980942";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</center></div><p>The reason why tools like <a href="http://www.gnu.org/software/coreutils/manual/html_node/shred-invocation.html">Shred</a> exist is because we don&#8217;t like the tough of our files ending in the hands of the wrong people and if it&#8217;s within our reach to prevent such an occurrence then why not take the steps.</p>
<p>Shred accomplishes its goal by repeatedly overwriting the target with specific data patterns in order to make recovery of the data contained within the drive impossible.</p>
<p>As long as the system can see the drive <strong>Shred</strong> should have no problem erasing the contents. Keep in mind that erasing a drive will take a considerable amount of time.</p>
<p>The simple version of shred would be.</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">shred /dev/sda2</pre></div></div>

<p>This would erase the second partition in /sda using default options.</p>
<p>But we are geeks and the defaults just wont do, if you like you can opt to use different parameters as explained below.</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">shred -fzv /dev/sdb</pre></div></div>

<p>f = If necessary override file permission and overwrite<br />
z = final overwrite with zeros to hide shredding process, you don&#8217;t want the drive to stand out<br />
v = Display operation progress</p>
<p>By default Shred will overwrite the target three times if you think the default is too much or too little you can change the default by adding the <strong>-n #</strong> parameter to change the overwrite amount.</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">shred -fzv -n 1 /dev/sdb</pre></div></div>

<p>Shred will not save you from the <a href="http://xkcd.com/538/">XKCD five dollar wrench</a> recovery method.</p>
<p><img src="http://imgs.xkcd.com/comics/security.png" alt="XKCD Five Dollar Wrench" /></p>
<div id="in_post_ad_bottom_1" style="clear:both;margin: 5px;padding: 0px;"><center>
<script type="text/javascript"><!--
google_ad_client = "pub-4795077102761305";
/* 300x250, created 7/31/09 Custom */
google_ad_slot = "9198980942";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</center></div><div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://linhost.info/2012/03/securely-erase-an-entire-drive-with-shred/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

