Results 1 to 6 of 6
Hi folks,
Gentoo_64
Just install an USB enclosure (ATA HD)
# fdisk -l
did not find it.
Please advise how to get it installed. TIA
B.R.
satimis...
- 10-05-2006 #1Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,532
About USB enclosure
Hi folks,
Gentoo_64
Just install an USB enclosure (ATA HD)
# fdisk -l
did not find it.
Please advise how to get it installed. TIA
B.R.
satimis
- 10-05-2006 #2Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110
Do you have udev and hotplug installed/configured?
- 10-06-2006 #3Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,532
Hi bigtomrodney,
# udevmonitorDo you have udev and hotplug installed/configured?Just have udev and hotplug installed ;Code:udevmonitor prints the received event from the kernel [UEVENT] and the event which udev sends out after rule processing [UDEV] hanging here
# emerge -pv sys-fs/udev
# emerge -av sys-fs/udev
# emerge -pv sys-apps/hotplug
# emerge -av sys-apps/hotplug
then
# emerge --sync
# emerge portage
# emerge --update --deep --newuse world
# emerge --depclean
# revdep-rebuild
# etc-update
# env-update
re-plugin the USB enclosure
# dmesgIt was there.Code:.... .... device-mapper: error adding target to table device-mapper: dm-linear: Device lookup failed device-mapper: error adding target to table device-mapper: dm-linear: Device lookup failed device-mapper: error adding target to table device-mapper: dm-linear: Device lookup failed device-mapper: error adding target to table device-mapper: dm-linear: Device lookup failed device-mapper: error adding target to table kjournald starting. Commit interval 5 seconds EXT3 FS on dm-0, internal journal EXT3-fs: mounted filesystem with ordered data mode. kjournald starting. Commit interval 5 seconds EXT3 FS on dm-1, internal journal EXT3-fs: mounted filesystem with ordered data mode. kjournald starting. Commit interval 5 seconds EXT3 FS on dm-3, internal journal EXT3-fs: mounted filesystem with ordered data mode. kjournald starting. Commit interval 5 seconds EXT3 FS on dm-2, internal journal EXT3-fs: mounted filesystem with ordered data mode. kjournald starting. Commit interval 5 seconds EXT3 FS on dm-4, internal journal EXT3-fs: mounted filesystem with ordered data mode. eth0: no IPv6 routers present eth0: no IPv6 routers present usb 1-3: new high speed USB device using ehci_hcd and address 3 usb 1-3: configuration #1 chosen from 1 choice scsi2 : SCSI emulation for USB Mass Storage devices usb-storage: device found at 3 usb-storage: waiting for device to settle before scanning Vendor: Model: Rev: Type: Direct-Access ANSI SCSI revision: 02 sd 2:0:0:0: Attached scsi disk sda usb-storage: device scan complete eth0: link down. usb 1-3: USB disconnect, address 3 eth0: link up. usb 1-3: new high speed USB device using ehci_hcd and address 4 usb 1-3: configuration #1 chosen from 1 choice scsi3 : SCSI emulation for USB Mass Storage devices usb-storage: device found at 4 usb-storage: waiting for device to settle before scanning Vendor: Model: Rev: Type: Direct-Access ANSI SCSI revision: 02 sd 3:0:0:0: Attached scsi disk sda usb-storage: device scan complete usb 1-3: USB disconnect, address 4 usb 1-3: new high speed USB device using ehci_hcd and address 5 usb 1-3: configuration #1 chosen from 1 choice scsi4 : SCSI emulation for USB Mass Storage devices usb-storage: device found at 5 usb-storage: waiting for device to settle before scanning Vendor: Maxtor 9 Model: HAQA Rev: 5215 Type: Direct-Access ANSI SCSI revision: 02 SCSI device sda: 13281408 512-byte hdwr sectors (6800 MB) sda: Write Protect is off sda: Mode Sense: 00 38 00 00 sda: assuming drive cache: write through SCSI device sda: 13281408 512-byte hdwr sectors (6800 MB) sda: Write Protect is off sda: Mode Sense: 00 38 00 00 sda: assuming drive cache: write through sda: unknown partition table sd 4:0:0:0: Attached scsi disk sda usb-storage: device scan complete usb 1-3: USB disconnect, address 5 usb 1-3: new high speed USB device using ehci_hcd and address 6 usb 1-3: configuration #1 chosen from 1 choice scsi5 : SCSI emulation for USB Mass Storage devices usb-storage: device found at 6 usb-storage: waiting for device to settle before scanning Vendor: Maxtor 9 Model: HAQA Rev: 5215 Type: Direct-Access ANSI SCSI revision: 02 SCSI device sda: 13281408 512-byte hdwr sectors (6800 MB) sda: Write Protect is off sda: Mode Sense: 00 38 00 00 sda: assuming drive cache: write through SCSI device sda: 13281408 512-byte hdwr sectors (6800 MB) sda: Write Protect is off sda: Mode Sense: 00 38 00 00 sda: assuming drive cache: write through sda: unknown partition table sd 5:0:0:0: Attached scsi disk sda usb-storage: device scan complete
# mount /dev/sda /mnt/
# ls /mnt/Problem solved.Code:enclosure.txt lost+found
The USB enclosure won't mount automatically on plugin. Please advise how to config "hotplug". TIA
B.R.
satimis
- 10-08-2006 #4
Did you try subfs?
- 10-08-2006 #5Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,532
Hi apoorv_khurasia.
Is it for Suse kernel? What is it?Did you try subfs?
Tks
B.R.
satimis
- 10-08-2006 #6
subfs is a kernel module and is not distro-specific. It shall allow to automount your drives when they are plugged in. e.g., CD, Floppy, USB etc.


Reply With Quote
