3 Posts
0
2361
December 18th, 2019 04:00
check capacity of a volume with naviseccli on VNX5200
Hi,
I ask you for a help to make a script with Naviseccli.exe which allows to check the capacity of a volume being on a volume of a VNX5200 bay,
I do not know this script language, I just managed to connect to it with:
naviseccli -user uservnx -password passvnx -h -scope 0 -np getagent
Thank you
No Events found!
SteveK821
2 Intern
•
149 Posts
0
December 18th, 2019 05:00
naviseccli -user uservnx -password passvnx -h -scope 0 getlun [lun-number] -capacity
This will return the capacity in MB and Blocks for that particualr LUN. You can leave out the -capacity switch to get all details about the LUN.
The user guide for CLI is here: https://support.emc.com/docu47580_VNX-Command-Line-Interface-Reference-for-Block-5.33.pdf?language=en_US
SteveK821
2 Intern
•
149 Posts
0
December 18th, 2019 07:00
There is no way to find out that information using naviseccli as block storage has no idea of the filesystems running on it. You need to query the filesystem. Is your VNX a unified machine? Then you would need to log in to the control station and run the nas_fs command
nas_fs -info -size [fs_name]
Maybe this thread can help: https://www.dell.com/community/VNX/File-System-Usage-Stats-via-CLI/td-p/7094146
celiky
3 Posts
0
December 18th, 2019 07:00
Thank you.
i have already tested this command. it's ok for a LUN but it's about seeing the remaining disk space on a cifs share folder and not on a LUN.