Card Reader
I have a new computer I installed Linux on Red Hat Enterprise Linux ES release 4 (Nahant), it has one of those all-in-one card readers on it. I have made mountpoints as root as follows for my thumb, Compact flash and secure digital drive.
mkdir /mnt/thumb
mkdir /mnt/cf
mkdir /mnt/sd
Now when I tried to mount the Thumb (USB) drive I got an error # mount /dev/sda2 /mnt/thumb
mount: /dev/sda2 already mounted or /mnt/thumb busy.
So what have I done wrong? I'm thinking sda2 is wrong, but don't know why?
df -h shows the following
[root localhost mnt]# df -h
Filesystem Size Used Avail Use% Mounted on/dev/mapper/VolGroup00-LogVol00
183G 2.9G 171G 2% /
/dev/sda1 99M 19M 76M 20% /boot
none 247M 0 247M 0% /dev/shm
[root localhost mnt]#
Thanks.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Quoted 15 lines · smertz
I have a new computer I installed Linux on Red Hat Enterprise Linux ES release 4 (Nahant), it has one of those all-in-one card readers on it. I have made mountpoints as root as follows for my thumb, Compact flash and secure digital drive.
mkdir
/mnt/thumb
mkdir/mnt/cf
mkdir/mnt/sdNow when I tried to mount the Thumb (USB) drive I got an error # mount
/dev/sda2/mnt/thumb
mount:/dev/sda2already mounted or/mnt/thumbbusy.So what have I done wrong? I'm thinking sda2 is wrong, but don't know why?
df -h shows the following
Quoted 7 lines
[root localhost mnt]# df -h
Filesystem Size Used Avail Use% Mounted on/dev/mapper/VolGroup00-LogVol00183G 2.9G 171G 2% /
/dev/sda199M 19M 76M 20% /boot
none 247M 0 247M 0%/dev/shm
[root localhost mnt]#
I haven't used RH for a couple of years--before the days of autmounting stuff, or at least toward the beginning of that trend. Isn't 4 the very latest release? Distros that have come out in the last year or so, especially those that use the 2.6.x kernel, seem to all be using some sort of virtual filesystem and often do automounting of inserted media and mass storage devices. Might not your RH version be one of these? Did you recently post something indicating your distro is using LVM? I'm guessing the system automounts that drive when you insert it. Have you searched around the system for indications that it's already mounted and/or its mount point? I'd kind of doubt that with such a recent distro you'd have to do any manual mounting. But this is somewhat circumstantial: as I said, I haven't used RH for a couple of years or so (since 7.3).
James
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Quoted 15 lines · smertz
I have a new computer I installed Linux on Red Hat Enterprise Linux ES release 4 (Nahant), it has one of those all-in-one card readers on it. I have made mountpoints as root as follows for my thumb, Compact flash and secure digital drive.
mkdir
/mnt/thumb
mkdir/mnt/cf
mkdir/mnt/sdNow when I tried to mount the Thumb (USB) drive I got an error # mount
/dev/sda2/mnt/thumb
mount:/dev/sda2already mounted or/mnt/thumbbusy.So what have I done wrong? I'm thinking sda2 is wrong, but don't know why?
df -h shows the following
Quoted 7 lines
[root localhost mnt]# df -h
Filesystem Size Used Avail Use% Mounted on/dev/mapper/VolGroup00-LogVol00183G 2.9G 171G 2% /
/dev/sda199M 19M 76M 20% /boot
none 247M 0 247M 0%/dev/shm
[root localhost mnt]#
You don't tell us anything about your hardware, so any responses really are largely guesses. From the df output you show above, I'd infer that sda is a physical hard disk of some type.
The card reader, then, is more likely sdb than sda, so I'd be trying sdb1 or sdb2 for the thumbdrive. Each possible device will have a different sdb* value, and figuring oout which is which is largely guesswork ... unless you're lucky enough to have a kernel with the sort of USB support for hotplugging that tells you where things connect to (in my experience, output to the console.
See what "more /proc/scsi/scsi" tells you about what the kernel *thinks* is connected. Please include this info if you need to post a followup.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Quoted 18 lines · smertz
I have a new computer I installed Linux on Red Hat Enterprise Linux ES release 4 (Nahant), it has one of those all-in-one card readers on it. I have made mountpoints as root as follows for my thumb, Compact flash and secure digital drive.
mkdir
/mnt/thumb
mkdir/mnt/cf
mkdir/mnt/sdNow when I tried to mount the Thumb (USB) drive I got an error # mount
/dev/sda2/mnt/thumb
mount:/dev/sda2already mounted or/mnt/thumbbusy.So what have I done wrong? I'm thinking sda2 is wrong, but don't know why?
df -h shows the following
[root localhost mnt]# df -h
Filesystem Size Used Avail Use% Mounted on/dev/mapper/VolGroup00-LogVol00
Quoted 7 lines
183G 2.9G 171G 2% /
/dev/sda199M 19M 76M 20% /boot
none 247M 0 247M 0%/dev/shm
[root localhost mnt]#Thanks.
Hi, smertz:
If /dev/sda* is already being used, try /dev/sdb*.
HTH, Chuck
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Quoted 30 lines · Ray Olszewski
Quoted 15 lines · smertz
I have a new computer I installed Linux on Red Hat Enterprise Linux ES release 4 (Nahant), it has one of those all-in-one card readers on it. I have made mountpoints as root as follows for my thumb, Compact flash and secure digital drive.
mkdir
/mnt/thumb
mkdir/mnt/cf
mkdir/mnt/sdNow when I tried to mount the Thumb (USB) drive I got an error # mount
/dev/sda2/mnt/thumb
mount:/dev/sda2already mounted or/mnt/thumbbusy.So what have I done wrong? I'm thinking sda2 is wrong, but don't know why?
df -h shows the following
Quoted 7 lines
[root localhost mnt]# df -h
Filesystem Size Used Avail Use% Mounted on/dev/mapper/VolGroup00-LogVol00183G 2.9G 171G 2% /
/dev/sda199M 19M 76M 20% /boot
none 247M 0 247M 0%/dev/shm
[root localhost mnt]#You don't tell us anything about your hardware, so any responses really are largely guesses. From the df output you show above, I'd infer that sda is a physical hard disk of some type.
The card reader, then, is more likely sdb than sda, so I'd be trying sdb1 or sdb2 for the thumbdrive. Each possible device will have a different sdb* value, and figuring oout which is which is largely guesswork ... unless you're lucky enough to have a kernel with the sort of USB support for hotplugging that tells you where things connect to (in my experience, output to the console.
Quoted 9 lines
See what "more
/proc/scsi/scsi" tells you about what the kernel *thinks* is connected. Please include this info if you need to post a followup.-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
This is the last few lines from dmesg. Based on this how would one mount if I have made the mountpoint of /mnt/thumb
SCSI device sdc: 256000 512-byte hdwr sectors (131 MB)
sdc: Write Protect is off
sdc: Mode Sense: 02 00 00 00
sdc: assuming drive cache: write through
sdc: sdc1
Attached scsi removable disk sdc at scsi3, channel 0, id 0, lun 0 USB Mass Storage device found at 4
Red Hat Enterprise Linux ES release 4 (Nahant)
$ cat /proc/scsi/scsi Attached devices: Host: scsi0 Channel: 00 Id: 00 Lun: 00 Vendor: ATA Model: ST3200822AS Rev: 3.02 Type: Direct-Access ANSI SCSI revision: 05 Host: scsi2 Channel: 00 Id: 00 Lun: 00 Vendor: eM Model: Bay Reader Rev: 1.00 Type: Direct-Access ANSI SCSI revision: 02
Thanks
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Quoted 2 lines · smertz
Ray Olszewski wrote:
[snip]
Quoted 7 lines
This is the last few lines from dmesg. Based on this how would one mount if I have made the mountpoint of
/mnt/thumbSCSI device sdc: 256000 512-byte hdwr sectors (131 MB)
sdc: Write Protect is off
sdc: Mode Sense: 02 00 00 00
sdc: assuming drive cache: write through
sdc: sdc1
^^^^
Quoted 6 lines
Attached scsi removable disk sdc at scsi3, channel 0, id 0, lun 0 USB Mass Storage device found at 4
Red Hat Enterprise Linux ES release 4 (Nahant)
Quoted 9 lines
$ cat /proc/scsi/scsi Attached devices: Host: scsi0 Channel: 00 Id: 00 Lun: 00 Vendor: ATA Model: ST3200822AS Rev: 3.02 Type: Direct-Access ANSI SCSI revision: 05 Host: scsi2 Channel: 00 Id: 00 Lun: 00 Vendor: eM Model: Bay Reader Rev: 1.00 Type: Direct-Access ANSI SCSI revision: 02
[snip]
Look at what I marked in your output from dmesg, hope it helps.
Signature · 10 lines
Flemming Greve Skovengaard The killer's breed or the Demon's seed, a.k.a Greven, TuxPower The glamour, the fortune, the pain, <[email protected]> Go to war again, blood is freedom's stain, 4112.38 BogoMIPS Don't you pray for my soul anymore. - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs
Quoted 44 lines · smertz
Quoted 31 lines · Ray Olszewski
Quoted 15 lines · smertz
I have a new computer I installed Linux on Red Hat Enterprise Linux ES release 4 (Nahant), it has one of those all-in-one card readers on it. I have made mountpoints as root as follows for my thumb, Compact flash and secure digital drive.
mkdir
/mnt/thumb
mkdir/mnt/cf
mkdir/mnt/sdNow when I tried to mount the Thumb (USB) drive I got an error # mount
/dev/sda2/mnt/thumb
mount:/dev/sda2already mounted or/mnt/thumbbusy.So what have I done wrong? I'm thinking sda2 is wrong, but don't know why?
df -h shows the following
Quoted 7 lines
[root localhost mnt]# df -h
Filesystem Size Used Avail Use% Mounted on/dev/mapper/VolGroup00-LogVol00183G 2.9G 171G 2% /
/dev/sda199M 19M 76M 20% /boot
none 247M 0 247M 0%/dev/shm
[root localhost mnt]#You don't tell us anything about your hardware, so any responses really are largely guesses. From the df output you show above, I'd infer that sda is a physical hard disk of some type.
The card reader, then, is more likely sdb than sda, so I'd be trying sdb1 or sdb2 for the thumbdrive. Each possible device will have a different sdb* value, and figuring oout which is which is largely guesswork ... unless you're lucky enough to have a kernel with the sort of USB support for hotplugging that tells you where things connect to (in my experience, output to the console.
Quoted 9 lines
See what "more
/proc/scsi/scsi" tells you about what the kernel *thinks* is connected. Please include this info if you need to post a followup.-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqsThis is the last few lines from dmesg. Based on this how would one mount if I have made the mountpoint of
/mnt/thumb
Quoted 7 lines
SCSI device sdc: 256000 512-byte hdwr sectors (131 MB)
sdc: Write Protect is off
sdc: Mode Sense: 02 00 00 00
sdc: assuming drive cache: write through
sdc: sdc1
Attached scsi removable disk sdc at scsi3, channel 0, id 0, lun 0 USB Mass Storage device found at 4
mount /dev/sdc1 /mnt/thumb
HTH, Chuck
Quoted 14 lines
Red Hat Enterprise Linux ES release 4 (Nahant)
$ cat /proc/scsi/scsi Attached devices: Host: scsi0 Channel: 00 Id: 00 Lun: 00 Vendor: ATA Model: ST3200822AS Rev: 3.02 Type: Direct-Access ANSI SCSI revision: 05 Host: scsi2 Channel: 00 Id: 00 Lun: 00 Vendor: eM Model: Bay Reader Rev: 1.00 Type: Direct-Access ANSI SCSI revision: 02
Quoted 1 line
Thanks
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Quoted 4 lines
mount
/dev/sdc1/mnt/thumb
Trying this gives me the error
mount: special device /dev/sdsc1 does not exist
dmesg lines again
usb 1-1: new high speed USB device using address 4 scsi3 : SCSI emulation for USB Mass Storage devices
Vendor: Generic Model: STORAGE DEVICE Rev: 1.22
Type: Direct-Access ANSI SCSI revision: 02
Quoted 21 lines
HTH, Chuck
Quoted 14 lines
Red Hat Enterprise Linux ES release 4 (Nahant)
$ cat /proc/scsi/scsi Attached devices: Host: scsi0 Channel: 00 Id: 00 Lun: 00 Vendor: ATA Model: ST3200822AS Rev: 3.02 Type: Direct-Access ANSI SCSI revision: 05 Host: scsi2 Channel: 00 Id: 00 Lun: 00 Vendor: eM Model: Bay Reader Rev: 1.00 Type: Direct-Access ANSI SCSI revision: 02Quoted 1 line
Thanks
Quoted 6 lines
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Quoted 7 lines · smertz
Quoted 4 lines
mount
/dev/sdc1/mnt/thumbTrying this gives me the error
mount: special device/dev/sdsc1does not exist
^^^^^^^
should be sdc1
Also you could try with
mount /dev/sdc /mnt/thumb
maybe you don't have sdc1 or sdc in your /dev/ directory.
there should be a script called MAKEDEV in /dev/ directory which can create those devices for you
--
?
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Quoted 5 lines · [email protected] wrote:
Quoted 3 lines · smertz
Quoted 3 lines
Quoted 7 lines
Quoted 5 lines
Quoted 1 line
mount
/dev/sdc1/mnt/thumbTrying this gives me the error
mount: special device/dev/sdsc1does not exist^^^^^^^
Same error message below
[root@RHServer01 ~]# mount /dev/sdc /mnt/thumb
mount: special device /dev/sdc does not exist
[root@RHServer01 ~]# mount /dev/sdc1 /mnt/thumb
mount: special device /dev/sdc1 does not exist
[root@RHServer01 ~]#
Quoted 6 lines
should be sdc1
Also you could try with
mount/dev/sdc/mnt/thumbmaybe you don't have sdc1 or sdc in your
/dev/directory.
there should be a script called MAKEDEV in/dev/directory which can create those devices for you
There seems to be no man pages on MAKEDEV is the syntax just MAKEDEV sdc
I did that and it made a lot of files that started with sdc,sdc1 to sdc100 etc. They disappered when I rebooted however. Is this normal
Quoted 13 lines
Signature · 9 lines
-- ? - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Mounting thumb drive.
On my two Slackware 9.1 (kernel 2.4.22) systems each mounted my thumbdrive (Sandisk microcruzer 128 MB) with
mount /dev/sda1 /mnt/hd
df -T indicated that it was a 'umsdos' filesystem.
Slackware v10.0 & 10.1's kernel (2.4.26 & 2.4.29) found a
/dev/sda1 device and I could
mount /dev/sda1 /mnt/hd
and
df -T indicated that it was a 'msdos' filesystem.
tail /var/log/messages indicated that the kernel found a /dev/sda1 USB device.
Does your kernel find your USB device and put information into /var/log/messages?
...
Apr 7 21:59:40 g2000 kernel: hub.c: new USB device 00:10.3-1, assigned address 2 Apr 7 21:59:43 g2000 kernel: Initializing USB Mass Storage driver... Apr 7 21:59:43 g2000 kernel: usb.c: registered new driver usb-storage Apr 7 21:59:43 g2000 kernel: scsi1 : SCSI emulation for USB Mass Storage devices Apr 7 21:59:43 g2000 kernel: sda: sda1 Apr 7 21:59:43 g2000 kernel: USB Mass Storage support registered.
...
HTH, Chuck
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Quoted 17 lines · chuck gelm
Mounting thumb drive.
On my two Slackware 9.1 (kernel 2.4.22) systems each mounted my thumbdrive (Sandisk microcruzer 128 MB) with
mount
/dev/sda1/mnt/hddf -T indicated that it was a 'umsdos' filesystem.
Slackware v10.0 & 10.1's kernel (2.4.26 & 2.4.29) found a
/dev/sda1device and I couldmount
/dev/sda1/mnt/hd
and
df -T indicated that it was a 'msdos' filesystem.
Quoted 5 lines
tail
/var/log/messagesindicated that the kernel found a/dev/sda1USB device.Does your kernel find your USB device and put information into
/var/log/messages?
Here is the last few lines from /var/log/message as I was tailing it when I plugged in the USB thumb drive
Apr 8 15:56:09 localhost kernel: usb 1-1: new high speed USB device using addre ss 4 Apr 8 15:56:09 localhost kernel: scsi3 : SCSI emulation for USB Mass Storage de vices Apr 8 15:56:09 localhost kernel: Vendor: Generic Model: STORAGE DEVICE R ev: 1.22 Apr 8 15:56:09 localhost kernel: Type: Direct-Access A NSI SCSI revision: 02 Apr 8 15:56:14 localhost kernel: usb 1-1: control timeout on ep0in Apr 8 15:56:19 localhost kernel: usb 1-1: control timeout on ep0in Apr 8 15:56:24 localhost hal.hotplug[5712]: timout(10000 ms) waiting for /devic es/pci0000:00/0000:00:1d.7/usb1/1-1/1-1:1.0 Apr 8 15:56:24 localhost hal.hotplug[5716]: timout(10000 ms) waiting for /devic es/pci0000:00/0000:00:1d.7/usb1/1-1/1-1:1.0/host3/target3:0:0/3:0:0:0 Apr 8 15:56:24 localhost kernel: usb 1-1: control timeout on ep0in Apr 8 15:56:29 localhost kernel: usb 1-1: control timeout on ep0in Apr 8 15:56:34 localhost scsi.agent[5732]:
Attribute /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-1/1-1:1.0/host3/target3:0:0/3:0:0:0/type does not exist
Quoted 12 lines
...
Apr 7 21:59:40 g2000 kernel: hub.c: new USB device 00:10.3-1, assigned address 2 Apr 7 21:59:43 g2000 kernel: Initializing USB Mass Storage driver... Apr 7 21:59:43 g2000 kernel: usb.c: registered new driver usb-storage Apr 7 21:59:43 g2000 kernel: scsi1 : SCSI emulation for USB Mass Storage devices Apr 7 21:59:43 g2000 kernel: sda: sda1 Apr 7 21:59:43 g2000 kernel: USB Mass Storage support registered....
Quoted 8 lines
HTH, Chuck
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs