|
|||
1. Managing Removable Media (Overview) Where to Find Managing Removable Media Tasks Removable Media Features and Benefits Comparison of Manual and Automatic Mounting Overview of Accessing Removable Media 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) 12. SPARC: Adding a Disk (Tasks) 13. x86: Adding a Disk (Tasks) 14. Configuring Solaris iSCSI Targets and Initiators (Tasks) 15. Configuring and Managing the Solaris Internet Storage Name Service (iSNS) 16. The format Utility (Reference) 17. Managing File Systems (Overview) 18. Creating UFS, TMPFS, and LOFS File Systems (Tasks) 19. Mounting and Unmounting File Systems (Tasks) 20. Using The CacheFS File System (Tasks) 21. Configuring Additional Swap Space (Tasks) 22. Checking UFS File System Consistency (Tasks) 23. UFS File System (Reference) 24. Backing Up and Restoring File Systems (Overview) 25. Backing Up Files and File Systems (Tasks) 26. Using UFS Snapshots (Tasks) 27. Restoring Files and File Systems (Tasks) 28. UFS Backup and Restore Commands (Reference) 29. Copying UFS Files and File Systems (Tasks) |
What's New in Removable Media?The following section describes new removable media features in the Solaris release. For a complete listing of new Solaris features and a description of Solaris releases, see Solaris Express Developer Edition What’s New. Changes and Improvements to Removable Media ManagementSolaris Express 12/06: Previous features for managing removable media have been removed and replaced with services and methods that provide better removable media management. For information about using vold in previous Solaris 10 releases, see System Administration Guide: Devices and File Systems. The following new features are available:
The following features are removed:
Backward CompatibilityThe following features provide backward compatibility with previous Solaris removable media features:
Mounting and Unmounting Removable MediaMost commands that begin with vol* are removed in this release. A modified version of rmmount and a new rmumount command are available to mount and unmount removable media. These commands can be used to mount by device name, label, or mount point. For example, to mount an iPod: % rmmount ipod For example, to unmount the file systems on a DVD: # rmumount cdrom cdrom /dev/dsk/c0t6d0s5 unmounted cdrom /dev/dsk/c0t6d0s0 unmounted For more information, see rmmount(1M). Mounting and Unmounting DiskettesYou can use the existing volcheck command to manually poll diskettes and mount them if a new diskette is detected. If you manually reformat diskette after it is connected to the system, HAL is not automatically notified. Continue to use the volcheck command to notify the system and attempt to automount a new file system on a diskette. Ejecting Removable MediaAs in previous Solaris releases, use the eject command to unmount and eject removable media. However, the following eject options are available:
For example, to eject by its volume label: % eject mypictures As in previous Solaris releases, you might need to issue the volcheck command before using the eject command to eject a diskette. For more information, see eject(1). Customizing Removable Media ManagementFor most customizations that were available in the vold.conf and rmmount.conf files, you will need to either use Desktop Volume manager preferences or modify the .fdi files.
Disabling Removable Media FeaturesYou can disable some or all removable media features in this release:
vold is Managed by the Service Management Facility (SMF)Note - Starting in the Solaris Express 12/06 release, vold is removed. For information about managing removable media with vold in Solaris 10 releases, see System Administration Guide: Devices and File Systems. Solaris Express 11/05: The volume management daemon, vold, is now managed by the Service Management Facility (SMF). This means you can use the svcadm disable command to disable the following new volfs service, if appropriate: # svcadm disable volfs You can identify the status of the volfs service by using this command: $ svcs volfs STATE STIME FMRI online Sep_29 svc:/system/filesystem/volfs:default For more information, see smf(5). You can use the svccfg command to display and to set additional vold properties. For example, you could temporarily enable vold logging to help troubleshooting a problem. For example: # svccfg svc:> select system/filesystem/volfs svc:/system/filesystem/volfs> setprop vold/log_debuglevel=3 svc:/system/filesystem/volfs> exit # svcadm disable volfs # svcadm enable volfs You can also use the svccfg command to display a listing of settable vold properties. # svccfg svc:> select volfs svc:/system/filesystem/volfs> listprop vold/* vold/config_file astring vold/log_debuglevel count 3 vold/log_file astring vold/log_nfs_trace boolean false vold/log_verbose boolean false vold/root_dir astring vold/never_writeback_label boolean false svc:/system/filesystem/volfs> exit Improvements to Volume Management (vold)Note - Starting in the Solaris Express 12/06 release, vold is removed. For information about managing removable media with vold in Solaris 10 releases, see System Administration Guide: Devices and File Systems. Solaris Express 11/05: Removable media management is improved. Previously, vold did not create device links for removable devices that contain no media. Now, device links are properly created for devices that contain no media, similar to the following: lrwxrwxrwx 1 root root 28 Jun 13 13:09 /vol/dev/aliases/cdrom0 -> /vol/dev/rdsk/c2t2d0/nomedia Now, you can use the cdrw and rmformat commands to list devices that have no media when vold is running. You can revert back to the previous vold behavior by changing the following support nomedia entry in the /etc/vold.conf file as follows: support media Then, restart vold. In addition, vold is now hot-plug aware. This improvement means that if you insert removable media, the media is automatically detected and mounted by vold. There should be no need to restart vold manually to recognize and mount a file system from any removable media device. If you are using a legacy or non-USB diskette device, then you might need to issue the volcheck command before vold can recognize the media. If the media is detected, but for some reason, is unmounted, then you'll need to run the following commands: # volrmmount -i rmdisk0 Before you hot-remove a removable media device, eject the media first. For example: # eject rmdisk0 |
||
|