Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 02-20-2007, 08:00 PM   #1
Registered: Oct 2003
Location: Calgary, AB, Canada
Distribution: CentOS, Ubuntu
Posts: 32

Rep: Reputation: 0
Question Which drive is which?

I've got two USB hard drive attached to my SuSE 10.2 system. I want to copy an image of one drive to the other, but I can't identify which is which.

Output from mount:

/dev/hda6 on / type reiserfs (rw,acl,user_xattr)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
debugfs on /sys/kernel/debug type debugfs (rw)
udev on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
/dev/hda7 on /home type reiserfs (rw,acl,user_xattr)
/dev/hda1 on /windows/C type ntfs (ro,noexec,nosuid,nodev,gid=100,umask=0002,nls=utf8)
securityfs on /sys/kernel/security type securityfs (rw)
/dev/sdf1 on /media/disk-1 type ext3 (rw,nosuid,nodev,sync,data=ordered)
/dev/sda2 on /media/disk-2 type ext3 (rw,nosuid,nodev,sync,data=ordered)
/dev/sdg1 on /media/disk type ext3 (rw,nosuid,nodev,sync,data=ordered)
/dev/sdg2 on /media/disk-4 type ext3 (rw,nosuid,nodev,sync,data=ordered)
/dev/sdh2 on /media/disk-3 type ext3 (rw,nosuid,nodev,sync,data=ordered)
/dev/sdh1 on /media/disk-5 type ext3 (rw,nosuid,nodev,sync,data=ordered)

hda1 = My windows partition
hda6 = My SuSE 10.2 partition
hda7 = My /home partition

I assume that sdf1 is my floppy drive?

So that leaves me with sda2, sdg1, sdg2, sdh1, sdh2. None of these appear to be my ATA DVDRW drive.

Both of my USB drives were formatted with my Linksys NSLU2 NAS device. One drive is a 60gig Maxtor, containing my NSLU2 unslung system. The other drive is a 40gig Toshiba that has a fresh format by the NSLU2.


Last edited by Calab; 02-20-2007 at 08:02 PM.
Old 02-20-2007, 08:11 PM   #2
Senior Member
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 57
Do it the easy way; fdisk -l

You know which is the 60-GB and which is the 40-GB

FYI: I seriously doubt your floppy drive is sdf1 as floppy drives do not have partitions. The sda2 partition is on the same drive as your other sdaX partitions.
Old 02-20-2007, 08:12 PM   #3
Registered: Nov 2005
Location: Central New York
Distribution: Ubuntu
Posts: 405

Rep: Reputation: 31
sdf1 shouldn't be your floppy drive. Normally, the floppy drive is fd0.

Do you have any other external devices attached? It looks like you've got 4 devices (sda, sdf, sdg, sdh) attached, or they could be SATA drives.

Try the following. This might help you figure out what is what.
fdisk -l
Old 02-20-2007, 08:13 PM   #4
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,064
Blog Entries: 14

Rep: Reputation: 1248Reputation: 1248Reputation: 1248Reputation: 1248Reputation: 1248Reputation: 1248Reputation: 1248Reputation: 1248Reputation: 1248
/dev/sd? should be a scsi drive so I wouldn't think sdf1 is a floppy but is rather the first partition of a drive called sdf. (Floppy is usually /dev/fd0 - I've never heard of a SCSI floppy drive.)

Type "fdisk -l /dev/sdf" to see what it tells you about partitions on that drive.

You can do the same on each of the drive letters:

fdisk -l /dev/hda

fdisk -l /dev/sdg


Seeing the partition information for each drive may give you an idea of which is which.

/dev/hda is probably your (boot) first IDE/ATA drive.

It's interesting you have sdf but no sdb, sdc, sdd or sde - perhaps this is changing each time you switch USB drives?


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
cannot delete drive from root desktop - cannot mount usb flash drive - openSuSE 10.2 bluecog6 Linux - General 6 01-29-2007 04:18 PM
Installed GRUB on 3rd hard drive, how do I boot 1st drive? jesusphreak Linux - Newbie 4 04-06-2005 10:34 AM
Installing SuSE on an external FireWire drive: YaST can't edit partitions on drive kivimaki Linux - Distributions 2 09-13-2004 09:52 PM
slackware 9.1 mounting problems (cd drive, cd writer drive, win partition (ntfs)) mr.gizm0 Slackware 8 05-11-2004 07:23 PM
Cannot Copy Files From Network FAT32/NTFS Drive to My Local Linux Drive michaelh Linux - Networking 3 10-29-2002 11:27 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:44 PM.

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