USB Hard drive access

Hey everyone…just want to download the 60mb-ish pack of family photos from my external usb hard drive. I’ve gone through a multitude of wikis and help threads and can’t seem to figure out how to copy and paste those files to my laptop :frowning:

The usb hd works perfectly as I just was using it about 1 hour ago when I still had vista on this laptop.

Here’s a copy of my fstab as that seems the file all the wiki’s/help guides refer to:

/dev/disk/by-id/ata-WDC_WD3200BEVT-60ZCT0_WD-WXE708CU4676-part1 swap swap defaults 0 0
/dev/disk/by-id/ata-WDC_WD3200BEVT-60ZCT0_WD-WXE708CU4676-part2 / ext4 acl,user_xattr 1 1
/dev/disk/by-id/ata-WDC_WD3200BEVT-60ZCT0_WD-WXE708CU4676-part3 /home ext4 acl,user_xattr 1 2
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0

And thanks again for any help offered if you guys can figure this doozey out lol. :frowning:

Hey everyone…just want to download the 60mb-ish pack of family photos from my external usb hard drive. I’ve gone through a multitude of wikis and help threads and can’t seem to figure out how to copy and paste those files to my laptop :frowning:

The usb hd works perfectly as I just was using it about 1 hour ago when I still had vista on this laptop.

Here’s a copy of my fstab as that seems the file all the wiki’s/help guides refer to:

  	 			 			 				/dev/disk/by-id/ata-WDC_WD3200BEVT-60ZCT0_WD-WXE708CU4676-part1 swap                 swap       defaults              0 0

/dev/disk/by-id/ata-WDC_WD3200BEVT-60ZCT0_WD-WXE708CU4676-part2 / ext4 acl,user_xattr 1 1
/dev/disk/by-id/ata-WDC_WD3200BEVT-60ZCT0_WD-WXE708CU4676-part3 /home ext4 acl,user_xattr 1 2
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0

no icons show up on desktop nor am i sure where to look in the first place heh. looking all through the help files and wikis and i keep ending up at terminal which always tell me to edit the stuff shown above.

BlueAce3 wrote:

>
> And thanks again for any help offered if you guys can figure this doozey
> out lol. :frowning:
>
>
Normaly when you plugin your usb harddrive and power it on it should
directly appear in your file browser. If not it is strange.
What desktop environment are you using and which version of opensuse?
When you dettached the drive from windows did you do a save remove of the
drive before in vista?


openSUSE 11.2 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.5.1 | GeForce
9600 GT | 4GB Ram
openSUSE 11.3 64 bit | Intel Core2 Duo T9300@2.50GHz | Gnome 2.30 | Quadro
FX 3600M | 4GB Ram

Thanks for the response. I’m using 64bit OpenSuSe 11.3. As for your last sentence all I did was buy a cheap 250g external so I could copy my pictures folder from vista to linux :slight_smile: It was merely a drag and drop.

Also, it’s a usb powered hd as well. No external AC power if that helps.

Also, computer is a HP DV5-1160US. Tech spec’s here: http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01550118&cc=us&lc=en&dlc=en

BlueAce3 wrote:

>
> Thanks for the response. I’m using 64bit OpenSuSe 11.3. As for your last
> sentence all I did was buy a cheap 250g external so I could copy my
> pictures folder from vista to linux :slight_smile: It was merely a drag and drop.
>
>
So I guess you run opensuse with standard kde desktop. When you plug in and
open dolphin does at the left side the name of the hard drive appear so that
you can click on it or happens simply nothing?
Sometimes linux cannot read a drive if it was not safely removed from
windows before.
Can you try to plug the drive into windows and when it appears say “safely
remove hardware” (it is maybe a slightly different wording since I see
everything in german). Then unplug it from windows and try again with linux,
sometimes this is the whole trouble.

If that does not help and if absolutely nothing happens in linux when you
plugin the drive (it can last a few seconds until something happpens):

Open a terminal and type


lsusb -v

and post the output so that we can see if at least the mass storage was
detected and which model it is (I also use a simple noname harddrive for
backups and pictures and it always pops up when I power it on, I do not
think it is a hardware problem).


openSUSE 11.2 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.5.1 | GeForce
9600 GT | 4GB Ram
openSUSE 11.3 64 bit | Intel Core2 Duo T9300@2.50GHz | Gnome 2.30 | Quadro
FX 3600M | 4GB Ram

