Thank you for purchasing through links and ads on this site.
OWC / MacSales.com...
diglloyd Deal Finder...
Buy other stuff at Amazon.com...
Upgrade the memory of your 2019 iMac up to 128GB
Handpicked deals...
$2998 $2498
SAVE $500

$1199 $920
SAVE $279

$1999 $1599
SAVE $400

$2799 $2399
SAVE $400

$400 $280
SAVE $120

$1798 $1598
SAVE $200

$3297 $2797
SAVE $500

$3397 $2797
SAVE $600

$1398 $898
SAVE $500

$3698 $2998
SAVE $700

$1799 $1329
SAVE $470

$1999 $1199
SAVE $800

$2249 $1549
SAVE $700

$2399 $2049
SAVE $350

$2799 $1899
SAVE $900

$997 $897
SAVE $100

$2099 $1699
SAVE $400

$1999 $1369
SAVE $630

$1349 $949
SAVE $400

$4499 $3999
SAVE $500

$1499 $1029
SAVE $470

$1499 $1289
SAVE $210

$2199 $1999
SAVE $200

$3399 $2199
SAVE $1200

$2418 $1718
SAVE $700

OWC
USB-C Travel Dock

Fast charging with up to 100W!

HDMI, SD card reader,
USB-C port, 2 USB Type-A ports
Built-in cable self-stores neatly.
See also OWC 14-port Thunderbolt 3 Dock"

How to Verify All Mounted Volumes

Last updated 2013-01-08 - Send Feedback
Related: backup, how-to, software

This tip presumes the reader is comfortable with using the command line in Terminal, including the use of commands like 'cd', 'ls', 'sudo', etc.

A workstation used for serious work will generally have at least three volumes:

  • Boot volume.
  • Master volume.
  • Time Machine.
  • Catalogs (e.g., a dedicated volume for Lightroom catalogs on a fast SSD).
  • Additional volumes such as backups.

My main Mac Pro has the following volumes:

Archive1, ArchiveP, Boot.int, BootClone, Master, MasterClone, Scratch, Work, a.Boot, b.Boot, diglloyd, tm, xfer.Archive1, xfer.ArchiveP, xfer.Boot, xfer.Master

The issue

It’s a good idea to verify volumes regularly to check for file system damage, especially prior to making important backups. While rare, file system damage is one way to lose data.

But with two or more volumes, it can be tedious to click on each one in Apple’s Disk Utility to verify, waiting for completion.

OWC Envoy Pro EX SSD
Blazingly fast USB-C SSD!

Up to 2TB capacity, USB-C compatible with Thunderbolt 3.

√ Fastest USB drive MPG has tested!

Verifying all volumes with a command line script

It is possible to verify the file system on all mounted volumes using one command line (walk away and have some coffee, or just continue work on something else).

Save these scripts in order to run them (“verifyVolumes.sh” or similar), you’ll also need to make them executable.

Verifying all mounted volumes

This shell script collects all volume names, then verifies each in turn.

#!/bin/bash
# ©2013 DIGLLOYD INC / MacPerformanceGuide.com
#
echo "Verifying the file system on all mounted volumes..."
for volume in $(ls /Volumes | sort)
do
echo "Volume: $volume"
diskutil verifyVolume $volume
echo ""
done

Verifying specific volumes

This shell script verifies an explicit list of volumes in the volumesToVerify variable as shown. Simply modify the list of volume names to suit your own system.

#!/bin/bash
# ©2013 DIGLLOYD INC / MacPerformanceGuide.com
#
volumesToVerify="Boot Master Archive1 ArchiveP BootClone MasterClone"
echo "Verifying the file system on $volumesToVerify"
for volume in ${volumesToVerify}
do
echo "Volume: $volume"
diskutil verifyVolume $volume
echo ""
done 
Apple iMac 5K Speed Demon
$3849
$3499

It rocks! What Lloyd uses every day, best upgrade in many years!

SMART MOVES:
• Add 128GB or 64GB memory
fast SSD storage
Thunderbolt storage

√ B&H Photo PAYS THE SALES TAX FOR YOU More info...

Example output

Once the verify is done as per above, a glance is sufficient to see if any issues are present. In this case, there were no issues found by diskutil.

Automating the verification followed by a glance at the output is a huge time-saver.

