Linux Device Naming

Thilo Six T.Six at gmx.de
Sat Dec 29 15:27:53 UTC 2007


Jimmy Stewpot wrote the following on 29.12.2007 14:38

> Hello,
> 
> I am currently working on a system where there are loads of fibre 
> channel devices being attached and disconnected at regular intervals 
> (test environment). Currently when the system boots and fibre channel 
> drives are connected it will detect those LUN's first and the on-board 
> scsi local drives will be detected last. That means that we have things 
> like / being on /dev/sdg1
> Is it possible to have persistent naming so that the system disk is 
> always /dev/sda ?
> 
> Regards,
> 
> Jimmy

You can use th UUID of the partition instead of the device name in /etc/fstab
for mounting.
man fstab search for 'UUID'

That way the mounting is persisten even when the device changes.

bye
-- 
Thilo

key: 0x4A411E09





More information about the ubuntu-users mailing list