<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1626133471698349938</id><updated>2026-04-08T14:35:28.894+05:30</updated><category term="Linux"/><category term="Quick HOWTO"/><category term="Windows"/><category term="AIX"/><category term="HP-UX"/><category term="Tips"/><category term="Videos"/><category term="Solutions"/><category term="LVM"/><category term="SSH"/><category term="scripts"/><category term="Booting"/><category term="SAN"/><category term="Clusters"/><category term="VMware"/><category term="Hardware"/><category term="Notes"/><category term="Suse Linux"/><category term="Active Directory"/><category term="Multipathing"/><category term="SSL"/><category term="Solaris"/><category term="TSM"/><category term="UNIX"/><category term="Automation"/><category term="Interview Questions"/><category term="Storage"/><category term="Troubleshooting"/><category term="Apache"/><category term="BIOS"/><category term="Database"/><category term="DevOps"/><category term="HowTo"/><category term="NIS"/><category term="NTP"/><category term="Outlook"/><category term="RAID"/><category term="RHEL"/><category term="SLES"/><category term="Shell"/><category term="Swap"/><category term="TFTP"/><category term="Tivoli"/><category term="Tools"/><category term="iptables"/><category term="kickstart"/><category term="sap"/><category term="/proc"/><category term="Backup"/><category term="CICD"/><category term="Citrix"/><category term="Command"/><category term="Cron"/><category term="DFS"/><category term="DHCP"/><category term="DNS"/><category term="EPO Server"/><category term="Git"/><category term="GitHub Actions"/><category term="HACMP"/><category term="HP EVA"/><category term="IAS"/><category term="JSON"/><category term="Jenkins"/><category term="LDAP"/><category term="Log files"/><category term="NFS"/><category term="Pacemaker"/><category term="Parallel Processing"/><category term="Patching"/><category term="Performance Tuning"/><category term="Printers"/><category term="RRAS"/><category term="SELinux"/><category term="Squid"/><category term="Sudo"/><category term="TCP Wrappers"/><category term="Terminal Services"/><category term="Tomcat"/><category term="VIO Server"/><category term="VNC"/><category term="dracut"/><category term="hpacucli"/><category term="hpasmcli"/><category term="initramfs"/><category term="jq"/><category term="mysql"/><category term="samba"/><category term="windows 2008 server requirement"/><title type='text'>LazySystemAdmin</title><subtitle type='html'>Sharing Knowledge | &#xa;System Admin Articles</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.lazysystemadmin.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1626133471698349938/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://www.lazysystemadmin.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/1626133471698349938/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>LazySystemAdmin</name><uri>http://www.blogger.com/profile/01907118252758913311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>336</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1626133471698349938.post-258300741173600486</id><published>2024-04-11T23:47:00.002+05:30</published><updated>2024-04-11T23:47:28.434+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Git"/><title type='text'>Search in all branches in Git Repository</title><summary type="text">Search in all branches in the repogit grep &quot;search_term&quot; $(git branch -a --format &quot;%(refname)&quot;)</summary><link rel='replies' type='application/atom+xml' href='http://www.lazysystemadmin.com/feeds/258300741173600486/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.lazysystemadmin.com/2024/04/search-in-all-branches-in-git-repository.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1626133471698349938/posts/default/258300741173600486'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1626133471698349938/posts/default/258300741173600486'/><link rel='alternate' type='text/html' href='http://www.lazysystemadmin.com/2024/04/search-in-all-branches-in-git-repository.html' title='Search in all branches in Git Repository'/><author><name>LazySystemAdmin</name><uri>http://www.blogger.com/profile/01907118252758913311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1626133471698349938.post-7901308256968632081</id><published>2024-04-11T23:42:00.001+05:30</published><updated>2024-04-11T23:42:26.775+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Command"/><category scheme="http://www.blogger.com/atom/ns#" term="jq"/><category scheme="http://www.blogger.com/atom/ns#" term="JSON"/><title type='text'>Update JSON using jq command</title><summary type="text">Update JSON file using jq commandcat app.json | jq --arg environment &quot;VVPAT&quot; --arg test &quot;0102023&quot; &#39;.myapp.configuration.labels += {environment: $environment, test:$test}&#39;&amp;nbsp; &amp;gt; modified_app.json</summary><link rel='replies' type='application/atom+xml' href='http://www.lazysystemadmin.com/feeds/7901308256968632081/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.lazysystemadmin.com/2024/04/update-json-using-jq-command.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1626133471698349938/posts/default/7901308256968632081'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1626133471698349938/posts/default/7901308256968632081'/><link rel='alternate' type='text/html' href='http://www.lazysystemadmin.com/2024/04/update-json-using-jq-command.html' title='Update JSON using jq command'/><author><name>LazySystemAdmin</name><uri>http://www.blogger.com/profile/01907118252758913311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1626133471698349938.post-6931033028665399209</id><published>2022-09-09T22:25:00.003+05:30</published><updated>2022-09-09T22:26:12.739+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="CICD"/><category scheme="http://www.blogger.com/atom/ns#" term="DevOps"/><category scheme="http://www.blogger.com/atom/ns#" term="GitHub Actions"/><title type='text'>Quick HOWTO: Run Loop in GitHub Actions</title><summary type="text">In GitHub Action workflows, there is no direct way to repeat the same job or step using variables. We have to use the &quot;matrix&quot; to achieve this.Example:my_loop_job:    name: loop job    runs-on: my-github-runners    strategy:      matrix:        my_variable: [ &quot;var1&quot;, &quot;var2&quot;, &quot;var3&quot; ]&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;   steps:    - name: test loop      run: |&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;</summary><link rel='replies' type='application/atom+xml' href='http://www.lazysystemadmin.com/feeds/6931033028665399209/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.lazysystemadmin.com/2022/09/quick-howto-run-loop-in-github-actions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1626133471698349938/posts/default/6931033028665399209'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1626133471698349938/posts/default/6931033028665399209'/><link rel='alternate' type='text/html' href='http://www.lazysystemadmin.com/2022/09/quick-howto-run-loop-in-github-actions.html' title='Quick HOWTO: Run Loop in GitHub Actions'/><author><name>LazySystemAdmin</name><uri>http://www.blogger.com/profile/01907118252758913311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1626133471698349938.post-7948204005747714472</id><published>2018-12-26T22:31:00.003+05:30</published><updated>2019-11-05T23:09:34.487+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="DevOps"/><category scheme="http://www.blogger.com/atom/ns#" term="Jenkins"/><category scheme="http://www.blogger.com/atom/ns#" term="Quick HOWTO"/><category scheme="http://www.blogger.com/atom/ns#" term="Tools"/><title type='text'>Quick HOWTO: Reset Jenkins Admin Password</title><summary type="text">

