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 ?
Simple: use the UUID instead. Assuming you use
mdadm
, the--examine
switch will tell you the UUIDs (orsudo blkid
).The UUID does not change, no matter what the device name is.
Renaming an USB drive is quite simple.
First go to Computer. Then, right click on your USB device and choose Rename. Give your desired name and Press Enter.