Thursday, March 27, 2008

Filesystem full issue.

Filesystem full Issues:
---------------------------
Change the directory to the particular filesystem.

#cd (filesystem)

Check the directory or filesystem which is using maximum size.

#du -sk *|sort -rn|more

1746564 ML11
1727332 usr
814192 tia
616808 u101
359216 tiv
233357 var
208200 etc ---
137432 op ---
124164 esm
62296 home

Depend upon the usage of that particular file remove or compress it.

# rm (filename)

#gzip -c (filename)

Removing a volume group

unmount filesystem
-----------------------------

#unmount (filesystem)

remove filesystem
--------------------------

#rmfs (filesystem)

Varyoff vg
---------------

#varyoffvg (Volume Group)

Export vg
--------------

#exportvg (Volume Group)

Remove the disk
---------------------

#rmdev -dl (Physical Volume)

Aix basic commands.

this is a demo.. in future will post the AIX related issues shortly.