Questions tagged [disk-utility]
Commonly used to refer to Disk Utility.app, an application included with OS X.
253
questions
163
votes
7
answers
94k
views
Why is “/dev/rdisk” about 20 times faster than “/dev/disk” in Mac OS X
According to the rasbery pi documentation, You can load your OS to a flash card with either /dev/disk or /dev/rdisk.
rdisk stands for raw disk.
/dev/disk is a block level device, why would rdisk ...
73
votes
5
answers
177k
views
How do you format a 2 GB SD card to FAT32 (preferably with Disk Utility)?
I've been looking around for a way to do this for a while, but I haven't been able to find the answer. I need to format my 2 GB SD card to FAT-32, but I don't see the option in Disk Utility.
If I ...
41
votes
6
answers
195k
views
Is it possible to check an external USB Drive health (SMART)? [closed]
Is it possible to check an external USB Drive health (SMART)?
24
votes
9
answers
147k
views
Fix bad blocks on Mac hard disk [closed]
I have a hard disk that I scanned with TechTool and it reports one bad block. As far as I can tell, TechTool only scans and reports a failure. It doesn't fix anything.
Back in the day, Norton Disk ...
23
votes
11
answers
81k
views
How can I resolve the error "MediaKit reports partition (map) too small"?
I am unable to expand my Mac's hard disk. diskutility reports this error:
MediaKit reports partition (map) too small
How can I resolve this?
18
votes
5
answers
32k
views
Equivalent of badblocks on Windows or DOS
Is there a utility in DOS or Windows that is as thorough as badblocks on Linux?
17
votes
2
answers
14k
views
Shrink a .sparseimage
I have a .sparseimage that occupies 90GB of space on my hard drive despite only having 30GB of files in it. How can I reclaim the empty space used by the .sparseimage and compact the file?
15
votes
3
answers
47k
views
Difference between ISO, MDS & BIN/CUE disk image formats?
What is the difference between these major disk image formats? Are there any specific advantages / disadvantages for any of them?
14
votes
6
answers
40k
views
Cannot resize OS X partition
I am trying to resize my existing Mac OS Extended partition on my Macbook to install Windows 7 (using steps similar to these), but when ever I go to apply the changes, I get this error:
Partition ...
13
votes
1
answer
43k
views
zpool: pool I/O is currently suspended
I'm using ZFS on OSX and I've zpool which is active and online:
NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT
WD_1TB 931G 280G 651G 30% 1.00x ONLINE -
but I can't actually ...
12
votes
1
answer
23k
views
What is the equivalent of windirstat for Android for identifying space hogs [closed]
I have a Google Nexus 6 running Android 7.1.1. How can I find what is occupying the device's disk space ? It has a 32 GB disk but most of the time, I see only 300-400 MB free space, getting constant ...
10
votes
1
answer
28k
views
diskutil rename error: "does not appear to be a valid volume name for its file system"
I'm trying to rename the volume name of a mounted ISO image using the command:
diskutil rename /dev/disk15 TEST_DISK_2014_RENAMED
I get the error:
TEST_DISK_2014_RENAMED does not appear to be a ...
9
votes
1
answer
24k
views
What is the relationship of await, r_await and w_await in iostat -x command?
I want to know the relationship of the await, r_await and w_await
columns in the output from iostat -x.
Below is an example output of an iostat I/O statistics.
avg-cpu: %user %nice %system %...
9
votes
1
answer
12k
views
Create new partition on encrypted volume in OS X Lion
Updated: see below.
I encrypted a 500 GB partition on an external 1TB drive on OS X Lion. The other 500 GB was not used yet and I want to create another partition on the external drive now. Disk ...
8
votes
3
answers
21k
views
Why is Disk Utility / diskutil taking so long to zero out data?
I've tried with Disk Utility.app and diskutil at the commandline to zero out a 3TB external USB hard drive, and both work at about 1%/1hr. In Disk Utility.app I am using the 1-pass mode, and with ...
8
votes
2
answers
5k
views
Is it possible to change an encrypted volume's password w/o recreating the volume?
I have a 10G encrypted volume bundle created with Disk Utility. I want to change it's encryption password. How can I do that?
8
votes
2
answers
23k
views
How to restore from a sealed APFS volume when restore fails "because it has a broken seal"
I have been researching this for many hours over the last week. A description of my research effort is at the end of this post.
Disk Utility will not restore an APFS volume "because it has a ...
8
votes
2
answers
31k
views
Disk Utility Restore causes "Could not validate resource - Invalid Argument"
I have a problem with Disk Utility on Mac OS X 10.6. I have an image of Windows that I would like to use as a bootable volume on a pen drive or external hard drive. The thing is:
When I try to ...
7
votes
2
answers
13k
views
Where is the Disk Utility log? (Mac OS X)
Apart from what it displays directly, Disk Utility on Mac OS X (10.6, if it matters) keeps a log, visible through Window → Show Log (or ⌘L). This is probably a file on disk, right? Where is this file? ...
7
votes
2
answers
5k
views
Why should we wipe disks multiple times? [duplicate]
There exists various ways of destroying the data on a disk. Even simple wipes differ, some disk utilities give these options:
Format (does not actually wipe)
Wipe 1 time with zero
Wipe 1 time with ...
7
votes
7
answers
133k
views
I forgot my encrypted disk password on OS X
My disk is formatted with Mac OS Extended (Journaled, Encrypted). I have a super long and random password. It won't let me paste my password in and I keep manually typing it wrong. There is nothing on ...
6
votes
4
answers
5k
views
How is OS X Disk Utility's secure erase mode in comparison to other commerical secure delete methods/apps?
Within OS X, the utility Disk Utility has a secure erase for hard drive formatting. It has 1,7, and 33 pass options, which to my knowledge are very good writting random data to the drive. What does ...
6
votes
4
answers
22k
views
What can I do when I get a "Cannot Allocate Memory" error after restoring a disk image?
I've downloaded Mac OS X Mountain Lion today and wanted to backup the installation image to a USB drive for later.
I've created a new empty partition of at least 8 GB size on the external drive using ...
6
votes
1
answer
17k
views
Is there a way to make Windows 7 install .iso onto USB drive from OSX?
I copied my windows 7 cd to a ISO and trying to source the image onto my USB drive from OSX. So far it doesn't seem like it's possible with disk utility. Is there something else I can do to make this ...
5
votes
5
answers
15k
views
Hard Drive Bad Sector marking utility [closed]
I already have Windows XP, During installing Ubuntu(dual boot) the disk drive just stuck up at one place and doesn't seem to move ahead..
Is there a disk bad sector mark utility that just marks these ...
5
votes
4
answers
36k
views
How do you access the contents of a mounted DMG drive mounted through hdiutil and diskmout
My external USB drive failed. I made a .dmg image file of the drive using disk utility. Later I was not able to mount the .dmg image. I used terminal
hdiutil attach -noverify -nomount name.dmg
...
5
votes
2
answers
2k
views
Are these unrepairable SSD errors indicative of a SSD hardware error?
Some time ago I got an Apple authorised reseller to replace the SSD in my early-2011 model MBP with a Samsung 512GB 840-series disk.
About three months later, booting failed with this error:
Please ...
5
votes
1
answer
52k
views
Unlocking FileVault encrypted drive from Terminal (to allow pasting password)
I have a long, complicated password for an external drive encrypted with FileVault that I have securely stored, but OS X doesn’t allow pasting into the password unlock GUI dialog (argh!). How can I ...
5
votes
1
answer
12k
views
How to turn off verification after DVD burning on OS X?
I use the built in DVD burner from OS X. Whenever I burn a disk, it is verified after burning. Nice, but I am usually quicker in verifying myself with a bit more human, maybe more error prone process.....
5
votes
1
answer
2k
views
What causes Mac OS X Permission errors?
This is out of interest rather then looking for a fix to a problem.
What actually causes permissions on Mac OS X Systems to become messed up? Its an easily fixed problem (i.e. there's a quick and ...
4
votes
1
answer
7k
views
MacOS Mojave, ISO images, and "no mountable file systems" error
I have a little Gigabyte BRIX that I'm trying to install Linux on. However, my Mac appears to be barfing on every ISO image I've downloaded. So far, I've tried Mint and Ubuntu (and even FreeBSD out of ...
4
votes
2
answers
8k
views
Creating a ram disk on MacOS
I am trying to create a ram disk on MacOS using the following command
diskutil erasevolume HFS+ RAM_Disk_512MB `hdiutil attach -nomount ram://16384`
This seems to work fine on my desktop but when I ...
4
votes
3
answers
20k
views
diskutil command not found in OS X terminal
I am using Mac OS X 10.6.4 and am struggling with the command:
diskutil
Whenever I type in diskutil the terminal says:
-bash: diskutil: command not found
Does anyone know what the problem might be?...
4
votes
3
answers
7k
views
Truecrypt or default Disk Utility on Mac? [closed]
Windows by default doesn't come with a password protect folder option (other that Win7 ultimate), so I used to swear by Truecrypt which was great. But I've read in a couple of places that Mac OS X by ...
4
votes
1
answer
7k
views
Which tool should I use to wipe free space on Windows 7 [duplicate]
Possible Duplicate:
How to quickly and effectively wipe a Win7 x64 hard drive
Which tool should I use to wipe free space on Windows 7?
It should be free and preferably open source.
4
votes
4
answers
4k
views
sdelete alternative on osx
In the sysinternals suite for windows there is this nifty sdelete tool for securely deleting individual files as well as overwriting unallocated disk space with randomness or zeroes ( the -c or -z ...
4
votes
2
answers
2k
views
Zerofree never ends. Is it doing anything?
I have been trying to use zerofree to reduce the size of my VM.
It worked fine for one filesystem, but the other was mounted on / so it wouldn't let me.
Then I figured I could use the 'recovery mode'...
4
votes
2
answers
17k
views
Getting the diskutil command to work in OSX Mavericks Single User mode
I'm currently writing some single user mode maintenance scripts. My current goal is to be able to perform permission repairs and disk formatting using the diskutil command in Single User Mode. ...
4
votes
2
answers
26k
views
Running fsck -fy on my mac throws a container write access error. How do I get around this?
My macbook pro is stuck on the Apple logo on booting and after going through most of the alternatives attempts at fixing it, I've finally come to giving the command fsck -fy a try. I've booted into ...
4
votes
3
answers
13k
views
Partition not shown in Disk Utility
My MacBook Pro 2012 has 500 GB of HDD out of which 250 GB were used to install Windows 10. Today, I tried deleting the Windows 10 partition using Boot Camp. In the middle of the deleting process, my ...
4
votes
1
answer
36k
views
MacBook Air startup disk not found, but verified
I have a MacBook Air that has suddenly stopped booting at all. I booted into recovery mode and see the harddrive fine in Disk Utility. The partition is there as well marked: Mac OS X Base System. I ...
4
votes
1
answer
10k
views
What are "Missing thread recordng" erros when running fsck -fy?
There is some error reported when I run Disk Utility and verify the root volume on my OS X MacBook. So I boot and CMD-S into the shell mode and run /sbin/fsck -fy.
Errors are like:
** Checking ...
4
votes
0
answers
463
views
Average/General RAID 0 "Chunk Size"?
EDIT: this got closed as being "opinion based". i disagree! the facts are, i have to choose one of five Chunk Size options when creating a RAID on Mac. i don't know which size to choose for ...
3
votes
1
answer
15k
views
Create disk image from flash drive
I have a 16 gb flash drive that is formatted using my mac, made bootable, and an OSX installation image put on it. I'd like to keep that drive around so I can do it again in the future, but I don't ...
3
votes
2
answers
8k
views
Disk Utility Error: Newer Version of Mac OS X needed?
In Snow Leopard's Disk Utility (OS X 10.6.8) what does the error:
Partition failed with the error:
This operation requires a newer version of Mac OS X for this disk
mean? I've never seen it before,...
3
votes
3
answers
1k
views
is there a remote version of KDirStat
I love KDirStat (or equivalent) but I would like to be able to run it on remote host (which doesn't have X11 installed). Is there anything avaible (and free) which will allow me to get a treemap of ...
3
votes
1
answer
6k
views
format disk with APFS, the new apple file system?
Has anyone managed to format an actual real disk with the new apple filesystem APFS in Mac OS Sierra ?
the documentation explains how to make a disk image with APFS:
hdiutil create -fs APFS -size ...
3
votes
1
answer
4k
views
Why doesn't "Disk Utility.app" recognise my `dd`-copied disk?
Short Summary Version of the Question Why, when I try to copy an ISO CD image onto a USB flash device, do I get a lot of weird behaviours?
Original Version of the Question, with all the details &...
3
votes
2
answers
14k
views
Unable to delete or re-partition internal drive using Disk Utility in macOS
When using “Disk Utility,” after booting onto the recovery partition, I can't:
Re-partition
Delete partitions
Repair partitions
3
votes
1
answer
187
views
windows spanned volume fails after sleep (requires restart)
I have a 4TB spanned volume in windows 7 professional 64bit (2TB x2 and a single 1TB). It works great after a boot/reboot, but if I put the computer to sleep, it fails to mount/the spanned volume on ...