diglloyd:~ lloyd$ verifyMountedVolumes.sh 
Verifying the file system on all mounted volumes...
Volume: Archive1
Started file system verification on disk2s4 Archive1
Checking file system
Checking Journaled HFS Plus volume
Checking extents overflow file
Checking catalog file
Checking multi-linked files
Checking catalog hierarchy
Checking extended attributes file
Checking volume bitmap
Checking volume information
The volume Archive1 appears to be OK
Finished file system verification on disk2s4 Archive1
Volume: ArchiveP
Started file system verification on disk2s5 ArchiveP
Checking file system
Checking Journaled HFS Plus volume
Checking extents overflow file
Checking catalog file
Checking multi-linked files
Checking catalog hierarchy
Checking extended attributes file
Checking volume bitmap
Checking volume information
The volume ArchiveP appears to be OK
Finished file system verification on disk2s5 ArchiveP
Volume: Boot.int
Started file system verification on disk1s2 Boot.int
Checking file system
Checking Journaled HFS Plus volume
Checking extents overflow file
Checking catalog file
Checking multi-linked files
Checking catalog hierarchy
Checking extended attributes file
Checking volume bitmap
Checking volume information
The volume Boot.int appears to be OK
Finished file system verification on disk1s2 Boot.int
Volume: BootClone
Started file system verification on disk2s2 BootClone
Checking file system
Checking Journaled HFS Plus volume
Checking extents overflow file
Checking catalog file
Checking multi-linked files
Checking catalog hierarchy
Checking extended attributes file
Checking volume bitmap
Checking volume information
The volume BootClone appears to be OK
Finished file system verification on disk2s2 BootClone
Volume: Master
Started file system verification on disk5 Master
Checking file system
Performing live verification
Checking Journaled HFS Plus volume
Checking extents overflow file
Checking catalog file
Checking multi-linked files
Checking catalog hierarchy
Checking extended attributes file
Checking volume bitmap
Checking volume information
The volume Master appears to be OK
Finished file system verification on disk5 Master
Volume: MasterClone
Started file system verification on disk1s3 MasterClone
Checking file system
Checking Journaled HFS Plus volume
Checking extents overflow file
Checking catalog file
Checking multi-linked files
Checking catalog hierarchy
Checking extended attributes file
Checking volume bitmap
Checking volume information
The volume MasterClone appears to be OK
Finished file system verification on disk1s3 MasterClone
Volume: Scratch
Started file system verification on disk10 Scratch
Checking file system
Checking Journaled HFS Plus volume
Checking extents overflow file
Checking catalog file
Checking multi-linked files
Checking catalog hierarchy
Checking extended attributes file
Checking volume bitmap
Checking volume information
The volume Scratch appears to be OK
Finished file system verification on disk10 Scratch
Volume: Work
Started file system verification on disk6 Work
Checking file system
Checking Journaled HFS Plus volume
Checking extents overflow file
Checking catalog file
Checking multi-linked files
Checking catalog hierarchy
Checking extended attributes file
Checking volume bitmap
Checking volume information
The volume Work appears to be OK
Finished file system verification on disk6 Work
Volume: a.Boot
Started file system verification on disk7s2 a.Boot
Checking file system
Performing live verification
Checking Journaled HFS Plus volume
Checking extents overflow file
Checking catalog file
Checking multi-linked files
Checking catalog hierarchy
Checking extended attributes file
Checking volume bitmap
Checking volume information
The volume a.Boot appears to be OK
Finished file system verification on disk7s2 a.Boot
Volume: b.Boot
Started file system verification on disk9s2 b.Boot
Checking file system
Checking Journaled HFS Plus volume
Checking extents overflow file
Checking catalog file
Checking multi-linked files
Checking catalog hierarchy
Checking extended attributes file
Checking volume bitmap
Checking volume information
The volume b.Boot appears to be OK
Finished file system verification on disk9s2 b.Boot
Volume: diglloyd
Unable to find disk for diglloyd
Volume: tm
Started file system verification on disk2s3 tm
Checking file system
Checking Journaled HFS Plus volume
Checking extents overflow file
Checking catalog file
Checking multi-linked files
Checking catalog hierarchy
Checking extended attributes file
Checking multi-linked directories
Checking volume bitmap
Checking volume information
The volume tm appears to be OK
Finished file system verification on disk2s3 tm
Volume: xfer.Archive1
Started file system verification on disk8s7 xfer.Archive1
Checking file system
Checking Journaled HFS Plus volume
Checking extents overflow file
Checking catalog file
Checking multi-linked files
Checking catalog hierarchy
Checking extended attributes file
Checking volume bitmap
Checking volume information
The volume xfer.Archive1 appears to be OK
Finished file system verification on disk8s7 xfer.Archive1
Volume: xfer.ArchiveP
Started file system verification on disk8s9 xfer.ArchiveP
Checking file system
Checking Journaled HFS Plus volume
Checking extents overflow file
Checking catalog file
Checking multi-linked files
Checking catalog hierarchy
Checking extended attributes file
Checking volume bitmap
Checking volume information
The volume xfer.ArchiveP appears to be OK
Finished file system verification on disk8s9 xfer.ArchiveP
Volume: xfer.Boot
Started file system verification on disk8s3 xfer.Boot
Checking file system
Checking Journaled HFS Plus volume
Checking extents overflow file
Checking catalog file
Checking multi-linked files
Checking catalog hierarchy
Checking extended attributes file
Checking volume bitmap
Checking volume information
The volume xfer.Boot appears to be OK
Finished file system verification on disk8s3 xfer.Boot
Volume: xfer.Master
Started file system verification on disk8s5 xfer.Master
Checking file system
Checking Journaled HFS Plus volume
Checking extents overflow file
Checking catalog file
Checking multi-linked files
Checking catalog hierarchy
Checking extended attributes file
Checking volume bitmap
Checking volume information
The volume xfer.Master appears to be OK
Finished file system verification on disk8s5 xfer.Master
OWC Thunderbolt 3 Dock
Ideal for any Mac with Thunderbolt 3


Dual Thunderbolt 3 ports
USB 3 • USB-C
Gigabit Ethernet
5K and 4K display support plus Mini Display Port
Analog sound in/out and Optical sound out

Works on any Mac with Thunderbolt 3

MacPerformanceGuide.com
View all handpicked deals...

Sony Alpha a7R III Mirrorless Digital Camera Body with Accessories Kit
$2998 $2498
SAVE $500

diglloyd.com | Terms of Use | PRIVACY POLICY
Contact | About Lloyd Chambers | Consulting | Photo Tours
Mailing Lists | RSS Feeds | Twitter
Copyright © 2019 diglloyd Inc, all rights reserved.
Display info: __RETINA_INFO_STATUS__