![]() |
![]() |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Chapter 18Accessing Removable Media (Tasks)This chapter describes how to access removable media from the command line in the Solaris environment. For information on the procedures associated with accessing removable media, see the following: For background information on removable media, see Chapter 17, Managing Removable Media (Overview). Accessing Removable Media (Task Map)
Accessing Removable Media (Overview)You can access information on removable media with or without using volume manager. For information on accessing information on removable media with CDE's File Manager, see "Using Removable Media with File Manager" in Solaris Common Desktop Environment: User's Guide. Starting in the Solaris 8 6/00 release, volume manager (vold) actively manages all removable media devices. This means any attempt to access removable media with device names such as /dev/rdsk/cntndnsn or /dev/dsk/cntndnsn will be unsuccessful. Using Removable Media NamesYou can access all removable media with different names. The following table describes the different media names that can be accessed with or without volume management. Table 18-1 Removable Media Names
Use this table to identify which removable media name to use with specific Solaris commands.
Guidelines for Accessing Removable Media DataMost CDs and DVDs are formatted to the ISO 9660 standard, which is portable, so most CDs and DVDs can be mounted by volume management. However, CDs or DVDs with UFS file systems are not portable between architectures, so they must be used on the architecture for which they were designed. For example, a CD or DVD with a UFS file system for a SPARC platform cannot be recognized by an x86 platform. Likewise, an x86 UFS CD cannot be mounted by volume management on a SPARC platform. The same limitation applies to diskettes. (Actually, some architectures share the same bit structure, so occasionally a UFS format specific to one architecture will be recognized by another architecture, but the UFS file system structure was not designed to guarantee this compatibility). To accommodate the different formats, the CD or DVD is split into slices, which are similar in effect to partitions on hard disks. The 9660 portion is portable, but the UFS portion is architecture-specific. If you are having trouble mounting a CD or DVD, particularly if it is an installation CD or DVD, make sure its UFS file system is appropriate for your system's architecture (check the label on the CD or DVD). Accessing Jaz Drives or Zip DrivesYou can determine whether accessing your Jaz or Zip drives changes from previous Solaris releases, depending on the following:
|
# touch /reconfigure |
Bring the system to run level 0.
# init 0 |
Turn off power to the system.
Connect the new media drive.
See your hardware handbook for specific instructions.
Turn on power to the system.
The system comes up to multiuser mode automatically.
Occasionally, you might want to manage media without the help of volume management. This section describes how to stop and restart volume management.
How to Stop Volume Management (vold)Make sure media is not being used.
If you are not sure whether you have found all users of the media, use the fuser command, as described in How to Find Out If Removable Media Is Still in Use.
Become superuser.
Enter the volmgt stop command.
# /etc/init.d/volmgt stop # |
Previous Contents Index Next ![]() |