The N2000 BMS HA system of a certain office is powered off abnormally, and so the standby server can enter only the single-user mode. An error is displayed when the fsck-y command is run in this mode.
When the fsck -y command is run in the single-user mode, the following alarm is displayed:
** Currently Mounted on /opt
** Phase 1 ...
** phase 2
** phase 3
** phase 4
** phase 5
filesystem may still be inconsistent
*** please retun fsck on unmounted file systetm***
* /dev/vc/rdsk/n2kdg_N2000Primary/lv_license(NO WRITE)
warning: error writing ufs log state
warning: ufs log for /tmp/.rlg..daw.a/.rlg..daw.a changed state to error
warning: please umount(1M) /tmp/.rlg..daw.a/.rlg..daw.a and run fsck(1M) can’t roll the log for /dev/vx/rdsk/n2kdg_N2000Primary/lv_license.
discarding the log may discard pending transactions.
discard the log and continue? no
To modify /etc/vfstab, comment out the following line:
/dev/vx/dsk/n2kdg_N2000Primary/lv_license /dev/vx/rdsk/n2kdg_N2000Primary/ lv_license /opt/license ufs 2 yes logging
Restart the system, and the standby server can enter the multiuser mode. Mount all the volumes manually, and synchronize the standby server with the active one. In this case, the N2000 BMS system can recover.
The N2000 BMS of the office integrates the N2000 BMS and the License Server. Through alarm analysis of the fsck -y, the system fails to be started because the lv_licese volume of the License Server cannot be mounted.
Two solutions are available for the problem:
1. Stop the control by the Veritas and make the Solaris start itself. This solution is impossible because you need to de-encapsulate and unmirror the disks.
2. When the system is started, it mounts the volumes in the /etc/vfstab path automatically. Therefore, comment out the lv_license volume that cannot be loaded successfully, and then the system can be started successfully.