How to Verify and Repair a Disk From the OS X Command Line


Author: Tuts+ Computer Skills
14602 View
2m 53s Lenght
13 Rating


The Disk Utility application is a powerful tool for keeping the drives that are connected to your Mac happy and healthy. But there are situations in which it may not be available. As an example, connecting to a remote computer via SSH, or Disk Utility simply refusing to launch. In this tutorial, I will show you how to: - Find a disk that may have an error - Verify a disk from the command line - Repair that disk (if need be) from the command line


Comments

  1. I got this problem when i tried my WD HDD in mac : Volume on disk2s2 failed to mount
    If the volume is damaged, try the "readOnly" option ... please help me .. All important files are inside
  2. what about a third option that states "ownership of the affected disk is required"? that is what i googled and your video popped up in search.
  3. Hi There, I am trying your tutorial, but I get stuck here:

    "DAs-Mac-Mini:Volumes DA$ cd /Volumes/
    DAs-Mac-Mini:Volumes DA$ ls
    D A 1 T 01 D A 1 T 02 Macintosh HD eDrive
    DAs-Mac-Mini:Volumes DA$ diskutil verifyVolume D A 1 T 01
    Usage: diskutil verifyVolume MountPoint|DiskIdentifier|DeviceNode
    Verify the file system data structures of a volume.
    Ownership of the affected disk is required."
    DAs-Mac-Mini:Volumes DA$

    I don't understand the "Ownership of the affected disk is required". How can I get passed this. I am the Admin.

    Thank you so much!

    DA
  4. does this work even if i insert my SD but it doesn't show up on my computer?
  5. I hope you can help me.

    I had a problem with my HDD. I tried using the Disk Utility to repair my external Disk. But every time I have a error saying that the Disk can not be repair.

    I tried the way that you did in this vídeo. But I have this message

    MacBook-Pro-Me-8:Volumes Me$ diskutil repairvolume /Volumes/ 1.5 TB
    Usage:  diskutil repairVolume MountPoint|DiskIdentifier|DeviceNode
    Repair the file system data structures of a volume.
    Ownership of the affected disk is required.
    MacBook-Pro-Me-8:Volumes Me$

    Do you have any ideia how i can fix this without using any recovery program?


    Thank you!!