Hi,
You can defragment if you have online JFS.
In your case it is always advisable to configure secondary swap space as Suggested by JRF.
1. To Report on Directory Fragmentation
# /usr/sbin/fsadm -D /[filesystem-name]
2. To Defragment Directory
Note: "-s" option shows the summary of the activity
"-v" option shows the result in verbose mode
# /usr/sbin/fsadm -F vxfs -d -s /[filesytem-name]
3. To Report on Extent Fragmentation
# /usr/sbin/fsadm -E /[filesystem-name]
4. To Defragment Extents
Note: "-s" option shows the summary of the activity
"-v" option shows the result in verbose mode
# /usr/sbin/fsadm -F vxfs -e -s /[filesytem-name]
Regards
Animesh
Did you take a backup?