LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-30-2011, 12:43 PM   #16
ghoultek
Member
 
Registered: Sep 2011
Location: New York City
Distribution: Testing Ubuntu/XUbuntu/KUbuntu 12.04, Mint 13 (all flavors)
Posts: 56

Rep: Reputation: 2

After doing some data clean I connected the ACOM Data external USB hard drive to my slackware box. I encountered behavior similar to how the software responded to my USB key. The device notifier gave me the same error message about not being able to mount the device. There were several pop-up notifications from the device notifier with about a 1-2 minute time lapse between occurrences. However, after doing:
- /sbin/fdisk -l
- /lsusb
- dmesg |grep sd
- tail -f /var/log/messages

I was able to verify that slackware had assigned /dev/sdb as the device for the ACOM and the device had one NTFS partition on it. However, dmesg provided me with incorrect information by referring to the drive as a sdc device. When attempting to mount using /dev/sdc1, mount responds with:
"mount: special device /dev/sdc1 does not exist".

I don't understand why the drive was listed with two different devices (especially since one doesn't exist). The fdisk command provided me with the correct device name.

I created a local profile sub-folder and attempted to mount the partition using the /dev/sdb device. I encountered a permission denied error message but, I figured out that I needed the -o uid=... gid=... parameters. I was able to access the drive in read/write mode and copied data from the Acom drive to the profile sub-folder. I didn't test writing to the drive.

I've added the responses from the commands below just in case it helps the OP or some other lucky Linux newbie, or anyone else wants to provide additional info.

dmesg |grep sd responds with:
Code:
86] sd 275:0:0:0: [sdc] Assuming drive cache: write through
[239068.594994] sd 275:0:0:0: [sdc] Attached SCSI removable disk
[239073.833247] sd 276:0:0:0: Attached scsi generic sg3 type 0
[239073.839196] sd 276:0:0:0: [sdc] 7774208 512-byte logical blocks: (3.98 GB/3.70 GiB)
[239073.844744] sd 276:0:0:0: [sdc] Write Protect is off
[239073.844752] sd 276:0:0:0: [sdc] Mode Sense: 03 41 00 00
[239073.844756] sd 276:0:0:0: [sdc] Assuming drive cache: write through
[239073.851552] sd 276:0:0:0: [sdc] Assuming drive cache: write through
[239073.852844]  sdc: sdc1
[239073.855765] sd 276:0:0:0: [sdc] Assuming drive cache: write through
[239073.855773] sd 276:0:0:0: [sdc] Attached SCSI removable disk
[239227.895317] sd 277:0:0:0: Attached scsi generic sg3 type 0
[239227.905821] sd 277:0:0:0: [sdc] 7774208 512-byte logical blocks: (3.98 GB/3.70 GiB)
[239227.907873] sd 277:0:0:0: [sdc] Write Protect is off
[239227.907881] sd 277:0:0:0: [sdc] Mode Sense: 03 41 00 00
[239227.907884] sd 277:0:0:0: [sdc] Assuming drive cache: write through
[239227.913985] sd 277:0:0:0: [sdc] Assuming drive cache: write through
[239227.915172]  sdc: sdc1
/sbin/fdisk -l responds with:
Code:
Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders, total 390721968 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x68a368a3

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048     7813119     3905536   82  Linux swap
/dev/sda2         7813120    85938175    39062528   83  Linux
/dev/sda3   *    85938176   164062270    39062047+  83  Linux

Disk /dev/sdb: 160.0 GB, 160041885696 bytes
240 heads, 63 sectors/track, 20673 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xda9f4a0e

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1              63   312575759   156287848+   7  HPFS/NTFS/exFAT
tail -f /var/log/messages response with:
Code:
Sep 30 09:44:42 p424slack1337 acpid: client connected from 5293[0:1000]
Sep 30 09:44:42 p424slack1337 acpid: 1 client rule loaded
Sep 30 09:44:42 p424slack1337 dbus-daemon: [system] Rejected send message, 1 matched rules; type="method_call", sender=":1.93" (uid=1000 pid=5356 comm="kdeinit4: kded4 [kdeinit]) interface="org.freedesktop.Hal.Device.SystemPowerManagement" member="SetPowerSave" error name="(unset)" requested_reply=0 destination="org.freedesktop.Hal" (uid=0 pid=1661 comm="/usr/sbin/hald))
Sep 30 09:50:30 p424slack1337 kernel: [262781.374098] NTFS volume version 3.1.
Sep 30 09:53:39 p424slack1337 kernel: [262971.239752] NTFS volume version 3.1.
Sep 30 10:11:00 p424slack1337 -- MARK --
Sep 30 10:31:00 p424slack1337 -- MARK --
Sep 30 10:51:00 p424slack1337 -- MARK --
Sep 30 11:11:00 p424slack1337 -- MARK --
Sep 30 11:31:00 p424slack1337 -- MARK --
I'm not sure what the last 5 lines mean, or if its good or bad. I'll google it later.

lsusb responds with:
Code:
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 001 Device 052: ID 0c0b:27e7 Dura Micro, Inc. (Acomdata) 3,5'' HDD case MD-231
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to mount USB external hard drive Irene Chan Linux - Newbie 11 03-13-2010 02:02 PM
Unable to mount external hard drive JenovaProject Linux - Hardware 1 04-06-2008 04:14 PM
Unable to mount iStore USB External Hard Drive LupisYonderboy Linux - Newbie 3 10-20-2007 10:12 AM
how do I mount an external USB hard drive hykhoshn Linux - Hardware 1 06-01-2006 11:14 AM
How to mount external USB hard drive? zyzyis Linux - Newbie 6 02-01-2006 10:37 PM


All times are GMT -5. The time now is 01:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration