Wednesday, May 1, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 749  / 2 Years ago, thu, august 25, 2022, 1:49:04

I would like to try building RAID system using two or more USB drives for just an experiment. But, the device names of USB drives will be changed whenever they reput or the system reboot.



For example: /dev/sdb changes to /dev/sdc etc.



Is there any good solution to fix the device names of USB drives ?


More From » 12.04

 Answers
7

Simple: use the UUID instead. Assuming you use mdadm, the --examine switch will tell you the UUIDs (or sudo blkid).



The UUID does not change, no matter what the device name is.


[#37352] Thursday, August 25, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tionavocad

Total Points: 189
Total Questions: 101
Total Answers: 118

Location: Liechtenstein
Member since Wed, Dec 8, 2021
2 Years ago
tionavocad questions
Tue, May 23, 23, 00:07, 1 Year ago
Tue, Jan 17, 23, 20:38, 1 Year ago
Sun, Oct 10, 21, 04:50, 3 Years ago
Tue, Jun 7, 22, 08:50, 2 Years ago
;