To reset the jenkins admin password,&amp;nbsp;You can simply disable the security in the config.xml file.



1. If your jenkins is running on the Linux OS, edit the below file.



vi /var/lib/jenkins/config.xml file.



2. Search for the word &amp;lt;useSecurity&amp;gt;true&amp;lt;/useSecurity&amp;gt; 
and change the word&amp;nbsp;true to false.&amp;nbsp;




3. Restart the Jenkins server.

service jenkins restart



4. </summary><link rel='replies' type='application/atom+xml' href='http://www.lazysystemadmin.com/feeds/7948204005747714472/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.lazysystemadmin.com/2018/12/quick-howto-reset-jenkins-admin-password.html#comment-form' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1626133471698349938/posts/default/7948204005747714472'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1626133471698349938/posts/default/7948204005747714472'/><link rel='alternate' type='text/html' href='http://www.lazysystemadmin.com/2018/12/quick-howto-reset-jenkins-admin-password.html' title='Quick HOWTO: Reset Jenkins Admin Password'/><author><name>LazySystemAdmin</name><uri>http://www.blogger.com/profile/01907118252758913311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1626133471698349938.post-8955312935018905499</id><published>2018-05-21T16:52:00.000+05:30</published><updated>2018-05-21T17:25:05.538+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="dracut"/><category scheme="http://www.blogger.com/atom/ns#" term="initramfs"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Quick HOWTO"/><category scheme="http://www.blogger.com/atom/ns#" term="Solutions"/><category scheme="http://www.blogger.com/atom/ns#" term="Troubleshooting"/><title type='text'>Quick HOWTO:  dracut fails in Linux</title><summary type="text">

Issue:&amp;nbsp; dracut fails when you trying to create initramfs image file.



[root@linux_server1 boot]# dracut -f /boot/initramfs-2.6.39-400.298.2.el6uek.x86_64.img 2.6.39-400.298.2
E: Failed to install /etc/system-fips

