Installation manual

Adding a Direct Volume
Declaring the Volume “Direct”
8-2 CLI Storage-Management Guide
A direct volume is easier to set up than a managed volume, so this chapter is offered
before the managed-volume chapter.
As explained earlier (in “Adding a Volume” on page 7-21), you use the gbl-ns
volume
command to create a volume. This puts you into gbl-ns-vol mode, where you must
declare this volume for use as a direct volume and create at least one direct share.
For example, this command set creates a single volume (“/vol”) for the “medco”
namespace:
bstnA6k(gbl)# namespace medco
bstnA6k(gbl-ns[medco])# volume /vol
This will create a new volume.
Create volume '/vol'? [yes/no] yes
bstnA6k(gbl-ns-vol[medco~/vol])# ...
Declaring the Volume “Direct”
A new volume is a managed volume by default; the next chapter describes the
more-complex managed volumes. From gbl-ns-vol mode, use the
direct command to
convert a managed volume into a direct volume:
direct
For example, this command sequence converts the volume, “medco~/vol,” into a
direct volume:
bstnA6k(gbl)# namespace medco
bstnA6k(gbl-ns[medco])# volume /vol
bstnA6k(gbl-ns-vol[medco~/vol])# direct
bstnA6k(gbl-ns-vol[medco~/vol])# ...
Direct volumes do not support NFSv2. This protocol is set in the volume’s namespace, as
described earlier in “Setting the Namespace Protocol(s)” on page 7-9.