You are not logged in.

#1 2012-05-15 00:26:15

Vryali
Member
From: Columbia, SC
Registered: 2008-09-17
Posts: 21

Finding/Mounting USB HDD

Fairly simple - having problems picking up a hard drive's partitions to where I can mount them.  If I unplug/plug it back in, I see in /var/log/messages:

May 14 20:15:08 localhost kernel: [4384420.748275] usb 1-4: new high-speed USB device number 2 using ehci_hcd
May 14 20:18:39 localhost kernel: [4384631.481157] usb 1-4: USB disconnect, device number 2
May 14 20:18:56 localhost kernel: [4384648.201573] usb 1-4: new high-speed USB device number 3 using ehci_hcd

Output of lsusb

# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 13fd:1617 Initio Corporation

Searched by UUID, just one of the steps I tinkered with from the Wiki

# ls -lF /dev/disk/by-uuid/
total 0
lrwxrwxrwx 1 root root 10 Mar 25 02:21 10db336f-dc6c-443a-8da6-b45545b13c72 -> ../../sda5
lrwxrwxrwx 1 root root 10 Mar 25 02:21 5f270be1-6bbf-40f2-89ec-8dac70dfeccc -> ../../sda7
lrwxrwxrwx 1 root root 11 Mar 25 02:21 5fbff288-8e90-4ebb-a079-7094746e9e2b -> ../../sda12
lrwxrwxrwx 1 root root 11 Mar 25 02:21 8d39dc21-fa8c-419f-9800-b066b90c5fb1 -> ../../sda10
lrwxrwxrwx 1 root root 11 Mar 25 02:21 9d24b299-b87b-4579-a8f5-7195783cc037 -> ../../sda11
lrwxrwxrwx 1 root root 10 Mar 25 02:21 cb06ae81-28d4-46f5-a725-e29d72ca7127 -> ../../sda9
lrwxrwxrwx 1 root root 10 Mar 25 02:21 dcaf1430-17e0-4e6d-ae6b-0c058ca23f23 -> ../../sda8
lrwxrwxrwx 1 root root 10 Mar 25 02:21 e2565d91-6b10-41f0-8ec5-0adafa02557e -> ../../sda6

and then checked fdisk -l and parted, no dice.

(parted) print all
Model: ATA ST9320423AS (scsi)
Disk /dev/sda: 320GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number  Start   End     Size    Type      File system     Flags
 1      32.3kB  320GB   320GB   extended
 5      64.5kB  132MB   132MB   logical   ext4            boot
 6      132MB   2180MB  2048MB  logical   linux-swap(v1)
 7      2180MB  12.2GB  10.0GB  logical   ext4
 8      12.2GB  22.2GB  10.0GB  logical   ext4
 9      22.2GB  32.2GB  10.0GB  logical   ext4
10      32.2GB  33.2GB  1003MB  logical   ext4
11      33.2GB  53.2GB  20.0GB  logical   ext4
12      53.2GB  320GB   267GB   logical   ext4

I just don't seem to see any partitions/the device.  It has ext4 filesystems, and if I hook this into the fiancee's Easy Peasy netbook (Ubuntu derivative) , it does pick up and automount.  Happy to post any other information that'd be helpful, just let me know, kind of banging my head on the wall.

Thanks!

Edit: Output from /dev

# ls -l /dev/sd[a-zA-Z]
brw-rw---- 1 root disk 8, 0 Mar 25 02:21 /dev/sda

Last edited by Vryali (2012-05-15 00:49:56)

Offline

#2 2012-05-15 00:42:52

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

Re: Finding/Mounting USB HDD

I hope this doesn't sound to trivial ... but did you just look in the /dev/ directory for anything new after it was plugged in?

I wouldn't expect many of the steps you tried to show it if it wasn't mounted.  But even unmounted it will be in /dev/  Most likely as sdbX

Last edited by Trilby (2012-05-15 00:43:38)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2012-05-15 00:47:37

