[CentOS] forcing device to USB HDD
    Lorenzo Quatrini 
    lorenzo at gmk.it
       
    Mon Oct 29 09:57:06 UTC 2007
    
    
  
Israel Garcia ha scritto:
> Hi, I bought an USB external hdd (500GB) to make my
> backups using dump... but, sometimes my sever
> recognize the hdd device /dev/sdb or /dev/sdc... my
> question is: How can I assign a fixed device for
> example /dev/sdc to my hdd? remember I use some
> scripts to do my backup and I am getting errors
> because the device changes from sdb to sdc and 
> 
> thanks in advance
> Israel
> 
> 
> 
Another quick and dirty way:
put a file (maybe an hiden file) on your device, and on top of your script 
search for that file on the various disks...
Cheers
Lorenzo Quatrini
    
    
More information about the CentOS
mailing list