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

Re: USB disk is sdf instead of sde



basti <mailinglist@unix-solution.de> wrote:

> I use a USB disk for weekly backups.
> Today the disk is always named sdf instead of sde.

> fdisk show's no sde
> udevadm info --query=all --attribute-walk --name=/dev/sde found no node

> cat /dev/sd
> sda   sda2  sdb   sdb2  sdc   sdd   sdf   sdf2 
> sda1  sda3  sdb1  sdb3  sdc1  sdd1  sdf1 

> Is there a way to find who still use sde ?

Legacy device names like /dev/sde are not stable or even predictable. If
they "belong" to hotpluggable devices even less so.

You better use a guaranteed static name like the ones found in
/dev/disk/by-id/ or /dev/disk/by-uuid to address your backup disk.

Or you can write your own udev-rule to create a device/symlink like
/dev/backup-disk to point to the actual device name of the device and
then use that as backup target.

Grüße,
Sven.

-- 
Sigmentation fault. Core dumped.


Reply to: