<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Shameer&#039;s Blog</title>
	<atom:link href="http://amshameer.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://amshameer.wordpress.com</link>
	<description>Linux sysadmin tips &#38; cPanel tips</description>
	<lastBuildDate>Sun, 21 Aug 2011 05:05:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='amshameer.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/6b8dd7106de1b4aa2d72168a0a1408e4?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Shameer&#039;s Blog</title>
		<link>http://amshameer.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://amshameer.wordpress.com/osd.xml" title="Shameer&#039;s Blog" />
	<atom:link rel='hub' href='http://amshameer.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Copy readonly or partially corrupted partition to New disk</title>
		<link>http://amshameer.wordpress.com/2010/07/13/copy-readonly-or-partially-corrupted-partition-to-new-disk/</link>
		<comments>http://amshameer.wordpress.com/2010/07/13/copy-readonly-or-partially-corrupted-partition-to-new-disk/#comments</comments>
		<pubDate>Tue, 13 Jul 2010 21:43:55 +0000</pubDate>
		<dc:creator>Shameer A M</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://amshameer.wordpress.com/?p=522</guid>
		<description><![CDATA[Please check the following URL  This will help us to copy one readonly or partially corrupted partition(even one partition is not enough) to another new harddisk of same as primay and copy the cotents. Click here.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=amshameer.wordpress.com&amp;blog=6229929&amp;post=522&amp;subd=amshameer&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Please check the following URL  This will help us to copy one readonly or partially corrupted partition(even one partition is not enough) to another new harddisk of same as primay and copy the cotents.</p>
<p><a class="alignleft" title="Click here." href="http://www.hantslug.org.uk/wiki/LinuxHints/OneDiskToAnother" target="_blank">Click here</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/amshameer.wordpress.com/522/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/amshameer.wordpress.com/522/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/amshameer.wordpress.com/522/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/amshameer.wordpress.com/522/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/amshameer.wordpress.com/522/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/amshameer.wordpress.com/522/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/amshameer.wordpress.com/522/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/amshameer.wordpress.com/522/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/amshameer.wordpress.com/522/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/amshameer.wordpress.com/522/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/amshameer.wordpress.com/522/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/amshameer.wordpress.com/522/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/amshameer.wordpress.com/522/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/amshameer.wordpress.com/522/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=amshameer.wordpress.com&amp;blog=6229929&amp;post=522&amp;subd=amshameer&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://amshameer.wordpress.com/2010/07/13/copy-readonly-or-partially-corrupted-partition-to-new-disk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e28aee05978ff96b09e1b12ec812cdcb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">shameer</media:title>
		</media:content>
	</item>
		<item>
		<title>Increase email per hour limit for one domain</title>
		<link>http://amshameer.wordpress.com/2010/06/17/increase-email-per-hour-limit-for-one-domain/</link>
		<comments>http://amshameer.wordpress.com/2010/06/17/increase-email-per-hour-limit-for-one-domain/#comments</comments>
		<pubDate>Thu, 17 Jun 2010 19:13:41 +0000</pubDate>
		<dc:creator>Shameer A M</dc:creator>
				<category><![CDATA[cPanel]]></category>
		<category><![CDATA[maxemails]]></category>
		<category><![CDATA[maximum mails per hour]]></category>

		<guid isPermaLink="false">http://amshameer.wordpress.com/?p=518</guid>
		<description><![CDATA[The maximum number of emails allowed for a particular domain can be changed to a different number than the system default using the file /var/cpanel/maxemails. Just want to add an entry like following for the domain domain.com = 1000 Execute the following script after updating the file /var/cpanel/maxemails to reflect the change. /scripts/build_maxemails_config<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=amshameer.wordpress.com&amp;blog=6229929&amp;post=518&amp;subd=amshameer&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div>
<div>
<p>The maximum number of emails allowed for a particular domain can be changed to a different number than the system default using the file <strong>/var/cpanel/maxemails. </strong></p>
<p>Just want to add an entry like following for the domain</p>
<p><strong>domain.com = 1000</strong></p>
<p>Execute the following script after updating the file /var/cpanel/maxemails to reflect the change.</p>
<p><strong>/scripts/build_maxemails_config</strong></p>
</div>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/amshameer.wordpress.com/518/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/amshameer.wordpress.com/518/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/amshameer.wordpress.com/518/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/amshameer.wordpress.com/518/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/amshameer.wordpress.com/518/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/amshameer.wordpress.com/518/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/amshameer.wordpress.com/518/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/amshameer.wordpress.com/518/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/amshameer.wordpress.com/518/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/amshameer.wordpress.com/518/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/amshameer.wordpress.com/518/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/amshameer.wordpress.com/518/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/amshameer.wordpress.com/518/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/amshameer.wordpress.com/518/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=amshameer.wordpress.com&amp;blog=6229929&amp;post=518&amp;subd=amshameer&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://amshameer.wordpress.com/2010/06/17/increase-email-per-hour-limit-for-one-domain/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e28aee05978ff96b09e1b12ec812cdcb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">shameer</media:title>
		</media:content>
	</item>
		<item>
		<title>Recovering data from a corrupted partition</title>
		<link>http://amshameer.wordpress.com/2010/06/17/recovering-data-from-a-corrupted-partition/</link>
		<comments>http://amshameer.wordpress.com/2010/06/17/recovering-data-from-a-corrupted-partition/#comments</comments>
		<pubDate>Thu, 17 Jun 2010 18:57:14 +0000</pubDate>
		<dc:creator>Shameer A M</dc:creator>
				<category><![CDATA[cPanel]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[corrupted partition]]></category>
		<category><![CDATA[Disaster recovery]]></category>

		<guid isPermaLink="false">http://amshameer.wordpress.com/?p=516</guid>
		<description><![CDATA[Assume /dev/sdb7 ( say the old home partition ) is the dead partition from which we want to recover data. This is the case where old /home partition is corrupted so that it can no more be mounted or rsynced. ddrescue -- tool to recover data from a dead disk 1. Download and install ddrescue [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=amshameer.wordpress.com&amp;blog=6229929&amp;post=516&amp;subd=amshameer&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<pre style="text-align:justify;">Assume /dev/sdb7 ( say the old home partition ) is the dead partition from
which we want to recover data. This is the case where old /home partition
is corrupted so that it can no more be mounted or rsynced.

ddrescue -- tool to recover data from a dead disk

1. Download and install ddrescue on the server.

wget <a href="http://ftp.gnu.org/gnu/ddrescue/ddrescue-1.3.tar.bz2" target="_blank">http://ftp.gnu.org/gnu/ddrescue/ddrescue-1.3.tar.bz2</a>
tar xjf ddrescue-1.3.tar.bz2
cd ddrescue-1.3
./configure
make
make install

2. Make sure /dev/sdb7 is not mounted and then run ddrescue to create a
disk image of it. Current /home should have enough space to hold the
backup.img file. It will be at least twice as big as the old home
partitions used disk space.

ddrescue /dev/sdb7 /home/backup.img

3. Once the image is created run fsck on it.

fsck -r -y /home/backup.img

4. Now mount the image on to the file system. Make sure to use '-o loop'
option with mount command as you are mounting a disk image, not a
physical partition.

mkdir /old-home
mount -o loop /home/backup.img /old-home/

5. Now you can find all data on the dead home partion under /old-home.

6. Now run the rsync command to get the files from old home partition.
rsync -vrplogDtH /old-home/* /home
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/amshameer.wordpress.com/516/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/amshameer.wordpress.com/516/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/amshameer.wordpress.com/516/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/amshameer.wordpress.com/516/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/amshameer.wordpress.com/516/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/amshameer.wordpress.com/516/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/amshameer.wordpress.com/516/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/amshameer.wordpress.com/516/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/amshameer.wordpress.com/516/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/amshameer.wordpress.com/516/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/amshameer.wordpress.com/516/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/amshameer.wordpress.com/516/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/amshameer.wordpress.com/516/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/amshameer.wordpress.com/516/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=amshameer.wordpress.com&amp;blog=6229929&amp;post=516&amp;subd=amshameer&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://amshameer.wordpress.com/2010/06/17/recovering-data-from-a-corrupted-partition/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e28aee05978ff96b09e1b12ec812cdcb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">shameer</media:title>
		</media:content>
	</item>
	</channel>
</rss>
