Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 ?

share|improve this question
up vote 1 down vote accepted

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.

share|improve this answer
Yes, I'm using mdadm. I will try to use UUID. Thank you. – vine_user Jun 23 '12 at 5:17

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.

share|improve this answer
This problem is not about volume label name. They are "device names" such as /dev/sdb or /dev/sdc or /dev/sdd and so on. – vine_user Jun 23 '12 at 4:49

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.