Vryali
Member
From: Columbia, SC
Registered: 2008-09-17
Posts: 21

Re: Finding/Mounting USB HDD

Trilby wrote:

I hope this doesn't sound to trivial ... but did you just look in the /dev/ directory for anything new after it was plugged in?

I wouldn't expect many of the steps you tried to show it if it wasn't mounted.  But even unmounted it will be in /dev/  Most likely as sdbX

Nope, I appreciate the response, thanks

ls -l /dev/sd[a-zA-Z]
brw-rw---- 1 root disk 8, 0 Mar 25 02:21 /dev/sda

Unfortunately, not so much seeing it, had checked dev but didn't think to post it.

Last edited by Vryali (2012-05-15 00:49:07)

Offline

#4 2012-05-15 02:30:08

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,739

Re: Finding/Mounting USB HDD

What do you see at the end of the output of dmesg
Here is what mine looks like when I plug in a flashdrive

[112090.502282] usb 2-1: new high-speed USB device number 4 using ehci_hcd
[112090.628370] scsi7 : usb-storage 2-1:1.0
[112091.641777] scsi 7:0:0:0: Direct-Access     SanDisk  Cruzer Mini      0.1  PQ: 0 ANSI: 2
[112091.643341] sd 7:0:0:0: [sdb] 501759 512-byte logical blocks: (256 MB/244 MiB)
[112091.644603] sd 7:0:0:0: [sdb] Write Protect is off
[112091.644609] sd 7:0:0:0: [sdb] Mode Sense: 03 00 00 00
[112091.645878] sd 7:0:0:0: [sdb] No Caching mode page present
[112091.645885] sd 7:0:0:0: [sdb] Assuming drive cache: write through
[112091.650613] sd 7:0:0:0: [sdb] No Caching mode page present
[112091.650620] sd 7:0:0:0: [sdb] Assuming drive cache: write through
[112091.653775]  sdb: sdb1
[112091.658872] sd 7:0:0:0: [sdb] No Caching mode page present
[112091.658879] sd 7:0:0:0: [sdb] Assuming drive cache: write through
[112091.658884] sd 7:0:0:0: [sdb] Attached SCSI removable disk

Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#5 2012-05-15 02:34:11

Vryali
Member
From: Columbia, SC
Registered: 2008-09-17
Posts: 21

Re: Finding/Mounting USB HDD

It lines up with messages:

[4384420.748275] usb 1-4: new high-speed USB device number 2 using ehci_hcd
[4384631.481157] usb 1-4: USB disconnect, device number 2
[4384648.201573] usb 1-4: new high-speed USB device number 3 using ehci_hcd
[4384950.370035] udevd[14701]: starting version 182
[4385331.229444] usb 1-4: USB disconnect, device number 3
[4385331.574840] usb 1-4: new high-speed USB device number 4 using ehci_hcd

Edit: Done for the night, but will check back tomorrow evening.  Thanks for the responses, hopefully can get this figured out =]

Last edited by Vryali (2012-05-15 03:51:29)

Offline

#6 2012-05-15 03:58:18

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,739

Re: Finding/Mounting USB HDD

Well, that is unfortunate.

Can you post the output of lsusb -vs 1:     when you have the drive attached?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#7 2012-05-16 23:18:04

Vryali
Member
From: Columbia, SC
Registered: 2008-09-17
Posts: 21

Re: Finding/Mounting USB HDD

Disconnected:

# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

# cat /var/log/messages|tail
May 16 15:21:05 localhost -- MARK --
May 16 15:41:05 localhost -- MARK --
May 16 16:21:05 localhost -- MARK --
May 16 16:41:05 localhost -- MARK --
May 16 17:21:04 localhost -- MARK --
May 16 17:41:05 localhost -- MARK --
May 16 18:09:17 localhost kernel: [4549669.618772] usb 1-4: USB disconnect, device number 4
May 16 18:09:30 localhost kernel: [4549682.821741] usb 1-4: new high-speed USB device number 5 using ehci_hcd
May 16 18:41:00 localhost -- MARK --
May 16 19:01:00 localhost -- MARK --
May 16 19:12:59 localhost kernel: [4553491.760966] usb 1-4: USB disconnect, device number 5

