Archive for the ‘linux tips’ Category

Another take on Dynamic Volume Resize in RHEL 6

Being able to resize an LVM volume without reboot is quite handy. I had described one way here. This is a slightly different take on the same topic, this time on RHEL 6. I had resized /dev/sdb from 48GB to 140GB in vCenter. However, the operating system is still seeing the old size: [root@build ~]# […]

Posted on December 17, 2013 at 09:37 by somedude · Permalink · Leave a comment
In: centos, fibre channel, linux, linux tips, lvm2, san, storage

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

Hung Linux system: Now what?

Finally, I had remembered to try out Magic SysRq key in real life. One of the XenServer hosts decided to refuse to reboot and hung during shutdown. Magic SysRq is really a keyboard combo that allows user to force kernel to perform certain function, even though machine is unresponsive. In my case I needed to […]

Posted on October 30, 2013 at 09:04 by somedude · Permalink · Leave a comment
In: centos, linux, linux tips, redhat

fsck: Error determining size of the physical device: File too large

So, I got done patching this fairly important server, running RedHat 5.10. For reasons I will not go into, the server has about 30TB of direct attached storage. After the reboot, one of the filesystems, in this case it had 16TB of storage, failed to pass automatic fsck check on boot. So, I booted it […]

Posted on September 30, 2013 at 09:42 by somedude · Permalink · Leave a comment
In: centos, ext4, linux, linux tips, redhat, storage

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