SmartDisk cannot be started. After less than a minute it stops while producing the below messages to the open linux terminal session:
7 STNZFILE ??? 56 124520762389 StnzFileHasPendingTransactions('/mnt//smartdisk/store/diskmanager/volume.meta')
5 FILEMANP ??? 7 124521018985 Failed to stat '/mnt/smartdisk/store/diskmanager/volume.meta.__stnztmp' : 2:The system cannot find the file specified.
5 FILEMANP ??? 7 124521019649 Failed to stat '/mnt/smartdisk/store/diskmanager/volume.meta.__stnzwrt' : 2:The system cannot find the file specified.
5 FILEMANP ??? 7 124521220899 Failed to stat '/mnt/smartdisk/store/diskmanager/volume.meta.__stnzupdt' : 2:The system cannot find the file specified.
5 FILEMANP ??? 7 124521455761 Failed to stat '/mnt/smartdisk/store/diskmanager/volume.meta.__stnz' : 2:The system cannot find the file specified.
7 STNZFILE ??? 58 124521455777 StnzFileHasPendingTransactions (END) result 2
7 STNZFILE ??? 66 124521455783 StnzFileDeleteTmpFiles('/mnt//smartdisk/store/diskmanager/volume.meta', 1)
5 FILEMANP ??? 7 124521455807 Failed to stat '/mnt/smartdisk/store/diskmanager/volume.meta.__stnztmp' : 2:The system cannot find the file specified.
7 STNZFILE ??? 71 124521455814 StnzFileDeleteTmpFiles (END)
0 SYS ??? 1 124521456965 /home/buildbot/buildslaves/k6linux32bot/smartdisk-linux-x86_Hybrid/build/k6/diskmanager/source/libraries/diskstorage/diskstorage.c:3052 - Failed assertion: TRUE == StnzFileFindStanza(oStnzFile, pustrCatagory, pustrTitle)
0 SYS ??? 2 124521457446 /usr/smartdisk/foundation/lib/libnvessentials.so(SysCrash+0x94) [0xf7f052b4]
0 SYS ??? 2 124521457479 /usr/smartdisk/diskmanager/lib/libnvdiskstorage.so(DiskStorageReadVolumeMeta+0x133) [0xf7e08d13]
0 SYS ??? 2 124521457489 superserver [0x805db1b]
0 SYS ??? 2 124521457497 /usr/smartdisk/foundation/lib/libnvbasics.so(ListWalk+0xb3) [0xf7e72f33]
0 SYS ??? 2 124521457505 superserver [0
The Superserver process is crashing while reading the volume.meta file which is abnormally 0 byte.
Such issue may be a sign of a disk error which should be investigated immediately to prevent potential irreparable damage to SmartDisk.
In this particular case the Content/Disk Index was located on a NFS network mount which experienced I/O issues and showed a 'stale ntfs handle' error and had to be remounted.
* Check that none of the NVSD processes are still running (e.g. ps -fu <smartdisk_user).
* Delete "../smartdisk/store/diskmanager/volume.meta" file (e.g rm ../smartdisk/store/diskmanager/volume.meta ).
* Restart NVSD
* NVSD may appear to hang as it starts up (i.e. not shown as online in NVBU). This is not an issue, and NVSD should be left until it's created a new volume.meta file (unless it's asserted again).
* You may see messages on the console similar to the following;
***** 3252 1342451198.651469 INDEXER Disk Content Index Data Element count '0' updated to '2'
***** 3252 1342451198.651513 INDEXER Disk Content Index Protected Data count '0' updated to '98'
***** 3252 1342451198.651525 INDEXER Disk Content Index Staged Data Elements count '0' updated to '1'
***** 3252 1342451198.651536 INDEXER Disk Content Index Data Committed count '0' updated to '98'
* This is not an issue. It simply shows that NVSD has re-calculated the values stored in the volume.meta file. These messages will only be shown when the volume.meta file has been deleted, they shouldn't be seen on subsequent restarts.
Note:
After this procedure, some statiscical information for the NVSD Instance may be lost. However this is only the accumlative values and won't affect the future operation of NVSD (or licensing calculations).