[opensuse] Problem mounting WD My Book external HD
I'm on openSUSE 13.1. I have a 3TB Western Digital My Book external hard disk and it does not get automatically mounted, nor recognzed at all by the device notifier. When I plug it in, /var/log/messages gives the attached output, which indicates that the kernel recognizes the disk but systemd-udevd worker hits a timeout and gets killed. I found references online to such a timeout with other devices but could not find a solution to my problem. I am, however, able to mount the My Book manually as root: # mount /dev/sdc1 /mnt/1 The disk contains an unclean file system (0, 0). The file system wasn't safely closed on Windows. Fixing. An online search suggests these messages are because the hard disk is NTFS formatted. AFAICT the disk is successfully mounted and readable; I haven't yet tried writing to it. Does anyone know if and how I can get this external hard disk to mount automatically and not just as root? Steve Berman
Le 22/12/2013 19:17, Stephen Berman a écrit :
Does anyone know if and how I can get this external hard disk to mount automatically and not just as root?
have it connected to any windows machine and correctly removed AFAIK ntfs-3d do not try to repair damaged file system if the data on the disk is not too large, copy it elsewhere and reformat it... jdd -- http://www.dodin.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Sun, 22 Dec 2013 19:39:57 +0100 jdd <jdd@dodin.org> wrote:
Le 22/12/2013 19:17, Stephen Berman a écrit :
Does anyone know if and how I can get this external hard disk to mount automatically and not just as root?
have it connected to any windows machine and correctly removed AFAIK ntfs-3d do not try to repair damaged file system
That got rid of the messages when I manually mount the disk as root, thanks. But the problem of it not being automounted nor recognzed by the device notifier remains, with the same messages about the systemd-udevd worker timeout.
if the data on the disk is not too large, copy it elsewhere and reformat it...
But I'm concerned that the timeout problem might indicate an issue with the hard disk firmware and the linux kernal and not a filesystem issue. Or is this concern unwarranted? Steve Berman -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 22/12/2013 20:07, Stephen Berman a écrit :
But I'm concerned that the timeout problem might indicate an issue with the hard disk firmware and the linux kernal and not a filesystem issue. Or is this concern unwarranted?
never seen this (but only my experience), could also been an usb interface problem. I also had problem with an usb3 disk on usb3 pci card, but seems to work on 13.1. udev is sometime also very curious jdd -- http://www.dodin.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Sun, 22 Dec 2013 20:15:14 +0100 jdd <jdd@dodin.org> wrote:
Le 22/12/2013 20:07, Stephen Berman a écrit :
But I'm concerned that the timeout problem might indicate an issue with the hard disk firmware and the linux kernal and not a filesystem issue. Or is this concern unwarranted?
never seen this (but only my experience), could also been an usb interface problem.
I also had problem with an usb3 disk on usb3 pci card, but seems to work on 13.1.
I get the same timeout and failure to automount when I plug it into usb2 ports on this machine... Steve Berman -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 23/12/13 05:17, Stephen Berman wrote:
I'm on openSUSE 13.1. I have a 3TB Western Digital My Book external hard disk and it does not get automatically mounted, nor recognzed at all by the device notifier. When I plug it in, /var/log/messages gives the attached output, which indicates that the kernel recognizes the disk but systemd-udevd worker hits a timeout and gets killed. I found references online to such a timeout with other devices but could not find a solution to my problem. I am, however, able to mount the My Book manually as root:
# mount /dev/sdc1 /mnt/1 The disk contains an unclean file system (0, 0). The file system wasn't safely closed on Windows. Fixing.
An online search suggests these messages are because the hard disk is NTFS formatted. AFAICT the disk is successfully mounted and readable; I haven't yet tried writing to it.
Does anyone know if and how I can get this external hard disk to mount automatically and not just as root?
Steve Berman
As far as I am aware, the correct mounting statement is: mount -t [FS] /dev/sdcX /[mnt]/[some-directory-in-[mnt] which in your case would be- mount -t ntfs /dev/sdc1 /mnt/1 and you create "1" in /mnt by whichever means you want (I use mc [Midnight Commander]). (see 'man mount' in console). Now re WD. I had a heck of time with trying to do anything with a WD 2TB HDD which I finally "threw away" and bought a Seagate. I believe the reason why I had so much trouble was because of the way they are formatted - 1MB something-or-other.....sorry cannot remember. The other reason why you are having a hassle with it and getting the above error message is that the HDD was not shutdown correctly and the flag that unwirtten data has not been written to the HDD. Hook the HDD to a Windows system and then close the HDD correctly (ie, you get the message that, "The device can now be safely removed.") Never remove the HDD or a USB stick without doing this procedure in either Windows or a Linux distro. Oh, there is one other thing which you probably may not be aware of. The bright sparks who always have our - ie, the users - interests at the bottom of all their endeavours is that if you do finally get to get to successfully get a USB device plugged in then you should know that the device no longer shows up in /media/[device] but rather it now shows up -wait for it, wait for it!......in /var/run/media/<your-login-name>/<device>. Cute, eh? BC -- Using openSUSE 13.1, KDE 4.12.0 & kernel 3.12.5-2 on a system with- AMD FX 8-core 3.6/4.2GHz processor 16GB PC14900/1866MHz Quad Channel Corsair "Vengeance" RAM Gigabyte AMD3+ m/board; Gigabyte nVidia GTX660 OC 2GB DDR5 GPU -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Mon, 23 Dec 2013 17:25:45 +1100 Basil Chupin <blchupin@iinet.net.au> wrote:
On 23/12/13 05:17, Stephen Berman wrote:
I'm on openSUSE 13.1. I have a 3TB Western Digital My Book external hard disk and it does not get automatically mounted, nor recognzed at all by the device notifier. When I plug it in, /var/log/messages gives the attached output, which indicates that the kernel recognizes the disk but systemd-udevd worker hits a timeout and gets killed. I found references online to such a timeout with other devices but could not find a solution to my problem. I am, however, able to mount the My Book manually as root:
# mount /dev/sdc1 /mnt/1 The disk contains an unclean file system (0, 0). The file system wasn't safely closed on Windows. Fixing.
An online search suggests these messages are because the hard disk is NTFS formatted. AFAICT the disk is successfully mounted and readable; I haven't yet tried writing to it.
Does anyone know if and how I can get this external hard disk to mount automatically and not just as root?
Steve Berman
As far as I am aware, the correct mounting statement is:
mount -t [FS] /dev/sdcX /[mnt]/[some-directory-in-[mnt]
`mount' is pretty good at guessing the filesystem, so -t is usually dispensable with common filesystems. Anyway, mounting per se isn't my problem, but automounting and getting the hard disk recognized by the device notifier. I suppose I could just make an entry for the disk in /etc/fstab, but then I think there will be an error on booting if it's not plugged in. Maybe that doesn't matter.
Now re WD. I had a heck of time with trying to do anything with a WD 2TB HDD which I finally "threw away" and bought a Seagate. I believe the reason why I had so much trouble was because of the way they are formatted - 1MB something-or-other.....sorry cannot remember.
I wonder if this is related to the timeout I'm seeing. I'm still hoping to find out what that's about.
The other reason why you are having a hassle with it and getting the above error message is that the HDD was not shutdown correctly and the flag that unwirtten data has not been written to the HDD. Hook the HDD to a Windows system and then close the HDD correctly (ie, you get the message that, "The device can now be safely removed.")
Yes, thanks, I already got this advice upthread and it did eliminate those messages.
Never remove the HDD or a USB stick without doing this procedure in either Windows or a Linux distro.
Actually, this was a brand new, shrinkwrapped disk. I guess that means the WD employee or subcontractor who formatted it didn't safely remove it.
Oh, there is one other thing which you probably may not be aware of.
The bright sparks who always have our - ie, the users - interests at the bottom of all their endeavours is that if you do finally get to get to successfully get a USB device plugged in then you should know that the device no longer shows up in /media/[device] but rather it now shows up -wait for it, wait for it!......in /var/run/media/<your-login-name>/<device>. Cute, eh?
Thanks, I know about this, but it is rather annoying. Steve Berman -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 12/23/2013 12:36 PM, Stephen Berman pecked at the keyboard and wrote:
On Mon, 23 Dec 2013 17:25:45 +1100 Basil Chupin <blchupin@iinet.net.au> wrote:
On 23/12/13 05:17, Stephen Berman wrote:
I'm on openSUSE 13.1. I have a 3TB Western Digital My Book external hard disk and it does not get automatically mounted, nor recognzed at all by the device notifier. When I plug it in, /var/log/messages gives the attached output, which indicates that the kernel recognizes the disk but systemd-udevd worker hits a timeout and gets killed. I found references online to such a timeout with other devices but could not find a solution to my problem. I am, however, able to mount the My Book manually as root:
# mount /dev/sdc1 /mnt/1 The disk contains an unclean file system (0, 0). The file system wasn't safely closed on Windows. Fixing.
An online search suggests these messages are because the hard disk is NTFS formatted. AFAICT the disk is successfully mounted and readable; I haven't yet tried writing to it.
Does anyone know if and how I can get this external hard disk to mount automatically and not just as root?
Steve Berman
As far as I am aware, the correct mounting statement is:
mount -t [FS] /dev/sdcX /[mnt]/[some-directory-in-[mnt]
`mount' is pretty good at guessing the filesystem, so -t is usually dispensable with common filesystems. Anyway, mounting per se isn't my problem, but automounting and getting the hard disk recognized by the device notifier. I suppose I could just make an entry for the disk in /etc/fstab, but then I think there will be an error on booting if it's not plugged in. Maybe that doesn't matter.
Use the noauto and user options in fstab so you can mount/umount at will. /dev/sdc1 /mnt/1 ntfs noauto,user 0 0 might work, other options are avail use man fstab for more info. -- Ken Schneider SuSe since Version 5.2, June 1998 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Mon, 23 Dec 2013 13:50:23 -0500 Ken Schneider - openSUSE <suse-list3@bout-tyme.net> wrote:
On 12/23/2013 12:36 PM, Stephen Berman pecked at the keyboard and wrote:
On Mon, 23 Dec 2013 17:25:45 +1100 Basil Chupin <blchupin@iinet.net.au> wrote:
On 23/12/13 05:17, Stephen Berman wrote:
I'm on openSUSE 13.1. I have a 3TB Western Digital My Book external hard disk and it does not get automatically mounted, nor recognzed at all by the device notifier. When I plug it in, /var/log/messages gives the attached output, which indicates that the kernel recognizes the disk but systemd-udevd worker hits a timeout and gets killed. I found references online to such a timeout with other devices but could not find a solution to my problem. I am, however, able to mount the My Book manually as root:
# mount /dev/sdc1 /mnt/1 The disk contains an unclean file system (0, 0). The file system wasn't safely closed on Windows. Fixing.
An online search suggests these messages are because the hard disk is NTFS formatted. AFAICT the disk is successfully mounted and readable; I haven't yet tried writing to it.
Does anyone know if and how I can get this external hard disk to mount automatically and not just as root?
Steve Berman
As far as I am aware, the correct mounting statement is:
mount -t [FS] /dev/sdcX /[mnt]/[some-directory-in-[mnt]
`mount' is pretty good at guessing the filesystem, so -t is usually dispensable with common filesystems. Anyway, mounting per se isn't my problem, but automounting and getting the hard disk recognized by the device notifier. I suppose I could just make an entry for the disk in /etc/fstab, but then I think there will be an error on booting if it's not plugged in. Maybe that doesn't matter.
Use the noauto and user options in fstab so you can mount/umount at will.
/dev/sdc1 /mnt/1 ntfs noauto,user 0 0
might work, other options are avail use man fstab for more info.
Yes, thanks; I should have refreshed my memory with the man page before posting. But I'd still like to know why there's a udev timeout, which I suppose causes the device notifier not to respond to the disk... Steve Berman -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 23/12/2013 20:38, Stephen Berman a écrit :
posting. But I'd still like to know why there's a udev timeout, which I suppose causes the device notifier not to respond to the disk...
Steve Berman
anyway it's better to use yast (with the disk attached) to setup the mount point, because you can use the disk id - an usb disk is not always seen with the same deviace add the options in yast or later jdd -- http://www.dodin.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (4)
-
Basil Chupin
-
jdd
-
Ken Schneider - openSUSE
-
Stephen Berman