Reconnected.

# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 006: ID 13fd:1617 Initio Corporation

# cat /var/log/messages.log|tail
May 16 16:21:05 localhost -- MARK --
May 16 16:41:05 localhost -- MARK --
May 16 17:21:04 localhost -- MARK --
May 16 17:41:05 localhost -- MARK --
May 16 18:09:17 localhost kernel: [4549669.618772] usb 1-4: USB disconnect, device number 4
May 16 18:09:30 localhost kernel: [4549682.821741] usb 1-4: new high-speed USB device number 5 using ehci_hcd
May 16 18:41:00 localhost -- MARK --
May 16 19:01:00 localhost -- MARK --
May 16 19:12:59 localhost kernel: [4553491.760966] usb 1-4: USB disconnect, device number 5
May 16 19:15:36 localhost kernel: [4553648.071338] usb 1-4: new high-speed USB device number 6 using ehci_hcd

I'll be out of town until Sunday afternoon (EST / US) after tonight, so will be a bit delayed on responses past midnight or so.

Last edited by Vryali (2012-05-16 23:19:20)

Offline

#8 2012-05-17 12:01:44

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: Finding/Mounting USB HDD

Updated the kernel but not rebooted? usb-storage loaded?


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#9 2012-08-09 12:39:40

justforgetme
Member
From: Germany
Registered: 2012-04-01
Posts: 51
Website

Re: Finding/Mounting USB HDD

So, did anybody come up with an answer?

I am having exactly the same trouble.

sudo tail /var/log/everything.log
Aug  9 15:12:00 thoughtslave kernel: [ 2709.927050] scsi10 : usb-storage 2-1:1.0
Aug  9 15:12:00 thoughtslave mtp-probe: checking bus 2, device 7: "/sys/devices/pci0000:00/0000:00:13.2/usb2/2-1"
Aug  9 15:12:00 thoughtslave kernel: [ 2709.928540] generic-usb 0003:13FD:0550.0007: hiddev0,hidraw3: USB HID v1.10 Device [Initio  ›_dDE] on usb-0000:00:13.2-1/input1
Aug  9 15:12:00 thoughtslave mtp-probe: bus: 2, device: 7 was not an MTP device
Aug  9 15:12:22 thoughtslave kernel: [ 2731.664350] usb 2-1: reset high-speed USB device number 7 using ehci_hcd
Aug  9 15:12:32 thoughtslave kernel: [ 2741.872365] usb 2-1: reset high-speed USB device number 7 using ehci_hcd
Aug  9 15:12:48 thoughtslave kernel: [ 2758.067486] usb 2-1: reset high-speed USB device number 7 using ehci_hcd
Aug  9 15:12:48 thoughtslave kernel: [ 2758.300319] usb 2-1: reset high-speed USB device number 7 using ehci_hcd
Aug  9 15:12:58 thoughtslave kernel: [ 2768.508333] usb 2-1: reset high-speed USB device number 7 using ehci_hcd
Aug  9 15:12:59 thoughtslave kernel: [ 2768.632672] scsi 10:0:0:0: Device offlined - not ready after error recovery

The device is an old (2006ish) 2.5" IDE drive enclosure with usb and firewire interfaces. Auotinstalls on Windows machines perfectly but on my arch box no fun....


$> man life
No manual entry for `life'

$> nvm...

Offline

#10 2012-08-09 21:05:15

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Finding/Mounting USB HDD

Do you use a login manager? If not, check your ~/.xinitrc and make sure you have ck-launch-session before dbus-launch (if you use Openbox), or --with-ck-launch at the end (for Xfce). Better yet, visit the wiki page if you use some other DE/WM and carefully read it from the top. Twice.


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

Board footer

Powered by FluxBB