LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-10-2014, 05:08 PM   #1
Tchiarot
Member
 
Registered: Feb 2013
Location: Lima, Peru
Distribution: Debian
Posts: 39

Rep: Reputation: Disabled
Unhappy Couldn't mount any external hard Disk on Ubuntu 12.04.


Hi Friends,

I am trying to mount a external hard disk on my Ubuntu 12.04 precise, and although is recognize as usb doesn't appear on fdisk -l:

lsusb:
Code:
Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 005 Device 002: ID 045e:0752 Microsoft Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 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 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 007: ID 0458:003a KYE Systems Corp. (Mouse Systems) NetScroll+ Mini Traveler / Genius NetScroll 120
Bus 001 Device 017: ID 0480:a006 Toshiba America Info. Systems, Inc.
Can't be recognize as a fdisk -l:
Code:
root@R710:/etc# fdisk -l

Disk /dev/sda: 598.9 GB, 598879502336 bytes
255 heads, 63 sectors/track, 72809 cylinders, total 1169686528 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: 0x00051570

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048     7999487     3998720   82  Linux swap / Solaris
/dev/sda2         8001534  1169684479   580841473    5  Extended
/dev/sda5         8001536   107999231    49998848   83  Linux
/dev/sda6       108001280  1169684479   530841600   83  Linux

Disk /dev/sdb: 999.7 GB, 999653638144 bytes
255 heads, 63 sectors/track, 121534 cylinders, total 1952448512 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: 0x000770d8

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1            2048  1952446463   976222208   83  Linux

Disk /dev/sdc: 999.7 GB, 999653638144 bytes
255 heads, 63 sectors/track, 121534 cylinders, total 1952448512 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: 0x00046bde

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1            2048  1952448511   976223232    7  HPFS/NTFS/exFAT
This problem is driving me crazy, help me please.
I test the same with another external hard drive with the same results.

Last edited by Tchiarot; 07-10-2014 at 06:17 PM.
 
Old 07-10-2014, 06:16 PM   #2
Tchiarot
Member
 
Registered: Feb 2013
Location: Lima, Peru
Distribution: Debian
Posts: 39

Original Poster
Rep: Reputation: Disabled
Here more information:

lsusb -v -d 0480:a006
Code:
root@R710:/etc# lsusb -v -d 0480:a006

Bus 001 Device 017: ID 0480:a006 Toshiba America Info. Systems, Inc. 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x0480 Toshiba America Info. Systems, Inc.
  idProduct          0xa006 
  bcdDevice            1.07
  iManufacturer           1 Toshiba
  iProduct                2 External USB 3.0
  iSerial                 3 20121120055542
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk-Only
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
Device Status:     0x0000
  (Bus Powered)
Attached my mtab y fstab:

fstab:
Code:
root@R710:/etc# cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    nodev,noexec,nosuid 0       0
# / was on /dev/sda5 during installation
UUID=fd79bada-9b7d-48d0-91d5-df8ba1150237 /               ext4    errors=remount-ro 0       1
# /daata was on /dev/sdb1 during installation
UUID=ad128ec6-af8a-4be0-b55b-90ab34c95f2a /daata          ext4    defaults        0       2
UUID=511B56FE6D861D93                  /TERA              ntfs    defaults        0       2
# /local was on /dev/sda6 during installation
UUID=9ff260d4-b310-4a2b-b463-538049d0e9ab /local          ext4    defaults        0       2
# swap was on /dev/sda1 during installation
UUID=fbd4275d-106e-4978-901d-ebaa834a1f58 none            swap    sw              0       0
mtab:
Code:
root@R710:/etc# cat /etc/mtab
/dev/sda5 / ext4 rw,errors=remount-ro 0 0
proc /proc proc rw,noexec,nosuid,nodev 0 0
sysfs /sys sysfs rw,noexec,nosuid,nodev 0 0
none /sys/fs/fuse/connections fusectl rw 0 0
none /sys/kernel/debug debugfs rw 0 0
none /sys/kernel/security securityfs rw 0 0
udev /dev devtmpfs rw,mode=0755 0 0
devpts /dev/pts devpts rw,noexec,nosuid,gid=5,mode=0620 0 0
tmpfs /run tmpfs rw,noexec,nosuid,size=10%,mode=0755 0 0
none /run/lock tmpfs rw,noexec,nosuid,nodev,size=5242880 0 0
none /run/shm tmpfs rw,nosuid,nodev 0 0
cgroup /sys/fs/cgroup tmpfs rw,relatime,mode=755 0 0
cgroup /sys/fs/cgroup/cpuset cgroup rw,relatime,cpuset 0 0
cgroup /sys/fs/cgroup/cpu cgroup rw,relatime,cpu 0 0
cgroup /sys/fs/cgroup/cpuacct cgroup rw,relatime,cpuacct 0 0
cgroup /sys/fs/cgroup/memory cgroup rw,relatime,memory 0 0
cgroup /sys/fs/cgroup/devices cgroup rw,relatime,devices 0 0
cgroup /sys/fs/cgroup/freezer cgroup rw,relatime,freezer 0 0
cgroup /sys/fs/cgroup/blkio cgroup rw,relatime,blkio 0 0
cgroup /sys/fs/cgroup/perf_event cgroup rw,relatime,perf_event 0 0
/dev/sda6 /local ext4 rw 0 0
/dev/sdc1 /TERA fuseblk rw,nosuid,nodev,allow_other,blksize=4096 0 0
/dev/sdb1 /daata ext4 rw 0 0
#/dev/sdd1 /media/HD fuseblk rw,nosuid,nodev,allow_other,blksize=4096 0 0 
gvfs-fuse-daemon /home/mms/.gvfs fuse.gvfs-fuse-daemon rw,nosuid,nodev,user=mms 0 0
I try too:

