A sample text widget

Etiam pulvinar consectetur dolor sed malesuada. Ut convallis euismod dolor nec pretium. Nunc ut tristique massa.

Nam sodales mi vitae dolor ullamcorper et vulputate enim accumsan. Morbi orci magna, tincidunt vitae molestie nec, molestie at mi. Nulla nulla lorem, suscipit in posuere in, interdum non magna.

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 disk group. Also, this task re-enables access to a disk […]

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 to enter the failed state). If the underlying problem has been fixed (such as a cable […]

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 restart

Solaris 9 and below /etc/init.d/sshd stop /etc/init.d/sshd start

Solaris 10 svcadm disable ssh svcadm enable ssh

AIX stopsrc […]

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 smit migratepv Migrates physical partitions from one physical volume to other(s). mkvg smit mkvg Creates a […]