Archive for the ‘linux utilities’ Category

There is no screen to be resumed…

I was running a script on a server that took a while to complete. Since I did not want to lose any output I ran it inside a screen session. Of course, during the course of this, my SSH connection dropped and when I logged in again, and tried to reattached to the session I […]

Posted on November 15, 2013 at 08:56 by somedude · Permalink · Leave a comment
In: linux, linux tips, linux utilities, screen, shell

Unfinished transactions in yum

I was patching this “pseudo server” the other day. Resources on the server were not monitored. Of course / was low on space and yum failed. Subsequent run of yum update threw the following message: [root@web0001 sbin]# yum update Loaded plugins: rhnplugin, security This system is receiving updates from RHN Classic or RHN Satellite. Setting […]

Posted on August 28, 2013 at 15:07 by somedude · Permalink · Leave a comment
In: centos, linux, linux tips, linux utilities, redhat

Identifying a failed disk using dd

A while back I had the “fortune” of having to deal with replacement of a failed disk inside a disk array of some HP-UX machine. Never mind lack of any information regarding the hardware setup (dual controllers, multipathing, etc.)… The biggest problem was identifying the failed disk. Oh, and throw some LVM into that… Of […]

Posted on April 30, 2011 at 21:12 by somedude · Permalink · Leave a comment
In: centos, hpux, linux, linux tips, linux utilities, redhat, solaris, solaris tips, solaris utilities

Unmounting stale NFS mount points in Linux

Unmounting stale NFS mount points in Linux can be royal pain sometimes. In Solaris, umount -f does the job just fine. Linux on the other hand seems to get stuck if you use only -f switch. It just hangs there until you reboot the system. If you use lazy umount, that will probably help you […]

Posted on March 31, 2011 at 21:35 by somedude · Permalink · Leave a comment
In: centos, linux, linux tips, linux utilities, redhat

Why it’s not a good idea to remove active log file

So, someone deleted a log file of a running process because partition was running out of space. That’s seemingly logical thing to do, but not a wise one. What ended up happening was that the filesystem was still getting filled and deleting the log file made no difference whatsoever. So what happened? When the log […]

Posted on February 14, 2011 at 16:33 by somedude · Permalink · Leave a comment
In: centos, linux, linux tips, linux utilities, redhat