LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   UUID not resetting with USB enclosured SATA hard drives (https://www.linuxquestions.org/questions/linux-hardware-18/uuid-not-resetting-with-usb-enclosured-sata-hard-drives-855647/)

brijam 01-11-2011 12:36 PM

UUID not resetting with USB enclosured SATA hard drives
 
I'm encountering a bizarre issue that I hope someone can shed some light on.

I have three Linksys NSLU2s each running nearly identical setups: SlugOSBE 5.3 with two USB SATA hard drives in enclosures. One partition on each drive is used for software RAID 1.

The third NSLU2 which has two identical 500gb Western Digital Blue Scorpion SATA drives and two identical USB enclosures (Flexmate) is giving me issues.

The second hard drive keeps getting booted from the RAID array - looking into it I noticed that, for some reason, Linux is reading both RAID partitions as having an identical UUID. I thought maybe that was the issue so I've set about trying to fix it.

SlugOSBE doesn't have tune2fs, so I removed the drives and used tune2fs to create new UUIDs for both partitions (which usually show up as /dev/sda3 and /dev/sdb3) on my Kubuntu 10.10 machine. tune2fs reports the correct new UUID under Kubuntu.

But when I plug the drives back in to the NSLU2, it still shows the old UUID for both drives. I've deleted /etc/blkid.tab, but that doesn't seem to do anything.

What am I missing?

brijam 01-11-2011 04:52 PM

Answering my own question, it appears that with RAID arrays, the UUID is supposed to be duplicated, for reasons that aren't well documented.

My issue with the RAID array kicking /dev/sdb3 must be something else, so I'll keep looking.


All times are GMT -5. The time now is 01:29 PM.