Bus 002 Device 004: ID 0409:005a NEC Corp. HighSpeed Hub
libusb couldn’t open USB device /dev/bus/usb/002/004: Permission denied.
libusb requires write access to USB device nodes.
Couldn’t open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 1 Single TT
bMaxPacketSize0 64
idVendor 0x0409 NEC Corp.
idProduct 0x005a HighSpeed Hub
bcdDevice 1.00
iManufacturer 0
iProduct 0
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 12

Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
libusb couldn’t open USB device /dev/bus/usb/003/001: Permission denied.
libusb requires write access to USB device nodes.
Couldn’t open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0 Full speed (or root) hub
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0001 1.1 root hub
bcdDevice 2.06
iManufacturer 3
iProduct 2
iSerial 1
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 1x 2 bytes
bInterval 255

Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
libusb couldn’t open USB device /dev/bus/usb/004/001: Permission denied.
libusb requires write access to USB device nodes.
Couldn’t open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0 Full speed (or root) hub
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0001 1.1 root hub
bcdDevice 2.06
iManufacturer 3
iProduct 2
iSerial 1
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 1x 2 bytes
bInterval 255

Bus 004 Device 002: ID 045e:00d1 Microsoft Corp. Optical Mouse with Tilt Wheel
libusb couldn’t open USB device /dev/bus/usb/004/002: Permission denied.
libusb requires write access to USB device nodes.
Couldn’t open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x045e Microsoft Corp.
idProduct 0x00d1 Optical Mouse with Tilt Wheel
bcdDevice 1.20
iManufacturer 1
iProduct 2
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 34
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 1 Boot Interface Subclass
bInterfaceProtocol 2 Mouse
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.11
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 196
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0006 1x 6 bytes
bInterval 10

Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
libusb couldn’t open USB device /dev/bus/usb/005/001: Permission denied.
libusb requires write access to USB device nodes.
Couldn’t open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0 Full speed (or root) hub
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0001 1.1 root hub
bcdDevice 2.06
iManufacturer 3
iProduct 2
iSerial 1
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 1x 2 bytes
bInterval 255

Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
libusb couldn’t open USB device /dev/bus/usb/006/001: Permission denied.
libusb requires write access to USB device nodes.
Couldn’t open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0 Full speed (or root) hub
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0001 1.1 root hub
bcdDevice 2.06
iManufacturer 3
iProduct 2
iSerial 1
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 1x 2 bytes
bInterval 255

Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
libusb couldn’t open USB device /dev/bus/usb/007/001: Permission denied.
libusb requires write access to USB device nodes.
Couldn’t open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0 Full speed (or root) hub
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0001 1.1 root hub
bcdDevice 2.06
iManufacturer 3
iProduct 2
iSerial 1
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 1x 2 bytes
bInterval 255

Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
libusb couldn’t open USB device /dev/bus/usb/008/001: Permission denied.
libusb requires write access to USB device nodes.
Couldn’t open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0 Full speed (or root) hub
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0001 1.1 root hub
bcdDevice 2.06
iManufacturer 3
iProduct 2
iSerial 1
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 1x 2 bytes
bInterval 255

it appears some of the message gets truncated…just too large lol.

Try this which I posted elsewhere

Not able to mount other drive (NTFS, FAT32 and EXT4) on the hard disk

Tony

On 2010-09-28 01:06, BlueAce3 wrote:
>
> Thanks for the response. I’m using 64bit OpenSuSe 11.3. As for your last
> sentence all I did was buy a cheap 250g external so I could copy my
> pictures folder from vista to linux :slight_smile: It was merely a drag and drop.

You need to tell windows that you are going to remove the usb disk, wait for windows to tell you
that it is safe to remove it, then remove it. Else, linux will detect that and refuse to mount it
(on ntfs drives).


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)

daaaamn. i have no windows to use! :frowning: ROFL.

Using windows isn’t absolutely necessary. You can force it to mount even if it’s “dirty”.
Something like this… replace your drives and mount points in this command.

mount -t ntfs-3g /dev/sda1 /media/ntfs -o force

BlueAce3, the fstab file is intended for hard drives you leave connected up all of the time to openSUSE. If this is your wish, we can tell you how to do this. If you just want to copy files from the disk and then unplug it, there is another way to go.

You need to tell us what openSUSE version you are using and what desktop that you are using so that we might tell you where to look for a USB hard drive, you plug in on-the-fly. In fact, it is best to start openSUSE and after you have logged in, then plug in the hard drive. In KDE, for instance, there is a USB device icon in the icon tray. After you plug in a drive, I can press it and it will show the latest USB drive attached. If I tap the drive, I am given an option to load the file manager of my choice. If I open up the “My Computer” icon on the desktop, I will see the new drive and can select its name, which also will open the new drive in a file manager.

If you decided to use GNOME, I am less familiar with how it works, but perhaps someone else can come in and make a suggestion for you, should this be the case.

Thank You,

HEY…YOU…HOLD UP…STOP…HOLD UP.

(lol)

I just restarted pc and I guess if my external is plugged in on boot its ok, just can’t unplug it. (Tried already. rotfl!)

So thanks for your time, this is at least workable for me lol. Maybe I should have gotten a simple flash memory stick altho the store didn’t have any at the moment heh.)

Interesting. I yank my USB storage devices off Windows and Linux all the time and re-attach to both Windows and Linux without issue… as long as I’m not in the middle of an active file transfer operation.

And never had a problem.

Have been doing this for a couple years now since someone pointed out to me that he also never properly dismounted USB storage devices.

Of course, I don’t do the same for other types USB devices.

Tony

On 2010-09-28 16:36, tsu2 wrote:

> Interesting. I yank my USB storage devices off Windows and Linux all
> the time and re-attach to both Windows and Linux without issue… as
> long as I’m not in the middle of an active file transfer operation.
>
> And never had a problem.

You will, eventually.

I have seen it happen many times. Effects vary from nothing noticed to complete disaster.


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)

OK, I’ll bite.
Is this something based on personal observation only, or do you know that this causes a setting (eg some kind of “dirty disconnect”) that is preserved and even more surprisingly somehow communicated to a different machine if the USB storage device is re-attached to another machine?

Again, the only time I’ve seen consequences is if a file operation is in progress, which shouldn’t be a surprise.

In cameron’s situation, I suspect a file operation in progress (ie. maybe indexing?). Once file indexing has been completed I wouldn’t be surprised if he could then remove/re-attach the drive normally.

Tony

Windows actually sets a “dirty bit” on the drive. It doesn’t necessarily mean there’s corruption, just that there’s a possibility of corruption because of improper removal.
Microsoft Corporation (DIRTY BIT)

On 2010-09-29 03:36, tsu2 wrote:
>
> Carlos E. R.;2229976 Wrote:

> OK, I’ll bite.
> Is this something based on personal observation only, or do you know
> that this causes a setting (eg some kind of “dirty disconnect”) that is
> preserved and even more surprisingly somehow communicated to a different
> machine if the USB storage device is re-attached to another machine?

Documented. In NTFS partitions or sticks (which is the OP case), there is a “journal”, same as do
reiserfs, xfs, ext3/4… When the filesystem is properly closed, the journal is applied and reset.
When you plug that stick into linux, it detects that the log is not empty, and not knowing how to
apply the log, it refuses to mount it. This is explained in the ntfs-3g documentation.

And the problem of the OP was precisely that his external NTFS disk was not mounted when plugged in,
it did not appear automatically - which matches precisely with the above “feature”.

Notice:

The post I replied to was one from BlueAce3:

Re: Mounting a NTFS USB Drive w/ family photos
group: opensuse.org.help.hardware.64-bit

to which you have replied in “opensuse.org.help.hardware” instead. It is true that BlueAce3 also
posted here, but I did not see it, nor replied to.

We are having a strange crosspost.

And the post from “cameron” you mention below I have no idea which one it is. :-?

> Again, the only time I’ve seen consequences is if a file operation is
> in progress, which shouldn’t be a surprise.
>
> In cameron’s situation, I suspect a file operation in progress (ie.
> maybe indexing?). Once file indexing has been completed I wouldn’t be
> surprised if he could then remove/re-attach the drive normally.

I can not comment on “cameron” problem as I don’t have that post.

In general, FAT disks are quite resilient to the “removal” treatment. After all, it was designed for
floppies, which could be easily removed after waiting for the light to go off. But… modern disks
are much bigger, and the operating systems can cache and delay write operations for undefined
periods of time. There is a variable risk with sudden removal of a disk, depending a lot on the
applications running. The problems might not manifest themselves right after the removal, they can
be delayed days or months.

It is true, man people think that nothing bad happens… till one day, it happens. Yes, I have seen
many people with destroyed data on sticks.

And in the case of journaled filesystems, automounting usually fails on the very next plug-in. As
the OP saw.


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)