Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
Hi out there, I just plug in an 2TB sata-hdd through an usb2sata cable, worked flawless in both windows and mac. But on my linux-machine I cant even find the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2011
    Posts
    9

    Where do I found the usb-hdd ?


    Hi out there, I just plug in an 2TB sata-hdd through an usb2sata cable, worked flawless in both windows and mac.
    But on my linux-machine I cant even find the drive.

    It should be named /dev/sdX ?

    I got /dev/sda to /dev/sdh, and thats my internal drives, nothing more. Is usb-hdds somewhere else?

    Please help!

    //yabbah

  2. #2
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    Hello and Welcome.
    I'm not much familiar with USB2sata but we'll give this a shot. Open a terminal window and issue these commands with sudo or su -, depending on your setup.
    Code:
    fdisk -l
    This should tell us what your disc partitions look like. Notice that's a lowercase L and not a 1.
    Code:
    mount
    This will tell us what is already mounted, where it's mounted at and other useful info.
    Post your output here using the forum code tags, please.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  3. #3
    Just Joined!
    Join Date
    May 2011
    Posts
    9
    Code:
    [root@yabbah dev]# fdisk -l
    
    Disk /dev/sda: 320,0 GB, 320072933376 byte
    255 heads, 63 sectors/track, 38913 cylinders
    Enheter = cylindrar av 16065 · 512 = 8225280 byte
    
        Enhet Start     Början        Slut     Block    Id  System
    /dev/sda1   *           1          10       80293+  83  Linux
    /dev/sda2              11         270     2088450   82  Linux växling / Solaris
    /dev/sda3             271       38913   310399897+  83  Linux
    
    Disk /dev/sdb: 1000,2 GB, 1000204886016 byte
    255 heads, 63 sectors/track, 121601 cylinders
    Enheter = cylindrar av 16065 · 512 = 8225280 byte
    
        Enhet Start     Början        Slut     Block    Id  System
    /dev/sdb1               1      121601   976760001   83  Linux
    
    Disk /dev/sdc: 500,1 GB, 500107862016 byte
    255 heads, 63 sectors/track, 60801 cylinders
    Enheter = cylindrar av 16065 · 512 = 8225280 byte
    
        Enhet Start     Början        Slut     Block    Id  System
    /dev/sdc1               1       60801   488384001   83  Linux
    
    Disk /dev/sdd: 1000,2 GB, 1000204886016 byte
    255 heads, 63 sectors/track, 121601 cylinders
    Enheter = cylindrar av 16065 · 512 = 8225280 byte
    
        Enhet Start     Början        Slut     Block    Id  System
    /dev/sdd1               1      121601   976760001   8e  Linux LVM
    
    Disk /dev/sde: 750,1 GB, 750156374016 byte
    255 heads, 63 sectors/track, 91201 cylinders
    Enheter = cylindrar av 16065 · 512 = 8225280 byte
    
        Enhet Start     Början        Slut     Block    Id  System
    /dev/sde1               1       91201   732572001   8e  Linux LVM
    
    Disk /dev/sdf: 1000,2 GB, 1000204886016 byte
    255 heads, 63 sectors/track, 121601 cylinders
    Enheter = cylindrar av 16065 · 512 = 8225280 byte
    
        Enhet Start     Början        Slut     Block    Id  System
    /dev/sdf1               1      121601   976760001   8e  Linux LVM
    
    Disk /dev/sdg: 2000,3 GB, 2000398934016 byte
    255 heads, 63 sectors/track, 243201 cylinders
    Enheter = cylindrar av 16065 · 512 = 8225280 byte
    
        Enhet Start     Början        Slut     Block    Id  System
    /dev/sdg1               1      243201  1953512001   8e  Linux LVM
    
    Disk /dev/sdh: 750,1 GB, 750156374016 byte
    255 heads, 63 sectors/track, 91201 cylinders
    Enheter = cylindrar av 16065 · 512 = 8225280 byte
    
        Enhet Start     Början        Slut     Block    Id  System
    /dev/sdh1               1       91201   732572001   8e  Linux LVM
    All those disks is already in use.

    The new disk should be /dev/sdi, this output is from dmesg:

    Code:
    Initializing USB Mass Storage driver...
    scsi8 : SCSI emulation for USB Mass Storage devices
    usb-storage: device found at 2
    usb-storage: waiting for device to settle before scanning
    usbcore: registered new driver usb-storage
    USB Mass Storage support registered.
      Vendor:           Model:                   Rev:
      Type:   Direct-Access                      ANSI SCSI revision: 02
    sd 8:0:0:0: Attached scsi disk sdi
    usb-storage: device scan complete
    Any ideas?

  4. #4
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    Does the device exist in /sys?

    Code:
    ls -ld /sys/block/sd*
    Do the block devices exist?
    Code:
    ls -l /dev/sdi /dev/sdi1
    If not, you can always make them:
    Code:
    mknod /dev/sdi b 8 128
    mknod /dev/sdi1 b 8 129

  5. #5
    Just Joined!
    Join Date
    May 2011
    Posts
    9
    Quote Originally Posted by atreyu View Post
    Does the device exist in /sys?

    Code:
    ls -ld /sys/block/sd*
    Do the block devices exist?
    Code:
    ls -l /dev/sdi /dev/sdi1
    If not, you can always make them:
    Code:
    mknod /dev/sdi b 8 128
    mknod /dev/sdi1 b 8 129
    Code:
    [root@yabbah dev]# ls -ld /sys/block/sd*
    drwxr-xr-x 8 root root 0  3 nov 13.20 /sys/block/sda
    drwxr-xr-x 6 root root 0  3 nov 13.20 /sys/block/sdb
    drwxr-xr-x 6 root root 0  3 nov 13.20 /sys/block/sdc
    drwxr-xr-x 6 root root 0  3 nov 13.20 /sys/block/sdd
    drwxr-xr-x 6 root root 0  3 nov 13.20 /sys/block/sde
    drwxr-xr-x 6 root root 0  3 nov 13.20 /sys/block/sdf
    drwxr-xr-x 6 root root 0  3 nov 13.20 /sys/block/sdg
    drwxr-xr-x 6 root root 0  3 nov 13.20 /sys/block/sdh
    drwxr-xr-x 5 root root 0  3 nov 13.20 /sys/block/sdi
    So yes, it exists. But:

    Code:
    [root@yabbah dev]# fdisk /dev/sdi
    
    Could not read /dev/sdi
    [root@yabbah dev]#
    :/

  6. #6
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    what does lsusb report - any info on that drive? you might need to install usbutils first.

  7. #7
    Just Joined!
    Join Date
    May 2011
    Posts
    9
    Code:
    [root@yabbah dev]# lsusb
    Bus 006 Device 001: ID 0000:0000
    Bus 003 Device 001: ID 0000:0000
    Bus 003 Device 002: ID 03f0:0024 Hewlett-Packard KU-0316 Keyboard
    Bus 002 Device 001: ID 0000:0000
    Bus 007 Device 001: ID 0000:0000
    Bus 005 Device 001: ID 0000:0000
    Bus 004 Device 002: ID 046d:c045 Logitech, Inc. Optical Mouse
    Bus 004 Device 001: ID 0000:0000
    Bus 001 Device 001: ID 0000:0000
    Bus 001 Device 002: ID 152d:2338 JMicron Technology Corp. / JMicron USA Technology Corp. JM20337 Hi-Speed USB to SATA & PATA Combo Bridge
    It seems to find the usb2sata anyhow.

  8. #8
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    What's your kernel version/distro?

    Also see here - maybe power the drive up first, then plug in the USB cable.

  9. #9
    Just Joined!
    Join Date
    May 2011
    Posts
    9
    his kernel is 2.6.18, and dist is ClearOS (a router/nas dist).

    I already tried power it first, then plug in the sata-cable. No difference. :P

  10. #10
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    pretty old kernel. can you boot a current Live Linux CD and see if that makes a diff?

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •