About identifying a temporary resource disk - Linux

Last published : Jun 11, 2026
Typically, a temporary resource disk is named as /dev/sdb and is mounted at /mnt. However, the location may change depending on whether or not it is utilized for swap space or is unmounted by a user.
To identify whether or not swap space is configured and a disk utilized for swap space
  1. Identify the swap space configuration and check the swap file:
# swapon
Following is the sample output of this command:
NAME TYPE SIZE USED PRIO /mnt/resource/swapfile file 2G 0B -1
Where, /mnt/resource is the default location where a temporary disk is mounted when used for swap space.
  1. Identify the disk used for swap space:
# mount | grep "/mnt/resource"
Following is the sample output of this command:
/dev/sdb on /mnt/resource type filesystem
Where /dev/sdb is the temporary disk.
  1. Identify a VxVM disk that corresponds to a temporary disk.
# vxdisk -e list | grep sdb (If sdb is the OS device name for temporary disk found in the earlier step)
Following is the sample output for the command:
10-0-15-6_disk_490 auto:none - - online invalid sdb -