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

Re: 'Wiring down' hard disks



On Tue, Sep 20, 2016 at 08:03:46PM +0000, ch_edge@yahoo.com wrote:
> Hi
> Could someone please advise me the best way to ensure a particular hard disk (SATA) always appears at a specific device node, i.e how can I be sure /dev/sdb for example is always going to refer to a specific drive even if others are added or removed?
> UUIDs only apply to partitions, is there no way to do a similar thing for a physical disk?
> I have some existing partitioned and formatted disks in a server which I want to plug into another machine and move the services over to a VM

That's a WWN -- look in /dev/disk/by-id/*

It identifies the disk itself, plus a -part* for partitions on
it.

-dsr-


Reply to: