Skip to content

{ Category Archives } Linux

Linux

zLinux: Add & Configure New Disk

Objective: New disks are added to the machine. I need to configure and integrate them into existing LVM partition. OS: RHEL 5.9 Kernel: 2.6.18-274.el5 Related Documentation: https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/5/html/Installation_Guide/s1-s390info-addDASD.html The mainframe administrator has assigned me 6 disks and the disk name are ‘205’ – ’20e’. So, I need to find out the associated device name with the […]

Tagged ,

RHEL 6.3 on Lenovo ThinkPad T420

Indeed, it has been a while since my last time using Linux on my workstation. So, here I present you my latest workstation. I guess it is time to being a g33k again?

Tagged , , ,

RHEL 4: Reducing root’s Logical Volume Size

Problem Statement This server contains 1 hard disk (32.2 GB) with 2 partitions (/dev/sda1 + /dev/sda2), [root@localhost ~]# fdisk -l Disk /dev/sda: 32.2 GB, 32212254720 bytes 255 heads, 63 sectors/track, 3916 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 13 104391 83 […]

Tagged , ,

Linux: Change Time Zone From Command Line Interface

I just learned that there are several ways to change time zone setting in Linux from command line interface (I’m using Red hat Enterprise Linux in this case), Using tzselect [root@localhost ~]# tzselect Please identify a location so that time zone rules can be set correctly. Please select a continent or ocean. 1) Africa 2) […]

Tagged , ,

Linux On HP ProLiant: Verifying Hard Disk & Smart Array Problem From OS Level

Prologue My friend who is from other team told me there’s hard disk problem one of my server. Too lazy to go to datacenter, I’m just using HP utility to confirm. Server Info Operating System, -sh-2.05b# cat /etc/redhat-release Red Hat Enterprise Linux AS release 3 (Taroon Update 2) Hardware, -sh-2.05b# hpasmcli -s “show server” | […]

Tagged , , ,

Linux on HP Proliant: Reset iLO Password From OS

Problem Statement I’ve a Linux system running on HP Proliant and I do not know the username/password configured for the iLO. Of course, the simplest way in mind to reset the password is by rebooting the server to iLO level. Nevertheless, it’s not an option if the server can’t be rebooted (it’s a production server, […]

Tagged , ,

My First Time Story: Using parted In Linux

It has been a while since my last post of My First Time Story collection ;) This time I want to create a new LVM partition. I’ve been using fdisk since my first day with Linux (and gparted on GUI) but this time I want something that can be done non-interactively via command-line interface. So, […]

Tagged , ,

Checking Firmware Version Of Qlogic HBA Card Via scli On Linux

Objective To check firmware version of Qlogic HBA card via scli on Linux system running on IBM xSeries (called System x nowadays) What is scli? SANsurfer CLI – Management tool (command line interface). Step-By-Step Download “SANsurfer CLI for Linux” from http://driverdownloads.qlogic.com/QLogicDriverDownloads_UI/Product_detail_new.aspx?oemid=376&companyid=6 Install [root@pungkur ~]# gunzip scli-1.7.3-32t1.i386.rpm.gz [root@pungkur ~]# rpm -ivh scli-1.7.3-32t1.i386.rpm Preparing… ########################################### [100%] 1:scli […]

Tagged ,

Linux on IBM x3650 M2: Online Hardware RAID Re-Configuration Using MegaRAID Storage Manager

Objective To perform online reconfiguration of hardware RAID in Linux system. Prologue I have an IBM x3650 M2 with 6 physical hard disks (slot 0-5, 146GB each) and all of the hard disks have been configured as RAID 1 (slot 0 & 1 as 1 set of RAID, slot 2 & 3 as 1 set […]

Tagged , , ,

LSI’s MegaCLI & MegaRAID Storage Manager for Linux

This is just a note for my personal reference. 1) MegaCLi for Linux [root@sgbwaprec01 ~]# rpm -qi MegaCli-8.00.23-1 Name : MegaCli Relocations: (not relocatable) Version : 8.00.23 Vendor: LSI Logic Corporation Release : 1 Build Date: Wed 19 May 2010 10:46:16 PM MYT Install Date: Tue 27 Jul 2010 11:27:22 AM MYT Build Host: localhost.localdomain […]

Tagged , ,