1. Managing Removable Media (Overview)
2. Managing Removable Media (Tasks)
3. Accessing Removable Media (Tasks)
4. Writing CDs and DVDs (Tasks)
5. Managing Devices (Overview/Tasks)
6. Dynamically Configuring Devices (Tasks)
7. Using USB Devices (Overview)
9. Using InfiniBand Devices (Overview/Tasks)
11. Administering Disks (Tasks)
Administering Disks (Task Map)
How to Identify the Disks on a System
How to Determine if a Disk Is Formatted
How to Display Disk Slice Information
Creating and Examining a Disk Label
Recovering a Corrupted Disk Label
How to Recover a Corrupted Disk Label
How to Create a format.dat Entry
How to Identify a Defective Sector by Using Surface Analysis
How to Repair a Defective Sector
Tips and Tricks for Managing Disks
Labeling Multiple Disks by Using the prtvtoc and fmthard Commands
12. SPARC: Adding a Disk (Tasks)
13. x86: Adding a Disk (Tasks)
14. Configuring Oracle Solaris iSCSI Targets and Initiators (Tasks)
15. The format Utility (Reference)
16. Managing File Systems (Overview)
17. Creating ZFS, UFS, TMPFS, and LOFS File Systems (Tasks)
18. Mounting and Unmounting File Systems (Tasks)
19. Using The CacheFS File System (Tasks)
20. Configuring Additional Swap Space (Tasks)
21. Checking UFS File System Consistency (Tasks)
22. UFS File System (Reference)
23. Backing Up and Restoring UFS File Systems (Overview)
24. Backing Up UFS Files and File Systems (Tasks)
25. Using UFS Snapshots (Tasks)
26. Restoring UFS Files and File Systems (Tasks)
27. UFS Backup and Restore Commands (Reference)
28. Copying UFS Files and File Systems (Tasks)
The format utility automatically configures SCSI disk drives even if that specific type of drive is not listed in the /etc/format.dat file. This feature enables you to format, create slices for, and label any disk driver that is compliant with the SCSI-2 specification for disk device mode sense pages.
Here are other options for adding disks:
If you are adding a SCSI disk, you might to try the format utility's automatic configuration feature.
You might try hot-plugging a PCI, SCSI, or USB disk. For more information, see Chapter 5, Managing Devices (Overview/Tasks).
The following steps are involved in configuring a SCSI drive by using automatic configuration:
Shutting down the system
Attaching the SCSI disk drive to the system
Turning on the disk drive
Performing a reconfiguration boot
Using the format utility to automatically configure the SCSI disk drive
After the reconfiguration boot, invoke the format utility. The format utility will attempt to configure the disk and, if successful, alert the user that the disk was configured. For step-by-step instructions on automatically configuring a SCSI disk drive, see How to Automatically Configure a SCSI Drive.
Here's an example of a partition table for a 1.3-GB SCSI disk drive that was displayed by the format utility.
Part Tag Flag Cylinders Size Blocks 0 root wm 0 - 96 64.41MB (97/0/0) 1 swap wu 97 - 289 128.16MB (193/0/0) 2 backup wu 0 - 1964 1.27GB (1965/0/0) 6 usr wm 290 - 1964 1.09GB (1675/0/0)
# touch /reconfigure
# shutdown -i0 -gn -y
Brings the system down to init level 0, the power-down state.
Notifies logged-in users that they have n seconds before the system begins to shut down.
Specifies that the command should run without user intervention.
The ok prompt is displayed after the system is shut down.
Typically, a small switch is located at the back of the disk for this purpose.
Refer to the disk's hardware installation guide for details.
The system boots and displays the login prompt.
# format Searching for disks...done c1t0d0: configured with capacity of 1002.09MB AVAILABLE DISK SELECTIONS: 0. c0t1d0 <SUN1.05 cyl 2036 alt 2 hd 14 sec 72> /iommu@f,e0000000/sbus@f,e0001000/espdma@f,400000/esp@f,800000/sd@1,0 1. c0t3d0 <SUN1.05 cyl 2036 alt 2 hd 14 sec 72> /iommu@f,e0000000/sbus@f,e0001000/espdma@f,400000/esp@f,800000/sd@3,0 Specify disk (enter its number): 1
Typing y causes the disk label to be generated and written to the disk by using SCSI automatic configuration.
Disk not labeled. Label it now? y
format> verify
format> q