sanfs_ctl disk

Controls the SAN File System volumes (disks) that a client can access and lists accessible disks. The need to use this command is greatly reduced when the sanfsd program is running, because the sanfsd program responds to data LUN operations from the metadata servers. This command only provides another means to check and control the disks that a specific Solaris client can access.

Read syntax diagramSkip visual syntax diagram
>>-sanfs_ctl--disk--+-add----+-- -instance--mount_point--------->
                    '-remove-'

>--+-----------------------+-----------------------------------><
   |         .-,---------. |
   |         V           | |
   '- -disk----disk_name-+-'

or

Read syntax diagramSkip visual syntax diagram
>>-sanfs_ctl--disk--+-list----+-- -instance--mount_point-------><
                    '-release-'

Parameters

add
Adds the specified disk file name to the list of disks that the Solaris client uses for I/O operations.
remove
Removes the disk from the list of disks that the Solaris client uses for I/O operations.
list
Lists all the disks that are accessible from the given instance.
–release
Removes all the disks that are accessible from the given instance.
–instance mount_point
Specifies the directory on which the client instance is mounted.
–disk disk_name
Specifies one or more names of the disks to add or remove. When you specify more than one name, separate the names with a comma and no space (for example, -disk /dev/dsk/disk1,/dev/dsk/disk2).

Prerequisites

You must have root privileges to use this command.

Description

The sanfs_ctl disk command enables manual control over the disks used by the Solaris client when it performs I/O operations. When the sanfsd program is running, there is little need to use this command.

Example

List accessible disks The following example lists all the disks that are accessible for the local client for Solaris that is mounted on /mnt/sanfs:
sanfs_ctl disk list -instance /mnt/sanfs

Parent topic: Solaris-client commands

Library | Support | Terms of use | Feedback
(C) Copyright IBM Corporation 2003, 2004. All Rights Reserved.
IBM TotalStorage SAN File System v2.2