Installation manual

Adding a Managed Volume
Adding a Share
CLI Storage-Management Guide 9-39
Ignoring the Share’s Free Space (optional)
This option is only relevant in a volume where you are manually calculating free
space (see “Manually Setting the Volume’s Free Space (optional)” on page 9-16).
Such a volume’s free space is the sum of the space from all of its shares, including
multiple shares from the same back-end storage volume. This can mean counting the
same storage multiple times: two or more shares from the same storage volume each
report the full amount of free space on the volume. For example, two NFS shares
from the same disk partition, /lhome, would each report the total free space on the
/lhome partition. A volume with both of these shares would double-count the free
space in /lhome.
You can manually exclude shares from the free-space calculation using
freespace
ignore
, as described for direct shares (recall “Ignoring the Share’s Free Space
(optional)” on page 8-16). For example, this command sequence ignores all free space
in the “back2” share:
prtlndA1k(gbl)# namespace nemed
prtlndA1k(gbl-ns[nemed])# volume /acctShdw
prtlndA1k(gbl-ns-vol[nemed~/acctShdw])# share back2
prtlndA1k(gbl-ns-vol-shr[nemed~/acctShdw~back2])# freespace ignore
prtlndA1k(gbl-ns-vol-shr[nemed~/acctShdw~back2])# ...
Including the Share in the Free-Space Calculation
By default, free space from all shares is counted toward the volume’s total. To include
this share in the free-space calculation, use
no freespace ignore as you would with a
direct share (recall “Including the Share in the Free-Space Calculation” on
page 8-16). For example:
bstnA6k(gbl)# namespace wwmed
bstnA6k(gbl-ns[wwmed])# volume /acct
bstnA6k(gbl-ns-vol[wwmed~/acct])# share bills
bstnA6k(gbl-ns-vol-shr[wwmed~/acct~bills])# no freespace ignore
bstnA6k(gbl-ns-vol-shr[wwmed~/acct~bills])# ...