[root@linux_server1 boot]# ls -l /boot/initramfs-2.6.39-400.298.2.el6uek.x86_64.img
ls: cannot access /boot/initramfs-2.6.39-400.298.2.el6uek.x86_64.img: No such file or </summary><link rel='replies' type='application/atom+xml' href='http://www.lazysystemadmin.com/feeds/8955312935018905499/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.lazysystemadmin.com/2018/05/quick-howto-dracut-fails-in-linux.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1626133471698349938/posts/default/8955312935018905499'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1626133471698349938/posts/default/8955312935018905499'/><link rel='alternate' type='text/html' href='http://www.lazysystemadmin.com/2018/05/quick-howto-dracut-fails-in-linux.html' title='Quick HOWTO:  dracut fails in Linux'/><author><name>LazySystemAdmin</name><uri>http://www.blogger.com/profile/01907118252758913311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1626133471698349938.post-4586130418451506525</id><published>2018-01-17T23:25:00.000+05:30</published><updated>2018-01-17T23:25:54.457+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Parallel Processing"/><category scheme="http://www.blogger.com/atom/ns#" term="Quick HOWTO"/><category scheme="http://www.blogger.com/atom/ns#" term="Solutions"/><category scheme="http://www.blogger.com/atom/ns#" term="SSH"/><title type='text'>Quick HOWTO:  Run SSH sessions in Parallel</title><summary type="text">



&amp;nbsp;You often used &quot;for loop&quot; in shell script to gather an information from large number of your Linux / Unix infrastructure servers. However if your server count is more, it may take lot of time to finish the task. Do you think it will be good if the ssh sessions to remote servers run in parallel? Since the modern day servers having multi-core CPU&#39;s we can utilize the real parallel and </summary><link rel='replies' type='application/atom+xml' href='http://www.lazysystemadmin.com/feeds/4586130418451506525/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.lazysystemadmin.com/2018/01/quick-howto-run-ssh-sessions-parallel.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1626133471698349938/posts/default/4586130418451506525'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1626133471698349938/posts/default/4586130418451506525'/><link rel='alternate' type='text/html' href='http://www.lazysystemadmin.com/2018/01/quick-howto-run-ssh-sessions-parallel.html' title='Quick HOWTO:  Run SSH sessions in Parallel'/><author><name>LazySystemAdmin</name><uri>http://www.blogger.com/profile/01907118252758913311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1626133471698349938.post-4029326152649444049</id><published>2017-11-16T16:56:00.001+05:30</published><updated>2017-11-16T16:58:38.900+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Quick HOWTO"/><category scheme="http://www.blogger.com/atom/ns#" term="RHEL"/><title type='text'>Quick HOWTO: View contents of RPM without installing it</title><summary type="text">
In Linux, You may wonder what are the files inside a rpm package and you may want to check them before installing it.

You can do this with the below rpm commands:

If the rpm file available locally:

[root@linux_server1 ~]# rpm -qlp telnet-0.17-48.el6.x86_64.rpm
/usr/bin/telnet
/usr/share/man/man1/telnet.1.gz
[root@linux_server1 ~]#

[root@linux_server1 ~]# rpm -q -filesbypkg -p </summary><link rel='replies' type='application/atom+xml' href='http://www.lazysystemadmin.com/feeds/4029326152649444049/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.lazysystemadmin.com/2017/11/quick-howto-view-contents-of-rpm.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1626133471698349938/posts/default/4029326152649444049'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1626133471698349938/posts/default/4029326152649444049'/><link rel='alternate' type='text/html' href='http://www.lazysystemadmin.com/2017/11/quick-howto-view-contents-of-rpm.html' title='Quick HOWTO: View contents of RPM without installing it'/><author><name>LazySystemAdmin</name><uri>http://www.blogger.com/profile/01907118252758913311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1626133471698349938.post-5217901756446715320</id><published>2017-02-16T20:51:00.001+05:30</published><updated>2017-02-16T20:51:42.894+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Clusters"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Pacemaker"/><category scheme="http://www.blogger.com/atom/ns#" term="Quick HOWTO"/><category scheme="http://www.blogger.com/atom/ns#" term="RHEL"/><title type='text'>Quick HOWTO: Pacemaker Cluster on Redhat Linux - Enable Web GUI Interface</title><summary type="text">

&amp;nbsp;&amp;nbsp;

You will notice that your PCS web interface is not working after your pacemaker cluster installation. Because it is not enabled by default. Here is the steps to enable it.




cd /usr/lib/pcsd



vi pcsd.rbsearch for &quot;DISABLE_GUI=true&quot;

edit that line to &quot;DISABLE_GUI=false&quot;service pcsd restart




Now you will be able to access the pacemaker web interface as below:




