LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 12-28-2005, 03:45 PM   #1
draggin
Member
 
Registered: Jan 2004
Location: Bournemouth UK
Distribution: Debian & Mepis
Posts: 108

Rep: Reputation: 15
USB external hard disk


I got a 250gb external usb drive for xmas, I connected it to my PC this
morning and the PC rebooted, seems like something got upset and completely
kicked the system over. I have never had any problem connecting and
disconnecting my USB pen and digital camera, the only differences is the USB
pen and camera connect on the front panel USB while the ext. hd connects on
the rear panel USB. Any thoughts???

Secondly I have the following lines in my fstab file (other lines snipped to save space)

/dev/sda1 /mnt/usbdisk auto users,gid=usbpen,fmask=117,dmask=007 0 0
/dev/sda1 /mnt/camera auto users,gid=camera,fmask=117,dmask=007 0 0
/dev/sda2 /mnt/exthd auto users,gid=exthd,fmask=117,dmask=007 0 0

I mount the external hard drive as follows mount /dev/sda2

but then when I do a

df -h

I get the following result (I've snipped the other lines)

/dev/sda1 233G 1.2M 233G 1% /mnt/usbdisk

Surely it should show up as /dev/sda2 ????

I am using Debian testing with 2.6.8 debian stock out the box kernel

Tim
 
Old 12-28-2005, 04:33 PM   #2
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
sda is a devicename, sda2 is apartition. If you want to mount a second partition on an sda device (e.g. a USB device) you'd have to use sda2.

Unfortunately USB devices appear to be counted as they are connected, not according to where they are; i.e. if the first device to be connected is a USB thumbdrive it's going to be named sda whether you plug it into the back or the front of your machine.
 
  


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
USB External Hard Disk cannot be mounted csvke Linux - Hardware 7 10-10-2008 03:59 AM
usb controller dies mounting external usb hard disk komasoftware Linux - Hardware 4 11-30-2005 01:18 PM
External USB Hard Disk Nishy Linux - Hardware 2 09-28-2005 06:35 AM
external partitioned usb hard disk mr_a_ali Linux - Hardware 2 08-14-2004 10:22 AM
install a usb external hard disk jik Linux - Newbie 3 08-03-2004 04:21 AM


All times are GMT -5. The time now is 03:29 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration