It is a nightmare. I found that one of the AIX server cannot build a mirror of the rootvg. After investigation, it even failed to extend a new disk (PV) to rootvg. Then I tried "odmget" command and found something strange: ODM indicated that there were 2 PVs in rootvg already.
Therefore, the situation is the ODM and LVM records are not consistent. What should I do? Luckily, I got a wonderful command - synclvodm
I ran "synclvodm -v rootvg", that's all. The new PV was added to rootvg and I could just happily build the mirror (smitty mirrorvg). Bravo !!!!
Ref: Man page of synclvodm
Contains technical document about Unix/Linux, Java, Python, Raspberry Pi and other IT related topics. Not a full tutorial but as a quick reference guide
Monday, February 26, 2007
Tuesday, February 13, 2007
How to add a swap file in Solaris
- # mkfile 10m /tmp2/swapfile
- # swap -a /tmp2/swapfile
- # swap -l
swapfile dev swaplo blocks free
/dev/dsk/c0d0s1 102,1 8 303400 303400
/dev/dsk/c0d1s6 102,70 8 21160 21160
/tmp2/swapfile - 8 20472 20472
- (Optional, if need to make the change permanent)
- Edit /etc/vfstab
/tmp2/swapfile - - swap - no -
- reboot
- Edit /etc/vfstab
Monday, February 05, 2007
ODF Add-in for Microsoft Word
Finally, we can read and save document as open document format from Microsoft Word. It means that everyone can use an open, unique standard format with different programs.
Ref: http://odf-converter.sourceforge.net/
Ref: http://odf-converter.sourceforge.net/
label
News
Subscribe to:
Posts (Atom)