Some configuration commands

Contributors netapp-ivanad Download PDF of this page

There are few commands that help you in configuring SnapDrive for UNIX.

The following table summarizes additional commands that are helpful in configuring SnapDrive for UNIX:

Command or action Description

Configuring and verifying your version of SnapDrive for UNIX software

snapdrive config show

Check the values in the snapdrive.conf file.

snapdrive version`

Check the version of SnapDrive for UNIX.

snapdrived start

Start the SnapDrive for UNIX daemon.

snapdrive config prepare luns -count count_value

Prepare the host for creating a specific number of LUNs as well as to determine how many LUNs you can create.

snapdrive config set -viadmin <user> <viadmin_name>

Prepare the guest for creating RDM LUN on Linux guest OS.

Note You can use these commands only on Linux host by using FCP protocol with no host utilities.

snapdrive clone split`

Estimate, start, stop, and query the status of split for a volume clone or a LUN clone.

Edit the variables in the snapdrive.conf file.

Change the path name and options for the log files. SnapDrive for UNIX logs information to three files:

  • An audit file

  • A recovery file

  • A trace file

Setting and displaying access control permissions between a host and a storage system.

Edit the access control permissions file (sd hostname.prbac) on the storage system associated with that host.

Specify the access control permissions a host has on a storage system. You can set the following access levels for a host on a storage system:

  • NONE—​No access.

  • SNAP CREATE—​Create Snapshot copies.

  • SNAP USE—​Delete and rename Snapshot copies.

  • SNAP ALL—​Create, restore, delete, and rename Snapshot copies.

  • STORAGE CREATE DELETE—​Create, resize, and delete storage.

  • STORAGE USE—​Connect and disconnect storage.

  • STORAGE ALL—​Create, delete, connect, and disconnect storage.

  • ALL ACCESS—​All operations.

snapdrive config access show <filer_name>

Display information about the access control permissions a host has to a storage system.

snapdrive config delete <filername> [<filername> . . .]

Remove the specified user name-password pair from SnapDrive for UNIX.