Platform Notes: Using luxadm Software

Adding a Disk Drive

This section describes how to use Volume Manager to configure your system when you add a disk drive while the power is on and the operating system is running.


Caution - Caution -

These procedures should be performed only by a qualified system administrator. Performing hot-plug operations on an active disk drive may result in data loss and/or data corruption.


You must create a new device entry for the drive in the /devices and /dev/dsk and /dev/rdsk hierarchy. The new drive is assigned a name associated with the slot into which the drive was installed.

  1. Select any available slot in the StorEdge A5000 disk array for the new disk drive.

    For reference when you configure the software environment, make a note of which enclosure and slot you choose.

  2. Use the luxadm insert_device command to add the new device.

    This command is interactive. You will be guided through the procedure for inserting a new device or chain of devices.


    # luxadm insert_device macs1,f1
    
    
    The list of devices which will be inserted is:
      1: Box Name "macs1" front slot 1
    
    Please enter 'q' to Quit or <Return> to Continue: 
    
    
    Hit <Return> after inserting the device(s).

  3. Insert the disk drive and hit Return.

    The following is displayed:


     Drive in Box Name "macs1" front slot 1
      Logical Nodes under /dev/dsk and /dev/rdsk :
    	c2t1d0s0
    	c2t1d0s1
    	c2t1d0s2
    	c2t1d0s3
    	c2t1d0s4
    	c2t1d0s5
    	c2t1d0s6
    	c2t1d0s7
    #

    The new disk drive is now available for use as a block or character device. Refer to the sd(7)man page for further details.

  4. Configure the Volume Manager to recognize the disk drive.


    # vxdctl enable
    

  5. Add the new disk to a new or existing Volume Manager disk group:


    # vxdiskadd cwtxdysz
    

    where: cwtxdysz is the new disk.

Refer to the vxdiskadd(1M) man page for further details.

The disk is now ready for use with Volume Manager as part of a new volume, added to an existing volume as a plex, or to increase an existing volume. Refer to your Sun StorEdge Volume Manager User's Guide for more information.