Plug and un-plug the hard disk and check:

demesg:
Code:
root@R710:~# dmesg | tail 
[72061.477602] sr 0:0:0:0: [sr0] unaligned transfer
[72061.477607] sr 0:0:0:0: [sr0] unaligned transfer
[72061.477613] sr 0:0:0:0: [sr0] unaligned transfer
[72710.276433] usb 1-3.2: USB disconnect, device number 16
[72712.520749] usb 1-3.2: new high-speed USB device number 17 using ehci_hcd
[72712.616553] usb 1-3.2: New USB device found, idVendor=0480, idProduct=a006
[72712.616558] usb 1-3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[72712.616561] usb 1-3.2: Product: External USB 3.0
[72712.616564] usb 1-3.2: Manufacturer: Toshiba
[72712.616566] usb 1-3.2: SerialNumber: 20121120055542
Check udev:

Code:
root@R710:~# /sbin/udevadm monitor
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent

KERNEL[72750.306981] remove   /devices/pci0000:00/0000:00:1a.7/usb1/1-3/1-3.2/1-3.2:1.0 (usb)
KERNEL[72750.307025] remove   /devices/pci0000:00/0000:00:1a.7/usb1/1-3/1-3.2 (usb)
UDEV  [72750.307400] remove   /devices/pci0000:00/0000:00:1a.7/usb1/1-3/1-3.2/1-3.2:1.0 (usb)
UDEV  [72750.307690] remove   /devices/pci0000:00/0000:00:1a.7/usb1/1-3/1-3.2 (usb)
KERNEL[72752.648440] add      /devices/pci0000:00/0000:00:1a.7/usb1/1-3/1-3.2 (usb)
KERNEL[72752.649447] add      /devices/pci0000:00/0000:00:1a.7/usb1/1-3/1-3.2/1-3.2:1.0 (usb)
UDEV  [72752.652512] add      /devices/pci0000:00/0000:00:1a.7/usb1/1-3/1-3.2 (usb)
UDEV  [72752.654747] add      /devices/pci0000:00/0000:00:1a.7/usb1/1-3/1-3.2/1-3.2:1.0 (usb)
 
Old 07-10-2014, 08:10 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,963

Rep: Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622
What format does this drive show up on different system?

What mount command did you use?
 
Old 07-10-2014, 08:56 PM   #4
Tchiarot
Member
 
Registered: Feb 2013
Location: Lima, Peru
Distribution: Debian
Posts: 39

Original Poster
Rep: Reputation: Disabled
Didn't use any mount command because can't see the hard drive on fdisk -l it should be shown as /dev/sdd1 or something like this.

I let my disk in the company connected to the server because i can access trough ssh or vnc, so can't see the format but I remember ntfs.
 
Old 07-10-2014, 10:30 PM   #5
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,475

Rep: Reputation: 2483Reputation: 2483Reputation: 2483Reputation: 2483Reputation: 2483Reputation: 2483Reputation: 2483Reputation: 2483Reputation: 2483Reputation: 2483Reputation: 2483
Quote:
Didn't use any mount command because can't see the hard drive on fdisk -l it should be shown as /dev/sdd1 or something like this.
It shows in your mtab output below, commented out.

