Red Hat Linux can be booted into rescue mode from the installation CD, or any other boot method instead of the system’s hard drive. This also applies to other versions of Linux such as Fedora and Centos. The rescue mode…
Category: Software
Identifying the kernel version and changing the default boot kernel in RedHat and Centos Linux.
Use the command uname to print system information in Linux. # uname -r 2.6.18-194.32.1.el5 The –r option will print the kernel release. # uname -s Linux -s prints the kernel name. # uname -n mycomputer.wiivil.com Print the node name or…
Nslookup resolves address but ping is unable to resolve hostname on Unix server
I came across this issue on my newly built Solaris 10 server. I was able to ping a remote machine by Ip address, but not by its hostname. This indicated that I had the correct route and gateway. Using nslookup…
How to map to a remote NFS directory from a VMware ESX 4 server.
I ran into this error while trying to mount a NFS directory on a remote server from my Vmware ESX4 server. My Vmware esx server is called esx4-server and the remote NFS server is called remote-server. I executed the mount…
Creating RDM to LUN (SAN) mapping on VMware ESX 4, Vcenter.
In the past I have written articles about how to create a RDM to LUN disk mapping for VMware ESX 3. http://www.gamescheat.ca/2009/10/scripts-to-automate-the-process-of-identifying-and-compiling-an-rdm-to-lun-mapping-list-for-vmware-esx-30/ and http://www.gamescheat.ca/2009/10/how-to-identify-and-compile-an-rdm-to-lun-mapping-list-for-vmware-esx-30/ The procedure to identify the path for the RDM (raw disk mapping) to LUN (disk on…
Booting up Solaris 10 from a SAN replicated LUN on a different Sun SPARC server
The quickest way to recover from a total disaster is to have some sort of replication implemented. There are two different methods of real-time replication, hardware and software. My experiences with software replication such as Symantec Veritas Volume replicator for…
How to get the network card speed in Solaris 9
To determine the network card speed in Solaris 9 use the ndd utility. First list the NIC installed and active on the Solaris 9 server. # ifconfig -a lo0: flags=1000849 mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 hme0: flags=1000843…
How to relocate the /export and /export/home filesystems on Solaris 10.
By default Solaris installs the /export and /export/home filesystems in the root zfs pool, if you picked ZFS and not UFS as the filesystem. I wanted to relocate /export and /export/home to a larger ZFS pool other than the root…
How to rebuild a Solaris 10 server using the ZFS Root Pool Snapshots
Solaris 10 has provides the ability to recover from a disk drive failure using ZFS root pool snapshots. The snapshot can also be used to quickly rebuild a new server in the event of a disaster. Snapshot is different from…
How to list the status of swap in Solaris
List the status of all swap areas. # swap -l swapfile dev swaplo blocks free dev/dsk/c0t0d0s1 32,9 16 8425712 8425712 The output has five columns: path The path name for the swap area. dev The major/minor device number in decimal…