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
LVM information crash with ODM
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
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
Ref: http://odf-converter.sourceforge.net/
Monday, January 29, 2007
AIX LVM Quick Refrence
Quick reference only. Assumed the reader is familiar with the concept of AIX LVM
Action | smitty command | Command line | Remarks |
Create a VG | smitty mkvg | mkvg -y ' |
|
Create a LV | smitty mklv | mklv -t jfs -y ' | jfs2 is preferred |
Create a filesystem | smitty crfs | crfs -v jfs -a bf=true -d | jfs2 is preferred |
Resize FS | smitty chfs | chfs -a size=+ |
|
Extend a VG | smitty extendvg | extendvg |
|
Reduce a VG | smitty reducevg | reducevg |
|
Move PV data | smitty migratepv | migratepv -l |
|
Online a vg | smitty varyonvg | varyonvg |
|
Offline a vg | smitty varyoffvg | varyoffvg |
|
Export a VG | smitty exportvg | exportvg |
|
Import a VG | smitty importvg | importvg -y |
|
Remove a filesystem | smitty rmfs | Not recommend to use CLI |
|
Make a lvcopy | smitty mklvcopy |
| Mirror a LV |
Remove a lvcopy | smitty rmlvcopy |
| Remove the mirror of a LV |
Split a lvcopy | No smitty | splitlvcopy -y | |
Mirror a vg | smitty mirrorvg | mirrorvg |
|
Unmirror a vg | smitty unmirrorvg | Not recommend to use CLI |
|
Saturday, January 27, 2007
The World is Flat
Nowadays information technology shortens the distance between people. Anybody who know how to use the IT skill can join the platform and interact with others. This is so called the 'Flat World'. The author mentioned some companies start outsourcing some jobs or tasks to India, China, or other developing countries. This would reduce the cost as well as improve the efficiency. Because of a task of my company, I just communicated with a India support and completed the task. Apart from the language issue, there are no difference whether I was working with a local or a remote support. Perhaps you will find all the back end support will be in Indea, China, or somewhere you cannot imagine. Just as what the author said, the world is becoming flat.
Nevertheless, language is still a issue for me. It is not an easy task for me to speak in English with the Indian. Perhaps I still have to improve my English.
Ref: The book in Amazon