- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- USB disk error
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
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
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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-16-2007 05:44 AM
тАО08-16-2007 05:44 AM
I am plugging a 500GB USB external disk in to my server. The following error comes.
The device /dev/sdgg1 is being put in devlabel's temporary ignore list /etc/sysconfig/devlabel.d/ignore_list to avoid errors.
How would I overcome this.
Pls help
Adithyan
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-16-2007 06:07 AM
тАО08-16-2007 06:07 AM
Re: USB disk error
Anything can be done with rmmod modeprobe...????
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-16-2007 07:50 AM
тАО08-16-2007 07:50 AM
SolutionIf my understanding is correct, the devlabel daemon tries to maintain "persistent names" for your disks. If you use more than one hot-pluggable disk, the persistent names would be very convenient - but they aren't absolutely necessary.
For example:
Today, you plug in your 500 GB disk and it becomes /dev/sdg1. You might also plug in your handy USB stick for moving some scripts around, which would then become /dev/sdh1.
Tomorrow, you might reboot the server and then plug in these two devices in the reverse order. Now your USB stick is /dev/sdg1 and your 500 GB disk is /dev/sdh1 !
It would be nice to have a way to refer to the 500 GB disk with some name that does not care whether the disk is currently /dev/sdg1, /dev/sdh1 or /dev/whatever. Devlabel tries to do that by providing symlinks in the /dev/ directory. With some configuration, it might be possible to have devlabel create a symlink named /dev/my_500gb_usb_disk which would always point to the disk, whatever the disk's real device name might be.
But in your system, devlabel is apparently refusing to do this.
You should be able to use the disk as /dev/sdg1 even though devlabel does not work with that particular disk. You'll just need to keep track of the device name by yourself.
(I assume "/dev/sdgg1" is a typo. If not, you have a lot of disks...)
By the way, devlabel was originally created for Linux 2.4 kernel series. Newer distributions use Linux 2.6 series of kernels, and they generally have a more flexible system to replace the functionality of devlabel. It's called "udev".
The fact that you use "devlabel" indicates you're using a fairly old Linux distribution. Are you fully up to date with patches?
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-16-2007 05:08 PM
тАО08-16-2007 05:08 PM
Re: USB disk error
Thanks for the clarification. Yes your assumption is correct. I have lot of external disks addigned to the server from stoage. /dev/sdgg1 is not typo.
Since I have only one hot pluggable device, the chance of getting the device name change is little I guess??. I could unmount the device without any problem, but when I tried to mount it back using the command "mount /dev/sdgg1 /mnt/hd1" it was throwing an error " not a block special device". What could be wrong?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-16-2007 07:21 PM
тАО08-16-2007 07:21 PM
Re: USB disk error
Is /dev/sdgg1 a real device name? You can see device type, major and minor numbers by typing ls -l /dev/sdgg.
E.g.
[root@me wiki]# ls -l /dev/sda1
brw-rw---- 1 root disk 8, 1 Feb 2 2005 /dev/sda1
Here "b" (at permission field "brw-rw----") means block device, "8" is a major number (means SCSI disk) and "1" is a minor number (first partition of /dev/sda)
Also you can get kernel log messages (using 'dmesg' command) and see what kernel thinks about your USB disk.
E.g.
Aug 17 11:08:24 me kernel: Product: USB Disk
Aug 17 11:08:24 me kernel: SerialNumber: 192B1AA102D7
Aug 17 11:08:29 me kernel: SCSI device sda: 253952 512-byte hdwr sectors (130 MB)
Aug 17 11:08:29 me kernel: sda: Write Protect is off
Aug 17 11:08:29 me kernel: sda:<7>usb-storage: queuecommand() called
Aug 17 11:08:29 me kernel: sda1
Regards, Ivan Kuznetsov