HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Uing USB disk on Intel LINUX
Operating System - Linux
1830241
Members
1509
Online
109999
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2008 08:34 PM
08-30-2008 08:34 PM
Uing USB disk on Intel LINUX
Hi There
How could I use USB disk on Intel Linux ?
Thanks in advance
Nahmad
How could I use USB disk on Intel Linux ?
Thanks in advance
Nahmad
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2008 12:20 AM
08-31-2008 12:20 AM
Re: Uing USB disk on Intel LINUX
If you're using a Linux distribution that includes USB storage autodetection (most modern ones do) and you are running a GUI desktop environment:
- plug it in, wait a few seconds and an icon appears somewhere on your screen. Click on it with your mouse.
If there is no GUI desktop environment (i.e. you're running a Linux server with the X Window System disabled):
- plug it in, wait a few seconds read the tail end of "dmesg" command output to see the device name (usually /dev/sd*) and use the "mount" command to mount it just like any other storage device.
Example "dmesg" command output after plugging in an USB disk:
[...]
usb 4-6: new high speed USB device using ehci_hcd and address 8
usb 4-6: configuration #1 chosen from 1 choice
scsi7 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 8
usb-storage: waiting for device to settle before scanning
scsi 7:0:0:0: Direct-Access Verbatim STORE N GO 5.00 PQ: 0 ANSI: 0 CCS
sd 7:0:0:0: [sdg] 31318016 512-byte hardware sectors (16035 MB)
sd 7:0:0:0: [sdg] Write Protect is off
sd 7:0:0:0: [sdg] Mode Sense: 23 00 00 00
sd 7:0:0:0: [sdg] Assuming drive cache: write through
sd 7:0:0:0: [sdg] 31318016 512-byte hardware sectors (16035 MB)
sd 7:0:0:0: [sdg] Write Protect is off
sd 7:0:0:0: [sdg] Mode Sense: 23 00 00 00
sd 7:0:0:0: [sdg] Assuming drive cache: write through
sdg: sdg1
sd 7:0:0:0: [sdg] Attached SCSI removable disk
sd 7:0:0:0: Attached scsi generic sg7 type 0
usb-storage: device scan complete
In this example, the device node of the "whole disk" device is /dev/sdg and its main (and only) partition is /dev/sdg1. The brand name of the USB disk is displayed, so I can confirm this is the correct device.
Now I can mount the disk to some location, to /mnt for example:
mount /dev/sdg1 /mnt
Some Linux distributions have (optional) tools that make the use of USB disks simpler even without using the GUI mode. For example, there might be an auto-mount system that mounts the USB disk to /media/ as soon as it is detected. See the documentation of your Linux distribution.
MK
- plug it in, wait a few seconds and an icon appears somewhere on your screen. Click on it with your mouse.
If there is no GUI desktop environment (i.e. you're running a Linux server with the X Window System disabled):
- plug it in, wait a few seconds read the tail end of "dmesg" command output to see the device name (usually /dev/sd*) and use the "mount" command to mount it just like any other storage device.
Example "dmesg" command output after plugging in an USB disk:
[...]
usb 4-6: new high speed USB device using ehci_hcd and address 8
usb 4-6: configuration #1 chosen from 1 choice
scsi7 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 8
usb-storage: waiting for device to settle before scanning
scsi 7:0:0:0: Direct-Access Verbatim STORE N GO 5.00 PQ: 0 ANSI: 0 CCS
sd 7:0:0:0: [sdg] 31318016 512-byte hardware sectors (16035 MB)
sd 7:0:0:0: [sdg] Write Protect is off
sd 7:0:0:0: [sdg] Mode Sense: 23 00 00 00
sd 7:0:0:0: [sdg] Assuming drive cache: write through
sd 7:0:0:0: [sdg] 31318016 512-byte hardware sectors (16035 MB)
sd 7:0:0:0: [sdg] Write Protect is off
sd 7:0:0:0: [sdg] Mode Sense: 23 00 00 00
sd 7:0:0:0: [sdg] Assuming drive cache: write through
sdg: sdg1
sd 7:0:0:0: [sdg] Attached SCSI removable disk
sd 7:0:0:0: Attached scsi generic sg7 type 0
usb-storage: device scan complete
In this example, the device node of the "whole disk" device is /dev/sdg and its main (and only) partition is /dev/sdg1. The brand name of the USB disk is displayed, so I can confirm this is the correct device.
Now I can mount the disk to some location, to /mnt for example:
mount /dev/sdg1 /mnt
Some Linux distributions have (optional) tools that make the use of USB disks simpler even without using the GUI mode. For example, there might be an auto-mount system that mounts the USB disk to /media/
MK
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2008 02:29 AM
08-31-2008 02:29 AM
Re: Uing USB disk on Intel LINUX
Thanks MK
I tried already the way you suggested but found that the USB is disabled by previous someone administrator for some reason.
Ho wcould I enable it please ?
Thanks
Nahmad
I tried already the way you suggested but found that the USB is disabled by previous someone administrator for some reason.
Ho wcould I enable it please ?
Thanks
Nahmad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2008 03:59 AM
08-31-2008 03:59 AM
Re: Uing USB disk on Intel LINUX
That depends on _how_ the USB functions have been disabled. Is it just the USB disks? Or are the USB mice/keyboards disabled too?
If all USB devices are disabled, it might have been done by disabling the USB controller(s) using the BIOS settings, if the BIOS of that particular machine has that option.
Another method would be by disabling one or more USB-related kernel modules by using "alias off" in /etc/modules.conf (with Linux kernels older than 2.6) or using the "blacklist " keyword in /etc/modprobe.d/* files (with kernel 2.6.*).
To disable only USB disk functionality, the previous admin might have disabled a module named "usb-storage". To disable USB completely, he/she might have disabled the USB controller driver modules, with names like "uhci_hcd", "ohci_hcd" and/or "ehci_hcd". (NOTE: the controller driver modules had slightly different names in kernel versions 2.4.* and before.)
A particularly thorough admin might even have removed these module files completely from the /lib/modules/ directory tree. If he/she has done that, you'll probably have to reinstall the kernel/module package your system is currently using, to get the deleted files back.
Knowing the name and version of your Linux distribution would make it easier to answer a question like this.
MK
If all USB devices are disabled, it might have been done by disabling the USB controller(s) using the BIOS settings, if the BIOS of that particular machine has that option.
Another method would be by disabling one or more USB-related kernel modules by using "alias
To disable only USB disk functionality, the previous admin might have disabled a module named "usb-storage". To disable USB completely, he/she might have disabled the USB controller driver modules, with names like "uhci_hcd", "ohci_hcd" and/or "ehci_hcd". (NOTE: the controller driver modules had slightly different names in kernel versions 2.4.* and before.)
A particularly thorough admin might even have removed these module files completely from the /lib/modules/
Knowing the name and version of your Linux distribution would make it easier to answer a question like this.
MK
MK
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP