Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

2 Answers

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
add comment

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
add comment

Your Answer

 
discard

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.