Results 1 to 3 of 3
I currently installed a USB External Disk drive on my gentoo machine running
2006.1 AMD64 release.
When I plug in the USB disk I can mount it fine. The problem ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-13-2007 #1Just Joined!
- Join Date
- Jul 2007
- Posts
- 2
USB HD Mounting issues
I currently installed a USB External Disk drive on my gentoo machine running
2006.1 AMD64 release.
When I plug in the USB disk I can mount it fine. The problem I'm having is when I reboot the machine.
dmesg show the drive and assigns it /dev/sde1. When I try to mount it,
the system say's "allready mounted".
If I type mount, nothing is showing up for this device. Also, I never listed it in fstab / mtab to mount.
Please advise.
Thanks
- 07-13-2007 #2
For the (device already mounted) do you have HAL service that it's mounting the hard drive automatically ? usually the device will be mounted in /media !
boot the machine and plug in the Drive once your machine is done booting,type.
tail -s 3 -f /var/log/message (post here ), and try to mount it.
Regards.Linux is not only an operating system, it's a philosophy.
Archost.
- 07-13-2007 #3Just Joined!
- Join Date
- Jul 2007
- Posts
- 2
Usb Mounting Problem on reboot
Aliov,
I don’t have HAL service installed on the system.
Here’s the kernel / gentoo revision I’m currently running.
#uname -a
Linux qdmi64 2.6.15-gentoo-r7 #1 SMP Wed Jul 11 14:56:42 EDT 2007 x86_64 Dual Core AMD Opteron(tm) Processor 270 AuthenticAMD GNU/Linux
Here’s the output of dmesg, don’t have a file called /var/log/message, when I reboot the machine and then plug in the USB Disk Drive.
ohci_hcd 0000:03:00.1: wakeup
usb 2-1: new full speed USB device using ohci_hcd and address 2
scsi4 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
input: Western Digital My Book ES as /class/input/input0
input: USB HID v1.11 Device [Western Digital My Book ES] on usb-0000:03:00.1-1
Vendor: WD Model: My Book ES Rev: 012
Type: Direct-Access ANSI SCSI revision: 04
sde: Spinning up disk....ready
SCSI device sde: 976773168 512-byte hdwr sectors (500108 MB)
sde: assuming drive cache: write through
SCSI device sde: 976773168 512-byte hdwr sectors (500108 MB)
sde: assuming drive cache: write through
sde: sde1
sd 4:0:0:0: Attached scsi disk sde
sd 4:0:0:0: Attached scsi generic sg4 type 0
usb-storage: device scan complete
As I said, I’m able to mount the device as:
mount /dev/sde1 /backups
# mount /dev/sde1 /backups
#mount
/dev/md/2 on / type reiserfs (rw,noatime)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
udev on /dev type tmpfs (rw,nosuid)
devpts on /dev/pts type devpts (rw)
/dev/mapper/vg-usr on /usr type reiserfs (rw,noatime)
/dev/mapper/vg-var on /var type reiserfs (rw,noatime)
/dev/mapper/vg-opt on /opt type reiserfs (rw,noatime)
/dev/mapper/vg-tmp on /tmp type reiserfs (rw,noatime)
/dev/mapper/vg-home on /home type reiserfs (rw,noatime)
/dev/mapper/vg-usr0 on /usr0 type reiserfs (rw,noatime)
none on /dev/shm type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw,devmode=0664,devgid=85)
nfsd on /proc/fs/nfs type nfsd (rw)
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
/dev/md/0 on /boot type ext3 (rw)
/dev/sde1 on /backups type reiserfs (rw)
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/md/2 9.4G 241M 9.1G 3% /
udev 2.0G 260K 2.0G 1% /dev
/dev/mapper/vg-usr 10G 1.5G 8.6G 15% /usr
/dev/mapper/vg-var 210G 63G 148G 30% /var
/dev/mapper/vg-opt 10G 151M 9.9G 2% /opt
/dev/mapper/vg-tmp 10G 33M 10G 1% /tmp
/dev/mapper/vg-home 90G 6.4G 84G 8% /home
/dev/mapper/vg-usr0 200G 167G 34G 84% /usr0
none 2.0G 0 2.0G 0% /dev/shm
/dev/md/0 380M 14M 347M 4% /boot
/dev/sde1 466G 33M 466G 1% /backups
#
The problem is when I reboot with the USB Disk Drive still plug in .
Here’s the output of dmesg with the USB Disk Drive plugged in on a reboot:
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
USB Universal Host Controller Interface driver v2.3
ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
GSI 16 sharing vector 0xA9 and IRQ 16
ACPI: PCI Interrupt 0000:03:00.0[D] -> GSI 19 (level, low) -> IRQ 16
ohci_hcd 0000:03:00.0: OHCI Host Controller
ohci_hcd 0000:03:00.0: new USB bus registered, assigned bus number 1
ohci_hcd 0000:03:00.0: irq 16, io mem 0xfeafc000
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
ACPI: PCI Interrupt 0000:03:00.1[D] -> GSI 19 (level, low) -> IRQ 16
ohci_hcd 0000:03:00.1: OHCI Host Controller
ohci_hcd 0000:03:00.1: new USB bus registered, assigned bus number 2
ohci_hcd 0000:03:00.1: irq 16, io mem 0xfeafd000
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 3 ports detected
usb 2-1: new full speed USB device using ohci_hcd and address 2
scsi4 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
ata1: dev 0 cfg 49:2f00 82:7c6b 83:7f09 84:4673 85:7c69 86:3e21 87:4663 88:2
ata1: dev 0 ATA-7, max UDMA/133, 586114704 sectors: LBA48
input: Western Digital My Book ES as /class/input/input0
input: USB HID v1.11 Device [Western Digital My Book ES] on usb-0000:03:00.1
Vendor: WD Model: My Book ES Rev: 012
Type: Direct-Access ANSI SCSI revision: 04
sde: Spinning up disk....ready
SCSI device sde: 976773168 512-byte hdwr sectors (500108 MB)
sde: assuming drive cache: write through
SCSI device sde: 976773168 512-byte hdwr sectors (500108 MB)
sde: assuming drive cache: write through
sde: sde1
sd 4:0:0:0: Attached scsi disk sde
sd 4:0:0:0: Attached scsi generic sg4 type 0
usb-storage: device scan complete
Here’s the output when I try to mount the device :
# mount /dev/sde1 /backups
mount: /dev/sde1 already mounted or /backups busy
If I type mount, I’m not seeing anything mounted for device
/dev/sde1
# mount
/dev/md/2 on / type reiserfs (rw,noatime)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
udev on /dev type tmpfs (rw,nosuid)
devpts on /dev/pts type devpts (rw)
/dev/mapper/vg-usr on /usr type reiserfs (rw,noatime)
/dev/mapper/vg-var on /var type reiserfs (rw,noatime)
/dev/mapper/vg-opt on /opt type reiserfs (rw,noatime)
/dev/mapper/vg-tmp on /tmp type reiserfs (rw,noatime)
/dev/mapper/vg-home on /home type reiserfs (rw,noatime)
/dev/mapper/vg-usr0 on /usr0 type reiserfs (rw,noatime)
none on /dev/shm type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw,devmode=0664,devgid=85)
nfsd on /proc/fs/nfs type nfsd (rw)
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
Thanks,
Glenn


Reply With Quote
