5 minute readNetApp Quick Tip: Create a Volume Using the CLI
Have a NetApp system within your storage environment? Reliant Technology’s NetApp engineering experts are here to help you with a series of quick tip videos for you to use as a NetApp Admin Guide of sorts.
Today’s NetApp quick tip: Teaching you how to create a volume on your NetApp filer using the Command-Line Interface (CLI).
If you missed our first tip on how to create an aggregate for your NetApp storage system using the CLI, you’ll want to check out that video here before watching this quick tip video.
Want to learn more about NetApp filers or find out how Reliant’s engineering experts can help you craft a perfect storage solution for the specific needs of your IT infrastructure? Reach out to one of our NetApp specialists or call 1.877.227.0828.
Hello. Welcome to Reliant Technology. We’re going to be creating a volume from the Command-line interface in 7-mode in the NetApp storage system. The previous aggregate that we created was AGGR_reliant. We’re going to start off by typing in “vol create” with a question mark. We’re going to be using some of these switches today to create our volume. To begin creating the volume, we will type in “vol create.”
We will then specify the name of the volume, which is going to be reliant_vol. We will then use a dash lower case l switch, which is language. We will use “EN” for English. We will then use a dash lower case s. This is the volume file or none specification for the volume when it comes to space reserved. In this case, we are going to type in none.
This is actually going to thin provision the volume for us. Then we are going to specify the aggregate where we want this volume residing. In this case, it is AGGR_reliant. Then we will specify what size this volume will be. In this example, we are going to use 50 gig. Now we hit enter. There you see the creation of the volume with a 50 gig size on aggregate AGGR_reliant has completed. We will then go to the NetApp OnCommand System Manager.
We will actually do a refresh. You actually see that the Reliant_vol was created. We will now do an edit. The security style will always be defaulted to UNIX. If you need to use NFTS or mixed, you can actually chose it here and do a save. You can see the check mark in thin provisions.
This was with the -s none command that we use to create the volume. The next thing we want to do with this volume is enable storage efficiency. Storage efficiency, in other words, is deduplication. There’s no switch in OnCommand to create on the CLI for this. There’s a separate command that we need to run, so we will go do that now.
We go back to the CLI. We actually type in sis on, then we specify the volume path which is reliant_vol and hit enter. You see that the deduplication has been enabled for this volume. Now if you want to run the deduplication immediately, we can actually run the sis start command with a -s. This is if you have data that you’re going to be putting into your volume pretty quickly.
We can go ahead and get the volume deduped and we hit enter. We say yes to actually start the deduplication process. As you can see, it is starting on this volume. We’ll actually go back into the storage efficiency and we will actually do a refresh so we can actually see that it was enabled. Now the default schedule deduplication is 7 days a week at midnight.
You can change this according if you want to do another deduplication schedule, but the default is midnight, am 7 days a week.
We do appreciate you watching. Thank you.
Subscribe to our newsletter for blog, End-of-Life (EOL/EOSL) dates, and data center news and information.
Reid is the founder and CEO of Reliant Technology and for 14 years has pursued his mission to remove the pain associated with maintaining IT infrastructure. Reid writes on common challenges related to maintaining, servicing, tracking, budgeting, and upgrading technology.
When you have Reliant Technology support your data center, you help us support SERV International and provide thousands of meals for starving children.
About Reliant Technology
As Data Center and storage experts, Reliant Technology is available to provide consultations and solutions to your server backup needs. Our experienced engineers and IT specialists are ready to help you determine the best option for your Data Center. If you have a topic you would like to see discussed, or if you would like to submit an article for possible publication, please, get in touch with us.