Skip Navigation Links | |
Exit Print View | |
System Administration Guide: Devices and File Systems Oracle Solaris 11 Express 11/10 |
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)
12. SPARC: Adding a Disk (Tasks)
13. x86: Adding a Disk (Tasks)
14. Configuring iSCSI Storage Devices With COMSTAR
15. Configuring and Managing the Solaris Internet Storage Name Service (iSNS)
17. The format Utility (Reference)
18. Managing File Systems (Overview)
19. Creating ZFS, UFS, TMPFS, and LOFS File Systems (Tasks)
20. Mounting and Unmounting File Systems (Tasks)
21. Configuring Additional Swap Space (Tasks)
Swap Space and the TMPFS File System
Swap Space and Dynamic Reconfiguration
Configuring Swap Space in a SAN Environment
How Do I Know If I Need More Swap Space?
Swap Areas and the /etc/vfstab File
Allocating Swap Space for UFS-Based Systems
Allocating Swap Space for ZFS-Based Systems
Creating a Swap File in a UFS Root Environment
How to Create a Swap File and Make It Available in UFS Root Environment
Adding or Changing Swap Space in an Oracle Solaris ZFS Root Environment
How to Add Swap Space in an Oracle Solaris ZFS Root Environment
22. Copying Files and File Systems (Tasks)
If you have unneeded swap space, you can remove it.
Most systems require some amount of swap space configured. If your system's swap space requirements change, then you might need to remove a swap volume before you can increase or decrease space allocated for swap. On a busy system, it might be easier to create a second swap volume if you need to increase swap space rather than trying to remove a swap volume that is busy just to increase its size.
# swap -l swapfile dev swaplo blocks free /dev/zvol/dsk/rpool/swap 102,2 16 16646128 16646128
In the above output, blocks == free, so the swap device is not actually being used.
# swap -d /dev/zvol/dsk/rpool/swap
# swap -l