You are not logged in.

#1 2012-02-07 21:47:57

untamed
Member
Registered: 2011-05-11
Posts: 11

[Solved] Can't mount USB drive

I have a 3.5" hard disk drive. When I try to connect to my arch box with an usb adapter, I see in the logs:

Feb  7 22:42:20 anacleto kernel: [   82.030071] usb 1-7: new high-speed USB device number 3 using ehci_hcd
Feb  7 22:42:20 anacleto mtp-probe: checking bus 1, device 3: "/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-7"
Feb  7 22:42:20 anacleto mtp-probe: bus: 1, device: 3 was not an MTP device
Feb  7 22:42:20 anacleto kernel: [   82.317747] usbcore: registered new interface driver uas
Feb  7 22:42:20 anacleto kernel: [   82.328447] Initializing USB Mass Storage driver...
Feb  7 22:42:20 anacleto kernel: [   82.328816] scsi2 : usb-storage 1-7:1.0
Feb  7 22:42:20 anacleto kernel: [   82.329254] usbcore: registered new interface driver usb-storage
Feb  7 22:42:20 anacleto kernel: [   82.329262] USB Mass Storage support registered.
Feb  7 22:42:21 anacleto kernel: [   83.327681] scsi 2:0:0:0: Direct-Access                                    PQ: 0 ANSI: 2 CCS
Feb  7 22:42:21 anacleto kernel: [   83.331055] sd 2:0:0:0: [sdb] Test WP failed, assume Write Enabled
Feb  7 22:42:21 anacleto kernel: [   83.336037] sd 2:0:0:0: [sdb] Test WP failed, assume Write Enabled
Feb  7 22:42:21 anacleto kernel: [   83.336962] sd 2:0:0:0: [sdb] Attached SCSI disk

[roberto@anacleto ~]$ cat /proc/partitions
major minor  #blocks  name

   8        0  488386584 sda
   8        1   22528000 sda1
   8        2  409603411 sda2
   8        3          1 sda3
   8        5     995998 sda5
   8        6   15623181 sda6
   8        7   25390701 sda7                                                                                                                                   
  11        0    1048575 sr0

As you can see I can't mount it. Same drive in Windows got installed but I can't see the device in "windows explorer", nor in "disk management".
What can I do?

Last edited by untamed (2012-02-09 20:38:23)

Offline

#2 2012-02-07 22:42:27

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,516
Website

Re: [Solved] Can't mount USB drive

How have you attempted to mount it?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2012-02-08 00:53:20

99Percent
Member
Registered: 2011-06-11
Posts: 32

Re: [Solved] Can't mount USB drive

There has been some issues with recent Linux kernels regarding windows type partitions. Check that you have 3.2.2-1-ARCH atleast with command uname -r

Offline

#4 2012-02-08 08:14:25

untamed
Member
Registered: 2011-05-11
Posts: 11

Re: [Solved] Can't mount USB drive

@Trilby: as you can see I have no partitions for drive /dev/sdb, so I do not know how to mount it (I know that there is at least one partition on that drive).

@99percent: I already mount correctly windows partitions with my arch box, however I'm going to verify my kernel version.

Last edited by untamed (2012-02-08 08:14:47)

Offline

#5 2012-02-08 10:34:24

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [Solved] Can't mount USB drive

Do a 'fdisk -l /dev/sdb' and check if there really are any partitions on the device, at least defined in the partition table. This applies if you are still using the MBR style partitions, if you use GPT then I can't be of much help since I haven't played with that yet.

If you don't have any partitions defined and have the whole device formatted then try to force a mount and specify the filesystem type. Also is it really a used disk with something inside? Can it be a new blank disk or could it have been wiped?


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#6 2012-02-09 20:38:02

untamed
Member
Registered: 2011-05-11
Posts: 11

Re: [Solved] Can't mount USB drive

Tonight the drive magically got installed .... :-)
I do not know why but now I see 3 partitions and I'm copying data in a safer drive.

Feb  9 21:22:08 anacleto kernel: [   83.103390] usb 1-7: new high-speed USB device number 3 using ehci_hcd
Feb  9 21:22:08 anacleto mtp-probe: checking bus 1, device 3: "/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-7"
Feb  9 21:22:08 anacleto mtp-probe: bus: 1, device: 3 was not an MTP device
Feb  9 21:22:08 anacleto kernel: [   83.397804] usbcore: registered new interface driver uas
Feb  9 21:22:08 anacleto kernel: [   83.409245] Initializing USB Mass Storage driver...
Feb  9 21:22:08 anacleto kernel: [   83.409749] scsi2 : usb-storage 1-7:1.0
Feb  9 21:22:08 anacleto kernel: [   83.410889] usbcore: registered new interface driver usb-storage
Feb  9 21:22:08 anacleto kernel: [   83.410899] USB Mass Storage support registered.
Feb  9 21:22:09 anacleto kernel: [   84.411179] scsi 2:0:0:0: Direct-Access     ST316002 3AS                   PQ: 0 ANSI: 2 CCS
Feb  9 21:22:09 anacleto kernel: [   84.413026] sd 2:0:0:0: [sdb] 312581808 512-byte logical blocks: (160 GB/149 GiB)
Feb  9 21:22:09 anacleto kernel: [   84.414403] sd 2:0:0:0: [sdb] Write Protect is off
Feb  9 21:22:09 anacleto kernel: [   84.434356]  sdb: sdb1 sdb2 sdb3
Feb  9 21:22:09 anacleto kernel: [   84.440255] sd 2:0:0:0: [sdb] Attached SCSI disk
Feb  9 21:22:44 anacleto ntfs-3g[1002]: Version 2011.4.12 external FUSE 28
Feb  9 21:22:44 anacleto ntfs-3g[1002]: Mounted /dev/sdb2 (Read-Write, label "PRESARIO", NTFS 3.1)
Feb  9 21:22:44 anacleto ntfs-3g[1002]: Cmdline options: rw,nosuid,nodev,uhelper=udisks,uid=1001,gid=1001,dmask=0077,fmask=0177
Feb  9 21:22:44 anacleto ntfs-3g[1002]: Mount options: rw,nosuid,nodev,uhelper=udisks,allow_other,nonempty,atime,fsname=/dev/sdb2,blkdev,blksize=4096,default_permissions

It is definetly a damaged drive so moving data it's the first priority.
Thank you.

Offline

#7 2012-02-09 20:42:28

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Can't mount USB drive

untamed, please use [ code ] tags, not [ quote ] tags, when posting code on the forums https://bbs.archlinux.org/help.php#bbcode

like this

It makes the code more readable and more convenient to scroll through.

Offline

#8 2012-02-10 09:11:21

untamed
Member
Registered: 2011-05-11
Posts: 11

Re: [Solved] Can't mount USB drive

Sure. Sorry for my mistake.

Offline

Board footer

Powered by FluxBB