AIX: How can I unmount /usr to run fsck on it?

In order to fsck /usr, it has to be unmounted. But /usr cannot be unmounted because /bin is symbolically linked to /usr/bin. Also /etc/fsck is symbolically linked to /usr/sbin/fsck. To work around this, when you boot from the boot/maintenance diskettes and enter maintenance mode, enter “getrootfs hdisk0 sh” instead of “getrootfs hdisk0” where hdisk0 is

AIX: How can I unmount /usr to run fsck on it? Read More »

How do I get rid of the verbose error messages?

Many of the messages from the Unix commands are available in different languages. This is controlled by the LANG environment variable, the default being En_US meaning English in the US. All the default messages have a message number associated with them, e.g.: $ cat no-such-file cat: 0652-050 Cannot open no-such-file. If you prefer the terser

How do I get rid of the verbose error messages? Read More »

What is the Object Database in AIX?

AIX stores most of the system management information in /etc/objrepos, /usr/lib/objrepos, and /usr/share/lib/objrepos. Files (also referred to as system object classes) in these directories are adminstered by the Object Database Manager, ODM, which is a set of library routines and programs providing basic object oriented database facilities. Under most circumstances, only SMIT or the commands

What is the Object Database in AIX? Read More »

How to Calculating Free PE in HP-UX

Calculating free PE’s vgdisplay -v <vgname> e.g. vg02 # vgdisplay -v vg02— Volume groups —VG Name                     /dev/vg02VG Write Access             read/writeVG Status                   availableMax LV                      255Cur LV                      1Open LV                     1Max PV                      16Cur PV                      1Act PV                      1Max PE per PV               35004VGDA                        2PE Size (Mbytes)            8        —> 1 PE is  8 MBTotal PE                    17499Alloc PE                    17400Free PE                     99              —>

How to Calculating Free PE in HP-UX Read More »

Scroll to Top