logical device name from a physical device name (such as
/devices/pci@6,4000/scsi@4,1/sd@3,0
).
To make the necessary translation from one form of disk identifier to another, see
Chapter 4. Once you have determined both the disk slot number and logical device
name, you are ready to continue with this procedure.
Removing a Disk Drive From Your Application
Continue the hot disk removal by following the instructions for your specific
application:
4
“UNIX File System (UFS)” on page 29
4
“Solstice DiskSuite” on page 30
UNIX File System (UFS)
The following procedure describes how to deconfigure a disk being used by one or
more UFS file systems.
1. Type
su
and your superuser password.
2. Identify activities or applications attached to the device you plan to remove.
Commands to use are
mount
,
showmount -a
, and
ps -ef
. See the
mount(1M)
,
showmount(1M)
, and
ps(1)
man pages for more details.
For example, where the controller number is
1
and the target ID is
2
:
# mount | grep c1t2
/export/home1 on /dev/dsk/c1t2d0s2 setuid/read/write on
# showmount -a | grep /export/home1
cinnamon:/export/home1/archive
austin:/export/home1
swlab1:/export/home1/doc
# ps -f | grep c1t2
root
1225
450
4 13:09:58
pts/2
0:00 grep c1t2
In this example, the file system
/export/home1
on the faulty disk is being
remotely mounted by three different systems—
cinnamon
,
austin
, and
swlab1
.
The only process running is
grep
, which has finished.
3. Stop any activity or application processes on the file systems to be deconfigured.
4. Back up your system.
5. Determine what file systems are on the disk:
Disk Drive Hot-Plug Procedures
29
Summary of Contents for Sun Ultra 450
Page 8: ...viii September 1998 Revision A...
Page 12: ...4 September 1998 Revision A...