Artificial intelligent assistant

Map IDE drive to /dev/hda I run a small home server with one IDE drive (for the system) and a few SATA drives (for a software RAID). The IDE drive used to be at `/dev/hda` and the SATA drives at `/dev/sd*`. After a power outage the IDE drive claims to be `/dev/sde` and wreaks havoc with my RAID. How do I get my IDE drive to behave well again?

It's in general a bad idea to rely on the order of the drives. udev assigns them dynamically and the order might change.

File systems are better addressed by label or UUID:


/dev/disk/by-label/
/dev/disk/by-uuid/


Use the command `blkid` to find out information about your file systems.

Disks are addresses by id


/dev/disk/by-id/


If the disk ids are too ugly to work with you can symlink them to e.g. `/dev/mainhdd`, `/dev/backupdrive`, etc. via udev rules. Manual symlinks would not be persistent, since `/dev` is a kind of ram disk.

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy c6bfc8a2a99835096016d0c06d0b8956