Why the decompression speed of tar files is extremely slow during the upgrade of NMS?
After upgrade of the V200R001C01B061SP05 tool, the upgrade tool has made some modifications to the system in order to shorten the upgrade process of the entire NMS. Take the following file for example. The upgrade tool changed the values of mount options in /proc zone and swap zone to “forcedirectio”, so the tool can skip the file system and directly read/write the disk. Thus the library establishing speed is greatly expedited. After the upgrade, the values of mount options will be changed back to the original values. This configuration slows down the tar files decompression process considerably.
You can complete the decompression of all tar packets before starting the upgrade process. If tar decompression is required during the upgrade, you can modify the values of mount options in the files to “ ?“, and then change them back after completing the decompression.
root@ain1 # more /etc/vfstab
#device device mount FS fsck mount mount
#to mount to fsck point type pass at boot options
#/dev/dsk/c1d0s2 /dev/rdsk/c1d0s2 /usr ufs 1 yes -
fd - /dev/fd fd - no -
/proc - /proc proc - no forcedirectio
/dev/dsk/c3t0d0s1 - - swap - no -
/dev/dsk/c3t0d0s0 /dev/rdsk/c3t0d0s0 / ufs 1 no -
/dev/dsk/c3t0d0s7 /dev/rdsk/c3t0d0s7 /globaldevices ufs 2 yes -
swap - /tmp tmpfs - yes forcedirectio
/dev/dsk/c3t1d0s1 /dev/rdsk/c3t1d0s1 /opt ufs 1 yes -
You are recommended to decompress all tar packets before starting the upgrade process.