Assuming that I do not have access to windows server, can I run a script from SSMS that would allow me to check whether allocation unit size is formatted with 64K?
Sql-server – check what the allocation unit size is on the drives via a query
sql server
Related Question
- SQL Server Backup to Local and Mirror to Azure Files – Error Resolution
- SQL Server – Understanding Disk Partition Alignment for Windows Server 2012 and SQL Server 2014
- SQL Server – Determine Exact File Containing Allocation Unit in Filegroup
- SQL Server – All Flash Storage Configuration
- Sql-server – Allocation Size for Backup disk on SQL Server
- SQL Server on Linux – Allocation Unit on ext4
- SQL Server 2017 – Instance Root Directory on 64k Allocation Unit Size
Best Answer
Maybe this is one way:
Line 9 shows, e.g.:
There are obviously more powerful ways to do this using, e.g. PowerShell, but as I suggested in my comment, it's hard to understand exactly what you're going to do with the output in SSMS, and what kind of effort you're willing to go to in order to use these methods from within SSMS... I'd say it's much better to get these values externally (which gives you so many more options), then update a table you can query from within SSMS.