WD external disk error
-
any of these simply need another power supply..
Unless its making clicking sounds, I usually try another ~same power supply. Have had both Seagate and WD do similar things. -
@Nara I just want to wipe it and use it again.
-
@BC Its a small external hard drive, WD Elements without additional power, just the USB
-
If you're not worried about losing any data on the drive and just want to wipe the GPT table so you can start over from scratch, run these two commands:
dd if=/dev/zero of=/dev/disk2 bs=512 count=2
dd if=/dev/zero of=/dev/disk2 bs=512 count=2 seek=$(($(blockdev --getsz /dev/disk2) - 2))The first one wipes the GPT table from the beginning of the disk. The second one wipes the backup copy from the end of the disk. GPT keeps two copies, in case one gets corrupted, so you have to wipe both.
-
@jasonh Thanks!
I tried but didn't worked.
diskutil list
/dev/disk1
0: *2.2 TB disk1
dd if=/dev/zero of=/dev/disk1 bs=512 count=2
dd: /dev/disk1: Permission denied
Ambis-iMac:~ ambarishrh$ sudo dd if=/dev/zero of=/dev/disk1 bs=512 count=2
Password:
dd: /dev/disk1: Permission denied -
Are you sure that you have sudo permissions?
-
Yes, I did run the command with sudo, and I am the admin for my MAC.
-
sh-3.2# dd if=/dev/zero of=/dev/disk1 bs=512 count=2
dd: /dev/disk1: Permission denied -
Do you have access to a Windows machine? You could use diskpart and clean the drive to wipe it out.
-
@Nara I do have one. Let me check in that.
-
OS X side, Disk Utility is used for this: repartitioning, formatting, et al. Gets grumpy with NTFS, but not much a hassle when wiping.
-
@RoguePacket said:
OS X side, Disk Utility is used for this: repartitioning, formatting, et al. Gets grumpy with NTFS, but not much a hassle when wiping.
I concur - if you're keeping it Mac side, NTFS is not the way to go.
-
Ah, that reminds me, OS X is read-only for NTFS. Should be fine to wipe with Disk Utility, but most other operations would fail (sudo or no).
Curious, have not tried this...could be worth a shot as a testβ
-
@Nara Tried on Windows, same issue- Access Denied! May be its time to get rid of that, but can't believe that the HDD is visible on disk management on both windows & MAC but can't access that!
-
have you tried a utility like SpinRite yet?
-
@Dashrender Thanks. Haven't tried it yet. Let me check that as well.
-
@ambarishrh said:
@Dashrender Thanks. Haven't tried it yet. Let me check that as well.
Spinrite isn't free, but they do offer a money back guarantee.
-
@ambarishrh said:
@Nara Tried on Windows, same issue- Access Denied! May be its time to get rid of that, but can't believe that the HDD is visible on disk management on both windows & MAC but can't access that!
Access denied? Were you running the command prompt with elevated rights?
-
Tried what exactly with windows?
my computer > E/F drive access?
yes that will get denied... should actually come up with a message about granting access unless its formatted with some other partition like reiser/etc
under windows you should be right clicking my computer and choosing manage then seeing the disk loaded...
Make sure you're looking at the right one... they load 2 disks... CD (WD Ware) + Open Storage
in the disk manager you'll see if it can read the partition format - if its ntfs / other - no matter what you'll be able to wipe the storage side via any OS but can't wipe the non-storage CD Side... not without a little firmware flash / using WDWare tools to turn it offI'm wondering if he's seeing the virtual CDRom that these load... and not the actual storage...
-