Stage 2: Mounting the Cluster
Next, you need to mount the cluster to make it accessible to the client. You can do this with the the pstorage-mount command. For example, if your Virtuozzo Storage cluster has the name of stor1 , you can run this command to mount it to the /pstorage/stor1 directory on the client:
# pstorage-mount -c stor1 /pstorage/stor1
You can also configure the client to automatically mount the cluster to the /pstorage/stor1 directory when the client boots. To do this, add a line like the following to the /etc/fstab file:
pstorage://stor1 /pstorage/stor1 fuse.pstorage rw,nosuid,nodev 0 0
Note: If the cluster is not used for virtualization, you can mount it with the --fail-on-nospace option. In this case an ERR_NO_SPACE error will be returned if the cluster runs out of free space.
|