LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-02-2010, 04:00 PM   #1
mrwizardno2
LQ Newbie
 
Registered: Apr 2010
Posts: 2

Rep: Reputation: 0
Mount USB Disk on Debian Etch that doesn't have a module node?


Hey guys, this is my first post. I'm a relative beginner with linux, but I am pretty good with the Google so I've been doing a decent bit of poking around.

I have a machine that has an integrated USB flash drive somewhere in it that I can not seem to mount. The OS knows it is there, as I can see it in the dmesg output, but the actual "node" in /dev doesn't actually exist. I'm baffled. Will you help me figure this out?

Here's what I came up with so far. The disk is attached to the USB bus, used as a SCSI block device. In dmesg, it is referred to at one point as sdf, as well as under /sys/class/scsi_device. When I go check /dev, /dev/sdf does not exist!:

Code:
cat /proc/bus/usb/devices
T:  Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=090c ProdID=1000 Rev=11.00
S:  Manufacturer=SMI Corporation
S:  Product=USB DISK
S:  SerialNumber=AA04012700007530
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=31875us
Code:
cat /proc/scsi/scsi
Host: scsi6 Channel: 00 Id: 00 Lun: 00
  Vendor: SMI      Model: USB DISK         Rev: 1100
  Type:   Direct-Access                    ANSI  SCSI revision: 00

Code:
cat /proc/partitions
major minor  #blocks  name

   8        0  976762584 sda
   8        1    4194304 sda1
   8        2     524288 sda2
   8        3  972041438 sda3
   8       16  976762584 sdb
   8       17    4194304 sdb1
   8       18     524288 sdb2
   8       19  972041438 sdb3
   8       32  976762584 sdc
   8       33    4194304 sdc1
   8       34     524288 sdc2
   8       35  972041438 sdc3
   8       48  976762584 sdd
   8       49    4194304 sdd1
   8       50     524288 sdd2
   8       51  972041438 sdd3
   8       64  976762584 sde
   8       65    4194304 sde1
   8       66     524288 sde2
   8       67  972041438 sde3
   9        2 3888165184 md2
   9        1    1572816 md1
   9        0    4194292 md0
 253        0 3888119808 dm-0

Code:
ls -l /sys/class/scsi_device/
total 0
lrwxrwxrwx 1 root root 0 2001-12-31 19:00 0:0:0:0 -> ../../devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/scsi_device/0:0:0:0
lrwxrwxrwx 1 root root 0 2001-12-31 19:00 1:0:0:0 -> ../../devices/pci0000:00/0000:00:1f.2/host1/target1:0:0/1:0:0:0/scsi_device/1:0:0:0
lrwxrwxrwx 1 root root 0 2001-12-31 19:00 2:0:0:0 -> ../../devices/pci0000:00/0000:00:1f.2/host2/target2:0:0/2:0:0:0/scsi_device/2:0:0:0
lrwxrwxrwx 1 root root 0 2001-12-31 19:00 3:0:0:0 -> ../../devices/pci0000:00/0000:00:1f.2/host3/target3:0:0/3:0:0:0/scsi_device/3:0:0:0
lrwxrwxrwx 1 root root 0 2001-12-31 19:00 4:0:0:0 -> ../../devices/pci0000:00/0000:00:1f.2/host4/target4:0:0/4:0:0:0/scsi_device/4:0:0:0
lrwxrwxrwx 1 root root 0 2001-12-31 19:00 6:0:0:0 -> ../../devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host6/target6:0:0/6:0:0:0/scsi_device/6:0:0:0
Code:
ls -l /sys/class/scsi_device/6\:0\:0\:0/device/block 
total 0
drwxr-xr-x 6 root root 0 2001-12-31 19:00 sdf
Code:
dmesg
usb-storage: device scan complete
scsi 6:0:0:0: Direct-Access     SMI      USB DISK         1100 PQ: 0 ANSI: 0 CCS
sd 6:0:0:0: Attached scsi generic sg5 type 0
sd 6:0:0:0: [sdf] 244736 512-byte hardware sectors: (125 MB/119 MiB)
sd 6:0:0:0: [sdf] Write Protect is off
sd 6:0:0:0: [sdf] Mode Sense: 43 00 00 00
sd 6:0:0:0: [sdf] Assuming drive cache: write through
sd 6:0:0:0: [sdf] Assuming drive cache: write through
 sdf: sdf1
sd 6:0:0:0: [sdf] Attached SCSI removable disk

Code:
mount
/dev/md0 on / type ext3 (rw,noatime)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw)
tmpfs on /ramfs type ramfs (rw)
tmpfs on /USB type tmpfs (rw,size=16k)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/c/c on /c type ext4 (rw,noatime,acl,user_xattr,usrquota,grpquota)

I have no idea what else to look at or where to begin. I would greatly appreciate any tips or tricks you might have, as I am flat out stumped!
 
Old 04-02-2010, 04:53 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Does it show up on fdisk -l (as root of course)? And in your "mount" output, what is the directory /USB? Is this a homebuilt machine, or a model number you could give us?
 
Old 04-02-2010, 05:28 PM   #3
mrwizardno2
LQ Newbie
 
Registered: Apr 2010
Posts: 2

Original Poster
Rep: Reputation: 0
No, it does not show up on fdisk -l.

The box is a linux appliance from Netgear. I was toying with the idea of implementing ZFS on it and was trying to figure out how I might go about it.
 
  


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
Debian Etch and PowerEdge T110 module required carg0 Linux - General 1 04-16-2010 12:14 AM
Debian Etch and PowerEdge T110 module required carg0 Linux - Hardware 1 03-17-2010 02:21 AM
LXer: DRBD 8.3 Third Node Replication With Debian Etch LXer Syndicated Linux News 0 03-02-2009 11:40 AM
install Net-SFTP perl module on debian etch cccc Debian 8 10-30-2007 09:47 AM
mount usb module then mount usb hard drive guanyu Linux - Hardware 1 10-08-2003 11:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:23 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
Open Source Consulting | Domain Registration