Date: APR 2010
Product & Version: smartdisk 1.0
OS Version: Linux
Symptoms:
After adding new volumes to smartdisk, smart disk would not restart and failed with the following in the foundation trace:
5 UPATH -4352 1271322322279132 Converted UChar path string /usr/smartdisk/diskmanager/etc/storage.cfg in UPathO /usr/smartdisk/diskmanager/etc/storage.cfg to codepage
5 LIST -1486 1271322322279495 Start walk of list 0x08056490 with 6 items
0 LIBDIR -915 1271322322279764 Pool 'Store' has no volumes
5 LIST -1499 1271322322279795 Finished walk of list 0x08056490 with 6 items
0 LIBDIR -1191 1271322322279821 error calling LoadVolumes()
0 LIBDIR -1271 1271322322279847 error calling LoadConfig2()
0 LIBDIR -1387 1271322322279863 error calling LoadConfig()
0 LIBDIR -2253 1271322322279877 error calling GetConfig()
0 CSD -1150 1271322322279890 error calling LibDirInit()
0 CSD -1212 1271322322279897 error calling LibInitialise2()
0 CSD -369 1271322322279920 error calling LibInitialise()
6 CAFE -251 1271322322279937 Cleanup CAFE library
Checked /usr/smartdisk/diskmanager/etc/storage.cfg found storage entry for /NVSD/sd1 had no volume entry as as seen below:
[SmartDisk:Storage Pool]
Label = Store
Deny = Staging
Favour = Storage, Chunk Index, Disk Index
Overflow For = None
Balancing = Activity
Reservation Size = 1, GB
Cause: corruption in /usr/smartdisk/diskmanager/etc/storage.cfg file
Inserted volume entry for storage volume as below:
[SmartDisk:Storage Pool]
Label = Store
Deny = Staging
Favour = Storage, Chunk Index, Disk Index
Overflow For = None
Balancing = Activity
Reservation Size = 1, GB
[SmartDisk:Volume]
Storage Pool = Store
Size = 100, %
Deduplication Activity Cap = 4
Location = /NVSD/sd1
Explanation: the /usr/smartdisk/diskmanager/etc/storage.cfg file has a pool entry and a volume entry for each for storage or staging areas and if the volume entry is missing the volume is not mounted and we get the error “Pool 'Store' has no volumes”
Prepared by: Richard Downes