# Unify four partitions. # Declare the storage directories. volume posix1 type storage/posix option directory /export/sda6/export end-volume volume posix2 type storage/posix option directory /export/sda7/export end-volume volume posix3 type storage/posix option directory /export/sdb5/export end-volume volume posix4 type storage/posix option directory /export/sdb6/export end-volume # The namespace storage. volume posix-ns type storage/posix option directory /export/sdb6/export-ns end-volume # The locks for the storage to create bricks. volume brick1 type features/posix-locks option mandatory on # enables mandatory locking on all files subvolumes posix1 end-volume volume brick2 type features/posix-locks option mandatory on # enables mandatory locking on all files subvolumes posix2 end-volume volume brick3 type features/posix-locks option mandatory on # enables mandatory locking on all files subvolumes posix3 end-volume volume brick4 type features/posix-locks option mandatory on # enables mandatory locking on all files subvolumes posix4 end-volume volume brick-ns type features/posix-locks option mandatory on # enables mandatory locking on all files subvolumes posix-ns end-volume # Now unify the bricks. volume unify type cluster/unify option namespace brick-ns subvolumes brick1 brick2 brick3 brick4 option scheduler rr end-volume # Serve the unified brick on the network. volume server type protocol/server option transport-type tcp/server subvolumes unify option auth.addr.unify.allow 10.101.5.32,127.0.0.1,10.24.1.4 end-volume