Sample Header Ad - 728x90

LVM: pvcreate by uuid or non "dev/sdX" method

4 votes
3 answers
3168 views
Is it possible to pvcreate a pv by any more unique means than the standard "/dev/sdX"? The reason is the external multiple hard drive dock and dev mapper on my system don't always assign the same "/dev/sdX" at boot. I work around this with ext4 mounts in fstab by mounting by uuid, otherwise the results could be disastrous reads/writes to the wrong disk.
Asked by user203950 (41 rep)
Dec 5, 2016, 03:51 PM
Last activity: Jun 26, 2025, 05:59 PM