Quote:
#/dev/sdd1 /media/HD fuseblk rw,nosuid,nodev,allow_other,blksize=4096 0 0
Are you using GPT? Does it show in gparted?
 
1 members found this post helpful.
Old 07-10-2014, 11:21 PM   #6
Tchiarot
Member
 
Registered: Feb 2013
Location: Lima, Peru
Distribution: Debian
Posts: 39

Original Poster
Rep: Reputation: Disabled
I comment out the /dev/sdd1, it was a test too, then execute mount -a but with no results.

Try with gparted too, the disk is not recognize.
 
Old 07-11-2014, 10:36 AM   #7
Tchiarot
Member
 
Registered: Feb 2013
Location: Lima, Peru
Distribution: Debian
Posts: 39

Original Poster
Rep: Reputation: Disabled
some idea?
 
Old 07-11-2014, 10:54 AM   #8
Tchiarot
Member
 
Registered: Feb 2013
Location: Lima, Peru
Distribution: Debian
Posts: 39

Original Poster
Rep: Reputation: Disabled
I have something.

I reboot the server and my external disk is now recognize, that's driving me crazy...

that's my fdisk -l now:
Code:
root@R710:~# fdisk -l

Disk /dev/sdb: 999.7 GB, 999653638144 bytes
255 heads, 63 sectors/track, 121534 cylinders, total 1952448512 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: 0x000770d8

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1            2048  1952446463   976222208   83  Linux

Disk /dev/sda: 598.9 GB, 598879502336 bytes
255 heads, 63 sectors/track, 72809 cylinders, total 1169686528 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: 0x00051570

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048     7999487     3998720   82  Linux swap / Solaris
/dev/sda2         8001534  1169684479   580841473    5  Extended
/dev/sda5         8001536   107999231    49998848   83  Linux
/dev/sda6       108001280  1169684479   530841600   83  Linux

Disk /dev/sdc: 999.7 GB, 999653638144 bytes
255 heads, 63 sectors/track, 121534 cylinders, total 1952448512 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: 0x00046bde

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1            2048  1952448511   976223232    7  HPFS/NTFS/exFAT

WARNING: GPT (GUID Partition Table) detected on '/dev/sdd'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sdd: 1000.2 GB, 1000204884480 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525165 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: 0x310fce24

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1            2048  1953523711   976760832    7  HPFS/NTFS/exFAT
My mtab and fstab:

fstab:

Code:
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    nodev,noexec,nosuid 0       0
# / was on /dev/sda5 during installation
UUID=fd79bada-9b7d-48d0-91d5-df8ba1150237 /               ext4    errors=remount-ro 0       1
# /daata was on /dev/sdb1 during installation
UUID=ad128ec6-af8a-4be0-b55b-90ab34c95f2a /daata          ext4    defaults        0       2
UUID=511B56FE6D861D93                  /TERA              ntfs    defaults        0       2
# /local was on /dev/sda6 during installation
UUID=9ff260d4-b310-4a2b-b463-538049d0e9ab /local          ext4    defaults        0       2
# swap was on /dev/sda1 during installation
UUID=fbd4275d-106e-4978-901d-ebaa834a1f58 none            swap    sw              0       0
My mtab:

