labellun

Creates a Solaris label on a disk.

Read syntax diagramSkip visual syntax diagram
>>-labellun--+-----+--+-----+--diskname------------------------><
             '- -f-'  '- -s-'

Parameters

–f
Forces the system to create a Solaris label on the disk even if a label already exists.
–s
Runs silently, turns off confirmation messages for this command.
diskname
Identifies the disk on which you want a Solaris label.

Prerequisites

You must have root privileges to use this command.

Description

When a Solaris client first discovers a volume, a disk label is created in sector zero of the storage device to enable the Solaris driver to address the LUN as if it were a regular SCSI disk. The labellun command enables you to label your own LUN manually if you do not want to rely on it being done automatically.

Example

Label a disk The following example labels /dev/dsk/c2t9d5s2 as a Solaris disk:
labellun /dev/dsk/c2t9d5s2

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