Sponsored Content
Operating Systems OS X (Apple) Need some help with lost data on external drive Post 302914747 by brianjb on Wednesday 27th of August 2014 03:31:30 PM
Old 08-27-2014
Quote:
Originally Posted by Corona688
If you keep poking at your drive while it is "making funny noises" you are going to lose it completely. Make a raw dd copy if you have to, but get the contents off!

Either that, or stop poking at it until you have something to copy it onto.
I agree, that I was not thinking clearly at this time.

I do have some good news to report, though. I have the drive mounted, and I am in the process of copying the data off.

---------- Post updated at 01:31 PM ---------- Previous update was at 01:08 PM ----------

I tried to manually copy the folders from one drive to another.

I tried to copy files from the failing drive to another drive. I get this error, "The operation can't be completed because the item XYZ is in use."

So then I try to open the terminal and issue this command:

Code:
$ cp -R /Volumes/Data/Software /Volumes/DATA2/

And it starts, then errors out.

So then I tried to tar up the directory. That started, then would error out.

I was going to try the dd command like suggested, but the destination disk was smaller than the amount that I had on the source disk. I am not familiar with that command, and I couldn't see how to copy a specific directory over.

So then after I was about to cry (not really...well almost), I realized that rsync would probably work.

So I kicked this off, and I got one directory to sync over to my other drive. I will do the other one now. I didn't want to tempt it, and just did the most important data first.

Code:
rsync -larP --exclude ".DS_Store" --exclude ".TemporaryItems" --exclude ".Trashes" /Volumes/Data/Software /Volumes/Data2/Software >> /Users/<snipped>/Desktop/rsync.log 2>&1

 

9 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

Lost Data Lost Admin

First time so excuse my ignorance please. I may not be accurately describing the issue. I have inherited a small lab mostly SUN V120s. We lost power and are trying to recover. Nope no backups... The primary issue I have is 1 box is an Oracle Server. It has 2 36Gb harddrives. I am able to... (3 Replies)
Discussion started by: murphsr
3 Replies

2. UNIX for Dummies Questions & Answers

Lost CDROM drive

I haven't used the cdrom (actually dvdrom) drive on my server in months. I put the dvd in the drive but can't see it. I did an: iostat -En but don't see anything that says cdrom or dvd, what could be the problem? Thanks! (1 Reply)
Discussion started by: FredSmith
1 Replies

3. AIX

external DDS4 Tape Drive

Hi folks, I've got a little problem concerning my external dds4 tape drive. I've got 2 rs6000 systems, one has a external dds4 tape drive attached, I want to attach the tape drive to the other rs6000 system so that i can restore data from the 1st rs6000 on to the second. Does anybody has... (3 Replies)
Discussion started by: Erik Rooijmans
3 Replies

4. Filesystems, Disks and Memory

Partitioning External Drive

I am about to set up another triple boot drive, but this one is connected to my MacBook with a USB adapter. I want to be sure that I do not overwrite data on my laptop's internal drive. This is the command I used for the internal drive, which was found in an Ubuntu forum, but the sizes were changed... (0 Replies)
Discussion started by: MacInAction
0 Replies

5. Debian

Unable to mount external drive

Trying to mount an external 160GB Toshiba drive but.... this is my dmesg tail output: usb 2-2: new high speed USB device using ehci_hcd and address 3 usb 2-2: New USB device found, idVendor=13fd, idProduct=1618 usb 2-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0 usb 2-2:... (4 Replies)
Discussion started by: Ridson
4 Replies

6. Red Hat

Usb external drive

Hi Guys I am using RHEL5 O/S. We have mounted the usb external hard drive to the server as root. I want the user oracle to be able to write into this external hard drive. How do i do that ? Please Help!!! (1 Reply)
Discussion started by: Phuti
1 Replies

7. UNIX for Advanced & Expert Users

External hard drive

I have connected an external hard drive. I can't find it. Both ls /media, fdisk -l and ls /dev show nothing. TIA (3 Replies)
Discussion started by: Meow613
3 Replies

8. UNIX for Beginners Questions & Answers

How to Install UNIX on an External Drive?

Hello, I'm running Windows 10, but I wish to install UNIX on an external drive and not my internal drive. Also, I'm not quite sure what UNIX to install? I also want to install the GNAT compiler so that I can also practice Ada programming. I will appreciate all help, CMN (2 Replies)
Discussion started by: CMN
2 Replies

9. Solaris

How i can backup data's to External Drive in Solaris 10/11?

Hello all, I'm new member and it's a very important for me. I need to backup data's from 3 server ( V880, M5000m and V490) I dont have a chance to use NFS. So i need to backup to Usb External Drive, can you help me with this issue? I dont have any experience about backup, but i need to... (1 Reply)
Discussion started by: sahkel
1 Replies
diskd(1)						      General Commands Manual							  diskd(1)

Name
       diskd - disk daemon; wait for disk to be inserted

Note
       This  manpage has been automatically generated from fdutils's texinfo documentation.  However, this process is only approximative, and some
       items, such as cross-references, footnotes and indices are lost in this translation process.  Indeed, these items have no appropriate  rep-
       resentation  in	the  manpage  format.  Moreover, only the items specific to each command have been translated, and the general information
       about fdutils has been dropped in the manpage version.  Thus I strongly advise you to use the original texinfo doc.

       *      To generate a printable copy from the texinfo doc, run the following commands:

		     ./configure; make dvi; dvips fdutils.dvi

       *      To generate a HTML copy,	run:

		     ./configure; make html

	      A pre-made HTML can be found at: `http://www.tux.org/pub/knaff/fdutils'

       *      To generate an info copy (browsable using emacs' info mode), run:

		     ./configure; make info

       The texinfo doc looks most pretty when printed or as HTML.  Indeed, in the info version certain examples are difficult to read due  to  the
       quoting conventions used in info.

Description
       The diskd command has the following syntax:

	  diskd [-d drive] [-i interval] [-e command]

       Diskd  waits for a disk to be inserted into a given drive, and then either executes the command or exits. This program can be used to auto-
       matically mount a disk as soon as it is inserted.

Warning
       This program works by switching the motor on for a very short interval, and then seeking to track -1. This might  damage  hardware  in  the
       long  run.  Amigas,  which  also  use these techniques, are known for having problems with their disk drives no longer spinning up properly
       after a few month of usage.

Options
       -d drive
	      Selects the drive to observe for disk insertion. By default, drive 0 (/dev/fd0) is observed.

       -i interval
	      Selects the polling interval. The interval is given in tenths of seconds. Default is 10 (one second).

       -e command
	      Gives the command to be executed when a disk is inserted. If no command is given the program simply exits.  Typically,  the  command
	      mounts the disk. It can be a shell scripts which probes for several filesystems and disk geometries until it succeeds.

Bugs
       *      Automatic  unmounting  cannot yet be handled. It is indeed not enough to scan for disk removal, because when the disk is removed, it
	      is already too late: There might be some buffers needing flushing.  However, the fdmountd program  allows  automatic  unmounting	by
	      using the SYNC mount options, which switches off write buffering (see section  fdmount).

       *      The drive motor is running all the time, and on some computers, the drive led flickers at each time the drive is polled.

See Also
       Fdutils' texinfo doc

fdutils-5.5							      03Mar05								  diskd(1)
All times are GMT -4. The time now is 01:43 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy