Enable disk in Veritas Volume Manager

Enabling a disk If you move a disk from one system to another during normal system operation, VxVM does not recognize the disk automatically. The enable disk task enables VxVM to identify the disk and to determine if this disk is part of a [...]

Reattaching Failed Disks in Veritas Volume Manager

Veritas volume manager troubleshooting guide info. Reattaching failed disks You can perform a reattach operation if a disk could not be found at system startup, or if VxVM is started with some disk drivers unloaded and unloadable (causing disks [...]

Killing process by name except root

How to kill apache process which are not owned by root. Kill -9 `ps -eaf | grep apache | grep -v root | awk ‘{print $2}’`

How to start and stop services/daemons in Unix/Lnux System

You may need to restart services after you changed the configuration files. You can use the following methods to restart services. RedHat, CentOS and Fedora Core Linux /sbin/service sshd restart Suse linux /etc/rc.d/sshd restart Debian/Ubuntu /etc/init.d/sshd [...]

AIX LVM commands to remember

There are many LVM commands available, here are some of the commands you might use as a system administrator daily. Changes the characteristics of a physical volume. chpv smit chpv lspv smit lspv Lists information about physical volumes. migratepv [...]