Hotplugging for USB hard drive stopped working
I have a Maxtor USB hard drive that I use for backup purposes. Previously when I plugged the drive into a USB port, the drive was recognized automatically and mounted to /media/USBDISK I am using SUSE 10.0 (x86_64) version. I have googled on udev, hal, and hotplug. I have looked at /etc/sysconfig and /etc/hotplug, but haven't been able to figure anything out. If I plug the drive into another SuSE 10.0 system it is recognized and all the data is there. I know the event that triggerd the failure, and it is related to Windows :). My machine also runs vmware since the business has some apps that run only on Windows. vmware has a feature that if the guest operating system has the focus, then that operating system will recognize the usb device. Unfortunately Windows had the focus when I plugged in the usb drive. A number of dialogue boxes in both Windows and linxu opened. I was in a hurry and clicked no on all of them. Anyway, after giving the focus back to SuSE and replugging the usb drive, it doesn't recognize it. I have found articles that talk about the entries to put in fstab if you don't want hotplugging and automount, but it was convenient to have hotplugging work. Any ideas on fixing this would be appreciated. Mike -- Michael A. Coan Woodlawn Foundation 524 North Avenue, Suite 203 New Rochelle, NY 10801-3410 Tel 914-632-3778 Fax 914-632-5502
On Thu, 2006-03-30 at 17:43 -0500, Mike Coan wrote:
I have a Maxtor USB hard drive that I use for backup purposes. Previously when I plugged the drive into a USB port, the drive was recognized automatically and mounted to /media/USBDISK
How did you make it work in the first place in 10.0? Autoplugging usually does not used a named entry but a generated one like usb-0*. I am trying to do some data recovery on dying drives and I need this. I just got a new box from MicroStar and I am trying to make it work with all onboard equipment. In my case it could be my drives are toast. But I am still willing to help. I too want to use HD backup. /dev/sda1 /media/FlashDrive auto noauto,users,exec,sync 0 0 this plus manual mounting is how I did Flash drives in 7.2 mount /dev/sda1 /media/FlashDrive/ Why not make a script for backup and use the manual methods? -- ___ _ _ _ ____ _ _ _ | | | | [__ | | | |___ |_|_| ___] | \/
On Saturday, April 01, 2006 @ 9:13 AM, Carl William Spitzer IV wrote:
On Thu, 2006-03-30 at 17:43 -0500, Mike Coan wrote:
I have a Maxtor USB hard drive that I use for backup purposes. Previously when I plugged the drive into a USB port, the drive was recognized automatically and mounted to /media/USBDISK
How did you make it work in the first place in 10.0? Autoplugging usually does not used a named entry but a generated one like usb-0*.
Mine works exactly like Mike's used to. If I plug in my Maxtor USB hard drive, it's auto-mounted under /media/USBDISK. As far as I recall, I didn't create the USBDISK mount point myself, so it must have been generated by SuSE.
I am trying to do some data recovery on dying drives and I need this. I just got a new box from MicroStar and I am trying to make it work with all onboard equipment. In my case it could be my drives are toast.
But I am still willing to help. I too want to use HD backup.
/dev/sda1 /media/FlashDrive auto noauto,users,exec,sync 0 0
this plus manual mounting is how I did Flash drives in 7.2
mount /dev/sda1 /media/FlashDrive/
Why not make a script for backup and use the manual methods?
At 10:26 PM 4/1/2006 -0600, Greg Wallace wrote:
/snip/
I am trying to do some data recovery on dying drives and I need this. I just got a new box from MicroStar and I am trying to make it work with all onboard equipment. In my case it could be my drives are toast.
/snip/ There is a program, which I no longer know the name of, which promises to salvage all usable data on any disk that still turns. One of my compatriots at my former saltmine found it, and stole it from a Russian website. It worked really well. (I wish I had a copy!) I don't think it worked under Windows, I think it worked by itself. Or maybe under a simplified DOS? This was at least 4 years ago. The program was NOT Russian, but was stolen by Russians and put on one of the websites that this former USSR citizen knew about. I don't know if it would work for file systems other than DOS/Windows, or even XP. Good luck finding it, and please advise what happens! If you have no luck, I will try and contact him and ask for details, altho he is reluctant to give out sources. --doug -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.1.385 / Virus Database: 268.3.4/299 - Release Date: 3/31/2006
Greg Wallace wrote:
On Saturday, April 01, 2006 @ 9:13 AM, Carl William Spitzer IV wrote:
On Thu, 2006-03-30 at 17:43 -0500, Mike Coan wrote:
I have a Maxtor USB hard drive that I use for backup purposes. Previously when I plugged the drive into a USB port, the drive was recognized automatically and mounted to /media/USBDISK
How did you make it work in the first place in 10.0? Autoplugging usually does not used a named entry but a generated one like usb-0*.
Mine works exactly like Mike's used to. If I plug in my Maxtor USB hard drive, it's auto-mounted under /media/USBDISK. As far as I recall, I didn't create the USBDISK mount point myself, so it must have been generated by SuSE.
I am trying to do some data recovery on dying drives and I need this. I just got a new box from MicroStar and I am trying to make it work with all onboard equipment. In my case it could be my drives are toast.
I find the automount is flakey. Often running YOU will cause it to fail - or start working again. Sometimes after the same update, it will work on one computer, but not another. Add this to the slow "sync" writes and it's obvious automount needs work.
Doug McGarrett wrote:
At 10:26 PM 4/1/2006 -0600, Greg Wallace wrote:
/snip/
I am trying to do some data recovery on dying drives and I need this. I just got a new box from MicroStar and I am trying to make it work with all onboard equipment. In my case it could be my drives are toast.
/snip/
There is a program, which I no longer know the name of, which promises to salvage all usable data on any disk that still turns. One of my compatriots at my former saltmine found it, and stole it from a Russian website. It worked really well. (I wish I had a copy!) I don't think it worked under Windows, I think it worked by itself. Or maybe under a simplified DOS? This was at least 4 years ago. The program was NOT Russian, but was stolen by Russians and put on one of the websites that this former USSR citizen knew about. I don't know if it would work for file systems other than DOS/Windows, or even XP. Good luck finding it, and please advise what happens! If you have no luck, I will try and contact him and ask for details, altho he is reluctant to give out sources.
--doug
Try spin rite from Gifson research. It is http://www.grc.com. -- Joseph Loo jloo@acm.org
participants (6)
-
Carl William Spitzer IV
-
Doug McGarrett
-
Greg Wallace
-
James Knott
-
Joseph Loo
-
Mike Coan