Adding a Managed Volume
Manually Setting the Volume’s Free Space (optional)
9-16 CLI Storage-Management Guide
Manually Setting the Volume’s Free Space
(optional)
The next step in creating a volume is to choose an algorithm for calculating its free
space. This is the free-space calculation that is passed onto the client: whenever a user
mounts a volume (NFS) or maps a network drive to it (CIFS), this total is the free
space that they see. By default, the volume automatically detects any back-end shares
that draw from the same storage pool, and counts the free space in only one of those
back-end shares.
The direct-volume chapter described how to manually configure free space in a direct
volume. Recall “Manually Setting the Volume’s Free Space (optional)” on page 8-3.
The command is the same for a managed volume:
freespace calculation manual from
gbl-ns-vol mode. For example, this makes the ‘nemed~/acctShdw’ volume count the
free space in all back-end shares, even multiple shares that draw from the same
back-end storage pool:
prtlndA1k(gbl)# namespace nemed
prtlndA1k(gbl-ns[nemed])# volume /acctShdw
prtlndA1k(gbl-ns-vol[nemed~/acctShdw])# freespace calculation manual
prtlndA1k(gbl-ns-vol[nemed~/acctShdw])# ...
You can then adjust the free space at each share, as described in the direct-volume
chapter and re-iterated later in this chapter.
Using Automatic Free-Space Calculation
By default, free space is calculated based on the IDs of the volumes behind the
back-end shares. If any of these shares report the same volume ID, their free space is
counted only once. To return to this default, use
no freespace calculation manual. For
example:
bstnA6k(gbl)# namespace wwmed
bstnA6k(gbl-ns[wwmed])# volume /acct
bstnA6k(gbl-ns-vol[wwmed~/acct])# no freespace calculation manual
bstnA6k(gbl-ns-vol[wwmed~/acct])# ...
Comentarios a estos manuales