MS SQL Server Secon...
 
Notifications
Clear all

MS SQL Server Secondary Data Files Not Calculated Correctly

1 Posts
1 Users
0 Reactions
8 Views
Posts: 30
Topic starter
(@msaragnoli)
Eminent Member
Joined: 8 years ago

Hello everyone,

First of all, thank you so much for your incredible work on SolidCP. I really appreciate the effort you all put into maintaining and improving this great project.

I’ve recently encountered an issue that I believe might be affecting how disk space is calculated for customers using MS SQL Server with secondary data files (.ndf). It seems that when a database includes secondary data files (as shown in the attached screenshot), the panel displays a lower disk usage than the actual size (attached screenshot). Additionally, the scheduled task 'Calculate Spaces Disk Space' doesn’t appear to take these secondary files into account either.

file 1
file 2

As a result, customers who exceed their allocated space aren't being properly suspended, which can become a serious management issue on our end.

Is there any workaround or patch I could apply on my side to resolve or mitigate this behavior?

Any guidance would be greatly appreciated. I understand this is an open source project and your time is valuable — thank you in advance for any help you can provide!

Best regards,

Share: