[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: What is the best way to deal with changing device names in Debian?



2008/8/12 Shachar Or <dawnlight@lavabit.com>:
> On Tuesday 12 August 2008 02:04, Aniruddha wrote:
>> Regularly my hard disk device names change ( e.g. from sdc to sdh to sdb
>> etc). When this happens it becomes impossible to boot.
>>
>> To prevent this from happening I 've added 'disk/by id' to fstab
>> (because the disks uuid were also changing) and 'boot from uuid' to my
>> menu.lst I wonder:
>
> The UUID's belong to the filesystems, not the disks. I've never heard of them
> changing between reboots. Use the blkid command to see them. Here's my fstab:
>
> # /etc/fstab: static file system information.
> #
> # <file system> <mount point> <type> <options> <dump> <pass>
> proc /proc proc defaults 0 0
> UUID="f94f5a03-67ca-4932-a9d5-2328776c6285" /boot ext3 defaults
> UUID="8a4fb183-7092-4041-af8f-41158e356df1" / ext3 defaults,errors=remount-ro
> 0 1
> UUID="4833592d-6afa-46c2-8c7c-35b85c7ac4ea" none swap sw 0 0
> /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,utf8 0 0
>
> # backup HDD
> UUID="a38d9a47-e26d-4e0f-8c73-24f30decd052" /mnt/backup_hdd ext3
> defaults,noauto 0 0
>
>>
>> -What is the best way to prevent the device names change from happening?
>> -If it happens what is the best way to quickly fix this problem?
>>
>> Regards,
>>
>> Aniruddha
>
> --
> Shachar Or | שחר אור
> http://ox.freeallweb.org/


I used get it occasionally if I had usb mass storage device plugged in
when the computer was booted.

-- 
rob


http://www.worldcommunitygrid.org/team/viewTeamInfo.do?teamId=82BS4ZCMFR1

Reply to: