Archive for the ‘redhat’ Category

Using whole disk for LVM during kickstart

I was kickstarting a machine that needed two disks. The requirement was that the second disk was to be used as whole for LVM. It seemed there was no way to do so, but apparently there is. The snippet below makes it happen. The key part is –onpart=sdb. part pv.02 –grow –size=1 –onpart=sdb volgroup vg_data […]

Posted on August 31, 2017 at 09:15 by somedude · Permalink · Leave a comment
In: centos, kickstart, linux, linux tips, redhat

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

Oracle DB failed to start: ORA-27102: out of memory

Oracle not being exactly my turf, I ran into this last week. After some patching and reboot of RHEL 5.9 server, Oracle DB failed to start. So, I took a peek inside /opt/oracle/product/11.2.0/db_1/startup.log and found this: ORA-27102: out of memory Linux-x86_64 Error: 28: No space left on device SYS@PRD001 > Disconnected Lovely. Unfortunately, no DBA […]

Posted on July 27, 2013 at 08:57 by somedude · Permalink · Leave a comment
In: centos, linux, oracle, redhat