https://&amp;lt</summary><link rel='replies' type='application/atom+xml' href='http://www.lazysystemadmin.com/feeds/5217901756446715320/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.lazysystemadmin.com/2017/02/quick-howto-pacemaker-cluster-on-redhat.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1626133471698349938/posts/default/5217901756446715320'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1626133471698349938/posts/default/5217901756446715320'/><link rel='alternate' type='text/html' href='http://www.lazysystemadmin.com/2017/02/quick-howto-pacemaker-cluster-on-redhat.html' title='Quick HOWTO: Pacemaker Cluster on Redhat Linux - Enable Web GUI Interface'/><author><name>LazySystemAdmin</name><uri>http://www.blogger.com/profile/01907118252758913311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1626133471698349938.post-6919127342124650048</id><published>2014-11-19T18:34:00.000+05:30</published><updated>2014-11-19T18:34:07.949+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="DNS"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Quick HOWTO"/><title type='text'>Quick HOWTO: Flush DNS Cache in Linux</title><summary type="text">

nscd (Name Service Cache Daemon) daemon provides caching service for the name service requests in Linux.

To configure the nscd caching service, edit /etc/nscd.conf

To Flush the DNS Cache in Linux server:


# /etc/init.d/nscd restart &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;OR&amp;nbsp;

&amp;nbsp;# service nscd restart


Hope this helps..



</summary><link rel='replies' type='application/atom+xml' href='http://www.lazysystemadmin.com/feeds/6919127342124650048/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.lazysystemadmin.com/2014/11/quick-howto-flush-dns-cache-in-linux.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1626133471698349938/posts/default/6919127342124650048'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1626133471698349938/posts/default/6919127342124650048'/><link rel='alternate' type='text/html' href='http://www.lazysystemadmin.com/2014/11/quick-howto-flush-dns-cache-in-linux.html' title='Quick HOWTO: Flush DNS Cache in Linux'/><author><name>LazySystemAdmin</name><uri>http://www.blogger.com/profile/01907118252758913311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1626133471698349938.post-8286305881779784946</id><published>2014-02-17T16:56:00.000+05:30</published><updated>2014-11-05T22:14:03.879+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Performance Tuning"/><category scheme="http://www.blogger.com/atom/ns#" term="Quick HOWTO"/><title type='text'>Quick HOWTO:  Change I/O Scheduler in Linux</title><summary type="text">
 




I/O schedulers in Linux



noop&amp;nbsp;-&amp;nbsp;It can be helpful for devices that do I/O scheduling themselves, as intelligent storage, or devices that do not depend on mechanical movement

cfq - A&amp;nbsp;fairness-oriented scheduler. It&amp;nbsp;tries to maintain system-wide fairness of I/O bandwidth

deadline&amp;nbsp;- A latency-oriented I/O scheduler. Each I/O request has got a deadline assigned.

</summary><link rel='replies' type='application/atom+xml' href='http://www.lazysystemadmin.com/feeds/8286305881779784946/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.lazysystemadmin.com/2014/02/quick-howto-change-io-scheduler-in-linux.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1626133471698349938/posts/default/8286305881779784946'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1626133471698349938/posts/default/8286305881779784946'/><link rel='alternate' type='text/html' href='http://www.lazysystemadmin.com/2014/02/quick-howto-change-io-scheduler-in-linux.html' title='Quick HOWTO:  Change I/O Scheduler in Linux'/><author><name>LazySystemAdmin</name><uri>http://www.blogger.com/profile/01907118252758913311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1626133471698349938.post-105578577067603931</id><published>2013-08-17T09:02:00.001+05:30</published><updated>2013-08-26T12:40:55.794+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Quick HOWTO"/><category scheme="http://www.blogger.com/atom/ns#" term="Swap"/><title type='text'>Quick HOWTO: Reduce SWAP Partition Online without reboot in Linux</title><summary type="text">

Recently I had a request to reduce the swap space and allocate that space to some other LV in one of our server. &amp;nbsp;Below is what I followed and it perfectly worked for me. &amp;nbsp;:)



Make sure you have enough physical memory to hold the swap contents.&amp;nbsp;



Now, turn the swap off:

# sync

# swapoff &amp;lt;YOUR_SWAP_PARTITION&amp;gt;

Now check the status

# swapon -s&amp;nbsp;



Then, Use fdisk </summary><link rel='replies' type='application/atom+xml' href='http://www.lazysystemadmin.com/feeds/105578577067603931/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.lazysystemadmin.com/2013/08/quick-howto-reduce-swap-partition-online-without-reboot.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1626133471698349938/posts/default/105578577067603931'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1626133471698349938/posts/default/105578577067603931'/><link rel='alternate' type='text/html' href='http://www.lazysystemadmin.com/2013/08/quick-howto-reduce-swap-partition-online-without-reboot.html' title='Quick HOWTO: Reduce SWAP Partition Online without reboot in Linux'/><author><name>LazySystemAdmin</name><uri>http://www.blogger.com/profile/01907118252758913311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1626133471698349938.post-5287772757584761654</id><published>2013-01-05T18:25:00.001+05:30</published><updated>2013-01-05T18:25:24.006+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="hpacucli"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Quick HOWTO"/><category scheme="http://www.blogger.com/atom/ns#" term="RAID"/><title type='text'>Create RAID Disk using hpacucli in Linux</title><summary type="text">