Code:
root@R710:~# cat /etc/mtab
/dev/sda5 / ext4 rw,errors=remount-ro 0 0
proc /proc proc rw,noexec,nosuid,nodev 0 0
sysfs /sys sysfs rw,noexec,nosuid,nodev 0 0
none /sys/fs/fuse/connections fusectl rw 0 0
none /sys/kernel/debug debugfs rw 0 0
none /sys/kernel/security securityfs rw 0 0
udev /dev devtmpfs rw,mode=0755 0 0
devpts /dev/pts devpts rw,noexec,nosuid,gid=5,mode=0620 0 0
tmpfs /run tmpfs rw,noexec,nosuid,size=10%,mode=0755 0 0
none /run/lock tmpfs rw,noexec,nosuid,nodev,size=5242880 0 0
none /run/shm tmpfs rw,nosuid,nodev 0 0
cgroup /sys/fs/cgroup tmpfs rw,relatime,mode=755 0 0
cgroup /sys/fs/cgroup/cpuset cgroup rw,relatime,cpuset 0 0
cgroup /sys/fs/cgroup/cpu cgroup rw,relatime,cpu 0 0
cgroup /sys/fs/cgroup/cpuacct cgroup rw,relatime,cpuacct 0 0
cgroup /sys/fs/cgroup/memory cgroup rw,relatime,memory 0 0
cgroup /sys/fs/cgroup/devices cgroup rw,relatime,devices 0 0
cgroup /sys/fs/cgroup/freezer cgroup rw,relatime,freezer 0 0
cgroup /sys/fs/cgroup/blkio cgroup rw,relatime,blkio 0 0
cgroup /sys/fs/cgroup/perf_event cgroup rw,relatime,perf_event 0 0
/dev/sdb1 /daata ext4 rw 0 0
/dev/sdc1 /TERA fuseblk rw,nosuid,nodev,allow_other,blksize=4096 0 0
/dev/sda6 /local ext4 rw 0 0
gvfs-fuse-daemon /home/mms/.gvfs fuse.gvfs-fuse-daemon rw,nosuid,nodev,user=mms 0 0
/dev/sdd1 /media/EC48B69048B658D2 fuseblk rw,nosuid,nodev,allow_other,default_permissions,blksize=4096 0 0
It seems that the mtab table was only write when I reboot the system, Could be a configuration cause this?

Additionaly when the server was starting show a message "three virtual hard drive recognize by BIOS" or something like this I couldn't take a picture..

Last edited by Tchiarot; 07-11-2014 at 11:11 AM.
 
Old 07-11-2014, 01:22 PM   #9
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
So is your problem solved? Your external hd is mounted on /media/EC48B69048B658D2
jdk
 
Old 07-11-2014, 01:36 PM   #10
Tchiarot
Member
 
Registered: Feb 2013
Location: Lima, Peru
Distribution: Debian
Posts: 39

Original Poster
Rep: Reputation: Disabled
Yes, i could mount the external disk, but the problem is not solved, every time I plug a disk should reboot the system and the mtab is write, that's the problem.
 
Old 07-11-2014, 01:42 PM   #11
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,475

Rep: Reputation: 2483Reputation: 2483Reputation: 2483Reputation: 2483Reputation: 2483Reputation: 2483Reputation: 2483Reputation: 2483Reputation: 2483Reputation: 2483Reputation: 2483
Some info on mtab and fstab:

http://serverfault.com/questions/518...fstab-and-mtab

You removed the comment (#) from the beginning of that partition or it was done on reboot and now it is accessible. Your fdisk may not show the drive properly as stated in the output since it uses GPT, use GParted.
 
1 members found this post helpful.
Old 07-11-2014, 02:05 PM   #12
Tchiarot
Member
 
Registered: Feb 2013
Location: Lima, Peru
Distribution: Debian
Posts: 39

Original Poster
Rep: Reputation: Disabled
Sorry this line was manually added then commented by me, It was a test that I do too, then I delete this line too... When I reboot the computer this line was created as

/dev/sdd1 /media/EC48B69048B658D2 fuseblk rw,nosuid,nodev,allow_other,default_permissions,blksize=4096 0 0

automatically.
 
Old 07-11-2014, 02:19 PM   #13
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,659

Rep: Reputation: 5890Reputation: 5890Reputation: 5890Reputation: 5890Reputation: 5890Reputation: 5890Reputation: 5890Reputation: 5890Reputation: 5890Reputation: 5890Reputation: 5890
FYI mtab shows all currently mounted filesystems and their options. It is automatically updated by the operating system and should never be manually edited...

I'm not sure why Ubuntu is not automatically mounting the drive at the moment.
 
Old 07-11-2014, 02:22 PM   #14
Tchiarot
Member
 
Registered: Feb 2013
Location: Lima, Peru
Distribution: Debian
Posts: 39

Original Poster
Rep: Reputation: Disabled
After restart it is working very well...

I don't know what happened but now the mtab file is updating automatically and I can plug 3 external hard drive without problem..
Really didn't know what happen but restart fix the problem.

Thx too much all for help.
 
  


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
Hard disk failure : couldn't mount because of unsupported optional features sumanc Linux - Hardware 2 03-22-2010 05:11 PM
mount external USB hard disk shiv_sms Linux - Newbie 3 01-22-2009 03:02 AM
how to mount external hard disk? LinuxNewbie999 *BSD 6 05-27-2008 02:19 AM
Can't mount external Hard disk bhanthenzzz07 SUSE / openSUSE 6 05-17-2008 09:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:55 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