The defragfs command can be used to improve or report the status of contiguous space within a file system. For example, to defragment the file system /home, use the following command:
defragfs /home
Here is an example output:
Use rmfs [filesyste] to remove a file system, here is an example to remove /fs2
1). Identify filesystem to be removed:
# lsfs |grep /fs
/dev/lv02 -- /fs1 jfs 1024000 -- no no
/dev/fslv00 -- /fs2 jfs2 2097152 ro no no
Page 4 of 47