Mounting Resource Pools and Shares
As mentioned before, a Resource Pool contains a collection of Shares. Both Resource Pools and Shares are mountable. However, Resource Pools are only mountable in read-only mode, while Shares can be mounted in read-only or read-write.
Mounting a Resource Pool
Section titled “Mounting a Resource Pool”When a Resource Pool is created, you need to provide an IP ACL for the network of IPs that can mount the Resource Pool.
It has a field called Mount Path, that looks like this: 10.2.1.1:/rp\_VKL20Ub. From the client with an IP belonging to the network of the given IP ACL, you can run this command to mount the Resource Pool:
mkdir my-resource-poolsudo mount -t nfs 10.2.1.1:/rp_VKL20Ub my-resource-poolcd my-resource-poolKeep in mind that:
- Clients can only mount Resource Pools in read-only.
- A Resource Pool has a size.
- It is possible to mount
10.2.1.1:/. If you do so and then runls, you will be able to see other Resource Pools on the same Organization. However, you will not be able to do anything with them, as each Resource Pool has its own IP ACL.
Mounting a Share
Section titled “Mounting a Share”When a Share is created, you can optionally pass it a Share Export Policy, to control which IPs can mount the Share, and with which permissions. If you don’t attach any Share Export Policy to the Share, mounting the Share inherits the rules of the Resource Pool. In other words, the IP ACL of the Resource Pool is applied and the client can only mount the Share in read-only mode.
A Share has a field called Mount Path, that looks like this: 10.2.1.1:/rp\_VKL20Ub/my-share. It is mountable the same way as the Resource Pool.
Keep in mind that:
- In order to have read-write access on a Share, you need to create a Share Export Policy beforehand and attach it to the Share.
- A Share does not have a fixed size. By default, every Share in a Resource Pool have access to all the space of the Resource Pool. You can limit the space a Share consumes.
- If you apply a Share Export Policy to the Share, you can define a subset of the network in the Resource Pool IP ACL. If you define a network that is bigger than the Resource Pool IP ACL, then the Resource Pool IP ACL will take precedence.