- Community Home
- >
- Storage
- >
- HPE Nimble Storage
- >
- Array Performance and Data Protection
- >
- Unlimited snapshot quota using CLI
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2015 07:51 AM
тАО11-20-2015 07:51 AM
After migration to Nimble Cinder driver all volumes have snapshot quota assigned to 100%, which results in some volumes being taken offline when quota exceeded.
After repeating the same clicks for a few volumes, I've tried to use CLI to set quota snapshot quota level to unlimited. Failed miserably:
Nimble OS $ vol --edit volume-adbff2d4-b265-47a5-beb5-6972fb3a4820 --snap_quota unlimited
ERROR: the argument ('unlimited') for option '--snap_quota' is invalid
INFO: Use the --help option to view usage information.
Obviously, --snap_quota option only accepts integer values.
Which magic value shall I provide for snap_quota to disable that quota completely?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-24-2015 02:07 AM
тАО11-24-2015 02:07 AM
Re: Unlimited snapshot quota using CLI
The valid figures are any positivie digit, strangely even above 100%, so in the short term you could set this to 1000% or even higher
I'm checking to find out if/what the valid "unlimited" argument is for you.
You can always set this in the GUI but I suspect you don't want to have to do this for multiple volumes!
Regards
Phil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-24-2015 07:21 AM
тАО11-24-2015 07:21 AM
Re: Unlimited snapshot quota using CLI
Phil is 100% right !! You can set each positive number, no negatives. Even zero is possible. But it will not be set to 'unlimited' .
I guess this is a bug.
Regards
Walter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-24-2015 07:30 AM
тАО11-24-2015 07:30 AM
Re: Unlimited snapshot quota using CLI
Phil, Walter,
Thank you for your replies. I have set up a soon-to-be-offline volume's quota to 100,000% now (one can fit a lot of percents in UINT64 ). Let's see if it trips over some quota accounting bug.
Hope, this issue will be resolved. I like avoiding hacks in configs as much as possible.
Thanks,
Pavel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-24-2015 09:44 AM
тАО11-24-2015 09:44 AM
SolutionOK I have a definative answer on this
There are 3 ways that I know of (without creating a new volume) to do this.
1. Use the GUI
2. Use the REST API in NOS 2.3.x
3. Wait for NOS 3.0
Spoiler - I've not yet tested option 2 or 3
So currently the CLI will not allow you to change this back to Unlimited. As of NOS 3.x it will (said with all the usual future looking caveats I can come up with) and Pavel was correct in his guess, it will be "unlimited" as the correct parameter.
So do have a look at the 2.3.x REST API, youcan find more about it here Nimble OS 2.3 тАУ REST API
There is a full API Reference in InfoSight: Nimble Storage InfoSight
Regards
Phil