[CentOS] LVM: PV on 2 external USB drives

Mon Apr 23 08:02:38 UTC 2012
Patrick Lists <centos-list at puzzled.xs4all.nl>

On 04/23/2012 09:21 AM, Mihamina Rakotomandimby wrote:
> How to get the USB external drives to be detected in always the same
> order, so that they always get the same "name"? /dev/sdX fixed to them?
> That way, the LVM wont be messed...

Perhaps you can use UUIDs for that like Fedora is already doing. See man 
uuidgen for more info about a UUID. Assign each USB drive a unique UUID 
and use those UUIDs (instead of /dev/sdX) in /etc/fstab.

Regards,
Patrick