Provide an example of a CLI command to create a FlexVol named vol1 on aggregate aggr0 with 100GB.

Study for the NetApp Certified Technology Associate NS0-002 Exam. With detailed flashcards and multiple choice questions, including hints and explanations, you'll be well-prepared to ace your exam!

Multiple Choice

Provide an example of a CLI command to create a FlexVol named vol1 on aggregate aggr0 with 100GB.

Explanation:
To create a FlexVol with a specific name on a given aggregate, you use the vol create command, specifying the volume name first, then the aggregate, and then the size. The exact format vol create vol1 -aggregate aggr0 -size 100g follows the common syntax: vol create, the volume name, the target aggregate, and the desired size. Here, vol1 is the name, aggr0 is the aggregate, and 100g means 100 gigabytes, which matches the request. If you see 1t, that would allocate 1 terabyte, not 100 gigabytes, so that doesn’t meet the requirement. Writing vol vol1 create is not the correct command form for ONTAP. While some environments might accept a different argument order, the standard and widely used syntax demonstrates the aggregate before the size, making the specified form the best match for typical usage.

To create a FlexVol with a specific name on a given aggregate, you use the vol create command, specifying the volume name first, then the aggregate, and then the size. The exact format vol create vol1 -aggregate aggr0 -size 100g follows the common syntax: vol create, the volume name, the target aggregate, and the desired size. Here, vol1 is the name, aggr0 is the aggregate, and 100g means 100 gigabytes, which matches the request.

If you see 1t, that would allocate 1 terabyte, not 100 gigabytes, so that doesn’t meet the requirement. Writing vol vol1 create is not the correct command form for ONTAP. While some environments might accept a different argument order, the standard and widely used syntax demonstrates the aggregate before the size, making the specified form the best match for typical usage.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy