Sunday, June 15, 2008

Migrate filesystem on any UNIX platform

# cd /"source directory/filesystem"
# tar cfp - ./* |(cd /"target directory/FS"; tar xvfp -)

Thursday, May 15, 2008

Command to perform immediate ufsdump

E.g.:
ufsdump 0f - / | gzip -f -1 - > root.dump.gz

Tuesday, March 11, 2008

synclvodm - synchronising your logical volume manager in IBM AIX


Description

If you have problems with LVM because it is out of sync with the ODM in IBM AIX, you may see the following errors:

0516-306 getlvodm: Unable to find hd7copie in the Device
Configuration Database.
0516-912 rmlv: Unable to remove logical volume hd7copie.

To correct this, you must sync the ODM:

Before correction:

# lsvg -l rootvg
rootvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
...
hd7copie ??? 8 8 1 closed/syncd N/A

Run the sync command:

# synclvodm -v rootvg
synclvodm: Physical volume data updated.
synclvodm: Logical volume hd5 updated.
synclvodm: Logical volume hd6 updated.
synclvodm: Logical volume hd8 updated.
synclvodm: Logical volume hd4 updated.
synclvodm: Logical volume hd2 updated.
synclvodm: Logical volume hd9var updated.
synclvodm: Logical volume hd3 updated.
synclvodm: Logical volume hd1 updated.
synclvodm: Logical volume hd7 updated.
synclvodm: Logical volume hd7copie updated.
synclvodm: Logical volume rootvglv01 updated.

After the sync command completes:

# lsvg -l rootvg
rootvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
...
hd7copie dump 8 8 1 open/syncd N/A
Example

synclvodm -v vg_name

Friday, January 18, 2008

Tuesday, December 4, 2007

Howto switch on/off SMT features in LPAR

# smtctl -m 'on'

# smtctl -m 'off'

or via smitty -> under performance --> SMT

Wednesday, November 7, 2007

Alternative command for TOP in Solaris

There are fews command that to monitor overall performance.

1) sar 2 10
2) prstat

Sunday, October 28, 2007