This section describes how to configure your system when you add a disk drive while the power is on and the operating system is running.
These procedures should be performed only by a qualified system administrator. Performing hot-plug operations on an active disk drive can 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.
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.
Use the luxadm insert_device command to add the new device.
# 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).
Insert the disk drive and hit return.
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.
Verify that the device label meets your requirements.
You can use the prtvtoc command to inspect the label for your disk. To modify the label, use the format command. Refer to the prtvtoc(1M) and format(1M) man pages for more information.
Once you have selected a disk slice for your UFS file system, create a file system on the slice:
# newfs /dev/rdsk/cwtxdysz
Refer to the newfs(1M) man page for more information.
If necessary, create a mountpoint for the new file system:
# mkdir mount_point
where: mount_point is a fully qualified path name. Refer to the mount(1M) man page for more information.
After the file system and mountpoint have been created, modify the /etc/vfstab file to reflect the new file system.
See the vfstab(4) man page for more details.
Mount the new file system using the mount command:
# mount mount_point
where: mount_point is the directory you created.
The file system is ready to be used.