How to use diskutil to verify USB drive attached to Time Capsule?

Discussion in 'macOS' started by philcyeung, Jan 7, 2009.

  1. philcyeung macrumors newbie

    Joined:
    Jan 7, 2009
    #1
    Hi. I have an USB external HD attached to Time Capsule. Trying to find out how one can use diskutil to do a verifyVolume on this drive.

    I tried something like:

    diskutil verifyVolume /Volumes/myDrive

    but it didn't work

    The command is (naturally) ok with an USB external HD attached to the USB port on the Mac itself.

    Thanks in advance.
     
  2. BlueRevolution macrumors 603

    BlueRevolution

    Joined:
    Jul 26, 2004
    Location:
    Montreal, QC
  3. philcyeung thread starter macrumors newbie

    Joined:
    Jan 7, 2009
    #3
    Yup, I clicked through Finder so that it's mounted:

    Volumes Family$ ls -al
    total 8
    drwxrwxrwt@ 5 root admin 170 Jan 8 11:31 .
    drwxrwxr-t 33 root admin 1190 Dec 16 02:47 ..
    lrwxr-xr-x 1 root admin 1 Jan 8 10:28 Family's Macintosh HD -> /
    drwxrwxr-x 11 Family staff 442 Dec 2 18:21 My Book Primary Volume
    drwx------ 17 Family staff 534 Jan 8 08:15 My Book Secondary Volume

    I can do a diskutil verifyVolume on "My Book Primary Volume", which is attached to the USB port on the iMac itself, but not "My Book Secondary Volume" which is attaching to the USB port on Time Capsule.

    Here's the output when doing the two verifyVolume:



    Volumes Family$ diskUtil verifyVolume "My Book Primary Volume"
    Started verify/repair volume (filesystem) on disk disk1s2 My Book Primary Volume
    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 My Book Primary Volume appears to be OK
    [ + 0%..10%..20%..30%..40%..50%..60%..70%..80%..90%..100% ]
    Finished verify/repair volume (filesystem) on disk disk1s2 My Book Primary Volume
    Volumes Family$ diskUtil verifyVolume "My Book Secondary Volume"
    Disk Utility Tool
    Usage: diskutil verifyVolume MountPoint|DiskIdentifier|DeviceNode
    diskutil verifyDisk MountPoint|DiskIdentifier|DeviceNode
    diskutil repairVolume MountPoint|DiskIdentifier|DeviceNode
    diskutil repairDisk MountPoint|DiskIdentifier|DeviceNode
    Verify or repair the file system data structure of a volume.
    Ownership of the affected disk is required.
    VerifyDisk and repairDisk are allowed but deprecated synonyms for
    verifyVolume and repairVolume, respectively.
    Example: diskutil verifyVolume /Volumes/SomeDisk

    Basically the second time it just show the 'usage' text.

    Thanks.
     
  4. BlueRevolution macrumors 603

    BlueRevolution

    Joined:
    Jul 26, 2004
    Location:
    Montreal, QC
    #4
    Okay, try running

    sudo chmod a+rx My\ Book\ Secondary\ Volume
     
  5. philcyeung thread starter macrumors newbie

    Joined:
    Jan 7, 2009
    #5
    Yeah, thought about that also earlier. Just tried it to no avail. It's ignoring the chmod as well.

    So I tried to unplug the USB HD from Time Capsule back to the iMac, and the permissions got set to rwx for 'u' and 'g', and rx for 'o', the same as the USB HD which has been connecting to the Mac from the get go, and diskutil was able to do it's thing.

    Connecting it back to the time capsule, and all got reverted back, and diskutil was ignoring it again.
     

Share This Page