1. CHECK UNASSIGNED DRIVES THAT CAN BE USED&amp;nbsp;


server1:~ # hpacucliHP Array Configuration Utility CLI 8.70-8.0Detecting Controllers...Done.Type &quot;help&quot; for a list of supported commands.Type &quot;exit&quot; to close the console.&amp;nbsp;

&amp;nbsp;=&amp;gt;&amp;nbsp;hpacucli ctrl all show config&amp;nbsp;


Smart Array P400 in Slot 9 (sn: P61XXXXXXXXXN)&amp;nbsp;array A (SAS, Unused Space: 0 MB)&amp;nbsp;logicaldrive 1 (68.3 </summary><link rel='replies' type='application/atom+xml' href='http://www.lazysystemadmin.com/feeds/5287772757584761654/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.lazysystemadmin.com/2013/01/create-raid-disk-using-hpacucli-in-linux.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1626133471698349938/posts/default/5287772757584761654'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1626133471698349938/posts/default/5287772757584761654'/><link rel='alternate' type='text/html' href='http://www.lazysystemadmin.com/2013/01/create-raid-disk-using-hpacucli-in-linux.html' title='Create RAID Disk using hpacucli in Linux'/><author><name>LazySystemAdmin</name><uri>http://www.blogger.com/profile/01907118252758913311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1626133471698349938.post-8936718172726277406</id><published>2013-01-05T17:46:00.000+05:30</published><updated>2013-01-05T17:53:59.943+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Solutions"/><category scheme="http://www.blogger.com/atom/ns#" term="UNIX"/><title type='text'>Solution for UNIX Error: Terminal too wide</title><summary type="text">

When you are working in an UNIX shell using Putty tool, you may get this error.

Problem:&amp;nbsp;

When you are trying to open vi editor, you may get error message &quot;Terminal too wide&quot;

How to Fix this??

Enter the below command in the shell and try to open vi editor again. It will work.



stty columns 120

Hope this will help on someone.
</summary><link rel='replies' type='application/atom+xml' href='http://www.lazysystemadmin.com/feeds/8936718172726277406/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.lazysystemadmin.com/2013/01/solution-for-unix-error-terminal-too.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1626133471698349938/posts/default/8936718172726277406'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1626133471698349938/posts/default/8936718172726277406'/><link rel='alternate' type='text/html' href='http://www.lazysystemadmin.com/2013/01/solution-for-unix-error-terminal-too.html' title='Solution for UNIX Error: Terminal too wide'/><author><name>LazySystemAdmin</name><uri>http://www.blogger.com/profile/01907118252758913311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1626133471698349938.post-401101555584688803</id><published>2012-09-09T18:26:00.001+05:30</published><updated>2012-09-10T11:56:00.508+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Quick HOWTO"/><category scheme="http://www.blogger.com/atom/ns#" term="Solutions"/><category scheme="http://www.blogger.com/atom/ns#" term="VMware"/><title type='text'>File System Extension on Live Linux VMware Guest using vmdisk size extended</title><summary type="text">




Many thanks to RAM for this Article.



---



This article explains, Filesystem extension on live Linux VMware Linux Guest where vmdisk size is extended and by not new disk added.



We had a scenario as follows:





1.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;File system extension requirement on a live mounted file system without reboot.

2.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;It’s a</summary><link rel='replies' type='application/atom+xml' href='http://www.lazysystemadmin.com/feeds/401101555584688803/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.lazysystemadmin.com/2012/09/File-System-Extension-on-Live-Linux-VMware-Guest-using-vmdisk-size-extended.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1626133471698349938/posts/default/401101555584688803'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1626133471698349938/posts/default/401101555584688803'/><link rel='alternate' type='text/html' href='http://www.lazysystemadmin.com/2012/09/File-System-Extension-on-Live-Linux-VMware-Guest-using-vmdisk-size-extended.html' title='File System Extension on Live Linux VMware Guest using vmdisk size extended'/><author><name>LazySystemAdmin</name><uri>http://www.blogger.com/profile/01907118252758913311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnjHF2qjj_HMSeIBMmDGntGwD4GGoEFnkGWvh3kUnXz6hqAyt9fbAJwjcXfe76AgoGn3TXZlUM5eqvssnh1u0J7TzdwkwLZGMkyLiSefuc7ExOIGQW7fS2ykcA3y1ncH06Tgqg_fuEwwAp/s72-c/image001.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1626133471698349938.post-965452677130390882</id><published>2012-08-14T19:57:00.000+05:30</published><updated>2012-08-14T19:57:21.029+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="iptables"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Quick HOWTO"/><title type='text'>Allow SSH and Web Connections in IP Tables in Linux</title><summary type="text">

To Allow web and ssh connections in IP Tables

SSH and web both require out going messages on established tcp connections.


iptables -A OUTPUT -o eth0 -m state –state ESTABLISHED,RELATED -j ACCEPT

Then you need to allow incomming connections on port 80 and 22 and possibly 443

iptables -A INPUT -p tcp -i eth0 –dport 22 –sport 1024:65535 -m state –state NEW -j ACCEPTiptables -A INPUT -p tcp -i</summary><link rel='replies' type='application/atom+xml' href='http://www.lazysystemadmin.com/feeds/965452677130390882/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.lazysystemadmin.com/2012/08/allow-ssh-and-web-connections-in-ip-tables-in-linux.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1626133471698349938/posts/default/965452677130390882'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1626133471698349938/posts/default/965452677130390882'/><link rel='alternate' type='text/html' href='http://www.lazysystemadmin.com/2012/08/allow-ssh-and-web-connections-in-ip-tables-in-linux.html' title='Allow SSH and Web Connections in IP Tables in Linux'/><author><name>LazySystemAdmin</name><uri>http://www.blogger.com/profile/01907118252758913311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1626133471698349938.post-1478368732171010723</id><published>2012-08-14T18:20:00.001+05:30</published><updated>2014-11-05T22:39:09.371+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="AIX"/><category scheme="http://www.blogger.com/atom/ns#" term="LVM"/><title type='text'>migratepv VS replacepv</title><summary type="text">

what is the difference between migratepv and replacepv?

replacepv command simply moves all the logical partitions on one physical volume to another physical volume. &amp;nbsp;The command is designed to make it easy to replace a disk in a mirrored configuration.

migratepv command also very similar.

The biggest difference is that migratepv allows you to copy the LPs on a logical volume basis, not </summary><link rel='replies' type='application/atom+xml' href='http://www.lazysystemadmin.com/feeds/1478368732171010723/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.lazysystemadmin.com/2012/08/migratepv-vs-replacepv.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1626133471698349938/posts/default/1478368732171010723'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1626133471698349938/posts/default/1478368732171010723'/><link rel='alternate' type='text/html' href='http://www.lazysystemadmin.com/2012/08/migratepv-vs-replacepv.html' title='migratepv VS replacepv'/><author><name>LazySystemAdmin</name><uri>http://www.blogger.com/profile/01907118252758913311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1626133471698349938.post-2842003324735721508</id><published>2012-08-14T17:40:00.000+05:30</published><updated>2012-08-14T17:40:08.944+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Tips"/><title type='text'>What is umask?</title><summary type="text">

umask will be used for setting the default file creation permissions.When a file is created, its permissions are set by default, depending on the umask setting configured.

This value is usually set for all users in /etc/profile and can be obtained by typing command umask:

testuser$ umask0022


The default umask value is usually 022.&amp;nbsp;It is an octal number which indicates what rights will </summary><link rel='replies' type='application/atom+xml' href='http://www.lazysystemadmin.com/feeds/2842003324735721508/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.lazysystemadmin.com/2012/08/what-is-umask.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1626133471698349938/posts/default/2842003324735721508'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1626133471698349938/posts/default/2842003324735721508'/><link rel='alternate' type='text/html' href='http://www.lazysystemadmin.com/2012/08/what-is-umask.html' title='What is umask?'/><author><name>LazySystemAdmin</name><uri>http://www.blogger.com/profile/01907118252758913311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1626133471698349938.post-6185597905540934700</id><published>2012-08-14T17:21:00.000+05:30</published><updated>2012-08-14T17:21:22.344+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Suse Linux"/><title type='text'>Changing default gateway in SuSE Linux</title><summary type="text">

Adding default Gateway in Linux SUSE

To change the default route permanently in SuSe Linux, make an entry in /etc/sysconfig/network/routes file.

For example, to make 192.168.10.1 as default route, add the following line into /etc/sysconfig/network/routes file.&amp;nbsp;


default 192.168.2.1 - -

Using route command:

To route all the traffic via 192.168.1.1 gateway connected via eth1 network </summary><link rel='replies' type='application/atom+xml' href='http://www.lazysystemadmin.com/feeds/6185597905540934700/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.lazysystemadmin.com/2012/08/changing-default-gateway-in-suse-linux.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1626133471698349938/posts/default/6185597905540934700'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1626133471698349938/posts/default/6185597905540934700'/><link rel='alternate' type='text/html' href='http://www.lazysystemadmin.com/2012/08/changing-default-gateway-in-suse-linux.html' title='Changing default gateway in SuSE Linux'/><author><name>LazySystemAdmin</name><uri>http://www.blogger.com/profile/01907118252758913311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1626133471698349938.post-1769297861507889597</id><published>2012-08-14T17:09:00.000+05:30</published><updated>2012-08-14T17:09:03.895+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><title type='text'>Setting Limits for Users in Linux</title><summary type="text">



We can set useful limits for users which is useful to
control the resource utilization in Linux. This can be configured in
/etc/security/limits.conf. To activate these limits you need to add the
following line to the bottom of /etc/pam.d/login file in your Linux server.



session required /lib/security/pam_limits.so.



Entries in limits.conf&amp;nbsp;file have the following
structure: 

[</summary><link rel='replies' type='application/atom+xml' href='http://www.lazysystemadmin.com/feeds/1769297861507889597/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.lazysystemadmin.com/2012/08/setting-limits-for-users-in-linux.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1626133471698349938/posts/default/1769297861507889597'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1626133471698349938/posts/default/1769297861507889597'/><link rel='alternate' type='text/html' href='http://www.lazysystemadmin.com/2012/08/setting-limits-for-users-in-linux.html' title='Setting Limits for Users in Linux'/><author><name>LazySystemAdmin</name><uri>http://www.blogger.com/profile/01907118252758913311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1626133471698349938.post-8268644388180051679</id><published>2012-08-14T16:20:00.000+05:30</published><updated>2012-08-14T16:21:06.605+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="scripts"/><category scheme="http://www.blogger.com/atom/ns#" term="Shell"/><title type='text'>Special Shell Variables - Useful for Scripting</title><summary type="text">

Below are the special shell variables. These are important
to know for everyone, especially who is willing to learn shell scripting. Hope the list helps.



 

  
  
Name

  
  
Description

 

  
  
$1
  - $9

  
  
These
  variables are referring the parameters passed to command or script. $1 refers
  to the first argument and $2 refers second and so on.

 

  
  
$0

  
  
The
  name of the </summary><link rel='replies' type='application/atom+xml' href='http://www.lazysystemadmin.com/feeds/8268644388180051679/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.lazysystemadmin.com/2012/08/special-shell-variables-useful-for-shell-scripting.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1626133471698349938/posts/default/8268644388180051679'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1626133471698349938/posts/default/8268644388180051679'/><link rel='alternate' type='text/html' href='http://www.lazysystemadmin.com/2012/08/special-shell-variables-useful-for-shell-scripting.html' title='Special Shell Variables - Useful for Scripting'/><author><name>LazySystemAdmin</name><uri>http://www.blogger.com/profile/01907118252758913311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1626133471698349938.post-5201187564504270571</id><published>2012-06-03T15:51:00.001+05:30</published><updated>2012-07-02T10:09:37.400+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Solutions"/><title type='text'>Network cards changed to &#39;__tmpXXXX&#39; instead of ethX after reboot in Linux</title><summary type="text">

We have faced a strange issue recently and would like to share that to LazySystemAdmin readers.

Problem / Issue:

After upgrading the kernel, we rebooted the server. After reboot, some of the Ethernet network cards (NIC) are renamed to &#39;__tmpxxxx&#39; instead of ethX.&amp;nbsp;Ethernet &amp;nbsp;interface keeps changing into &amp;nbsp;&#39;__tmpxxxx&#39; even after two more reboot of the server.

&quot;ifconfig -a&quot; output</summary><link rel='replies' type='application/atom+xml' href='http://www.lazysystemadmin.com/feeds/5201187564504270571/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.lazysystemadmin.com/2012/06/network-cards-changed-to-tmpxxxx.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1626133471698349938/posts/default/5201187564504270571'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1626133471698349938/posts/default/5201187564504270571'/><link rel='alternate' type='text/html' href='http://www.lazysystemadmin.com/2012/06/network-cards-changed-to-tmpxxxx.html' title='Network cards changed to &#39;__tmpXXXX&#39; instead of ethX after reboot in Linux'/><author><name>LazySystemAdmin</name><uri>http://www.blogger.com/profile/01907118252758913311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1626133471698349938.post-6999421126261173029</id><published>2012-05-10T20:34:00.001+05:30</published><updated>2012-05-10T20:34:48.000+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Interview Questions"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><title type='text'>Interview Questions and Answers - Linux Administrator - 3</title><summary type="text">

What is the major difference between ext2 and ext3 file systems?

The main difference between ext2 and ext3 is, ext3 allows journaling. (Journaling is a type of log file, which tracks all the file system changes. so that you can recover in case of filesystem crash)
Explain Linux Booting Process?


When the computer is switched on, it automatically invokes BIOS [a ROM chip embedded in the </summary><link rel='replies' type='application/atom+xml' href='http://www.lazysystemadmin.com/feeds/6999421126261173029/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.lazysystemadmin.com/2012/05/interview-questions-and-answers-linux.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1626133471698349938/posts/default/6999421126261173029'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1626133471698349938/posts/default/6999421126261173029'/><link rel='alternate' type='text/html' href='http://www.lazysystemadmin.com/2012/05/interview-questions-and-answers-linux.html' title='Interview Questions and Answers - Linux Administrator - 3'/><author><name>LazySystemAdmin</name><uri>http://www.blogger.com/profile/01907118252758913311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1626133471698349938.post-6235703735480055900</id><published>2012-04-02T20:20:00.000+05:30</published><updated>2012-04-02T21:13:58.838+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Solutions"/><category scheme="http://www.blogger.com/atom/ns#" term="Suse Linux"/><title type='text'>kblockd Process - High Utilization in Linux - Quick View</title><summary type="text">
I &amp;nbsp;have came across the situation where multiple kblockd process are utilizing the CPU heavily and causing server load high in Linux servers.&amp;nbsp;I was wondered what is kblockd and why it is taking high CPU utilization. But there is not much information available in internet about kblockd. After lot of &amp;nbsp;research, the below is what I learned.


What is kblockd?

In a general, the </summary><link rel='replies' type='application/atom+xml' href='http://www.lazysystemadmin.com/feeds/6235703735480055900/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.lazysystemadmin.com/2012/04/kblockd-process-high-utilization-in.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1626133471698349938/posts/default/6235703735480055900'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1626133471698349938/posts/default/6235703735480055900'/><link rel='alternate' type='text/html' href='http://www.lazysystemadmin.com/2012/04/kblockd-process-high-utilization-in.html' title='kblockd Process - High Utilization in Linux - Quick View'/><author><name>LazySystemAdmin</name><uri>http://www.blogger.com/profile/01907118252758913311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1626133471698349938.post-8726235112233317531</id><published>2012-02-28T23:53:00.001+05:30</published><updated>2012-02-29T00:14:35.012+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><title type='text'>Disable Ping on Linux Server - Quick HOWTO</title><summary type="text">

How do you disable ping to Linux server? Here is the quick steps:

&amp;nbsp;To disable ping:

echo 1 &amp;gt; /proc/sys/net/ipv4/icmp_echo_ignore_all
To enable ping:

echo 0 &amp;gt; /proc/sys/net/ipv4/icmp_echo_ignore_all

That&#39;s all..!&amp;nbsp;
</summary><link rel='replies' type='application/atom+xml' href='http://www.lazysystemadmin.com/feeds/8726235112233317531/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.lazysystemadmin.com/2012/02/disable-ping-on-linux-server-quick.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1626133471698349938/posts/default/8726235112233317531'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1626133471698349938/posts/default/8726235112233317531'/><link rel='alternate' type='text/html' href='http://www.lazysystemadmin.com/2012/02/disable-ping-on-linux-server-quick.html' title='Disable Ping on Linux Server - Quick HOWTO'/><author><name>LazySystemAdmin</name><uri>http://www.blogger.com/profile/01907118252758913311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1626133471698349938.post-4628028180275389293</id><published>2012-02-28T23:49:00.000+05:30</published><updated>2012-02-28T23:49:17.876+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="AIX"/><title type='text'>Change Username Max Length in AIX - Quick HOWTO</title><summary type="text">

In AIX 5.3,

To change the default length of username:


# chdev -l sys0 -a max_logname=9sys0 changed

To check the current length of username:


# lsattr -El sys0 -a max_lognamemax_logname 9 Maximum login name length at boot time True# getconf LOGIN_NAME_MAX 21

Hope this quick tip helps someone..!
</summary><link rel='replies' type='application/atom+xml' href='http://www.lazysystemadmin.com/feeds/4628028180275389293/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.lazysystemadmin.com/2012/02/change-username-max-length-in-aix-quick.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1626133471698349938/posts/default/4628028180275389293'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1626133471698349938/posts/default/4628028180275389293'/><link rel='alternate' type='text/html' href='http://www.lazysystemadmin.com/2012/02/change-username-max-length-in-aix-quick.html' title='Change Username Max Length in AIX - Quick HOWTO'/><author><name>LazySystemAdmin</name><uri>http://www.blogger.com/profile/01907118252758913311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>