RobHimself
New Around Here
Greetings, all.
Replaced my aging Nighthawk R7000 last week with the X10, and picked up a HDD enclosure (not a NAS; just a housing that puts four HDDs on a single power adapter/USB; a glorified powered USB hub that looks like a NAS) to house four 3.5" drives into a single unit. Intent was to plug this enclosure into one of the X10's USB ports, and the four drives house my media for Plex. For some reason, when plugging the enclosure into the X10, it results in a sort of race condition. All four drives are recognized, but they're all mounted to the same location (i.e., /dev/sda2, /dev/sdb2, /dev/sdc2, and /dev/sdd2 are all mounted to /tmp/mnt/sda2). At first, I was mucking around with a telnet-based console, but then switched my FW over to Voxel's excellent release (many thanks, and great install guide; very easy to follow) for proper SSH access.
Since then I've attempted to:
- Unmount and remount the drives manually, but found that it's a toss-up as to which drive initializes itself first, so sda2 isn't always the same drive.
- Installed entware per Voxel's instructions, and pulled down blkid in order to determine each drive's UUID in order to...
- Write a shell script to modify fstab to mount the drives by UUID on startup. The "mount" command included with this flavor of Busybox seems to include a diet version of mount which doesn't recognize the "-U" flag.
My next step is to just suck it up and buy a proper NAS, but before I throw my hands in the air in frustration I thought I might ask here. Any help would be appreciated. Can this be accomplished?
Replaced my aging Nighthawk R7000 last week with the X10, and picked up a HDD enclosure (not a NAS; just a housing that puts four HDDs on a single power adapter/USB; a glorified powered USB hub that looks like a NAS) to house four 3.5" drives into a single unit. Intent was to plug this enclosure into one of the X10's USB ports, and the four drives house my media for Plex. For some reason, when plugging the enclosure into the X10, it results in a sort of race condition. All four drives are recognized, but they're all mounted to the same location (i.e., /dev/sda2, /dev/sdb2, /dev/sdc2, and /dev/sdd2 are all mounted to /tmp/mnt/sda2). At first, I was mucking around with a telnet-based console, but then switched my FW over to Voxel's excellent release (many thanks, and great install guide; very easy to follow) for proper SSH access.
Since then I've attempted to:
- Unmount and remount the drives manually, but found that it's a toss-up as to which drive initializes itself first, so sda2 isn't always the same drive.
- Installed entware per Voxel's instructions, and pulled down blkid in order to determine each drive's UUID in order to...
- Write a shell script to modify fstab to mount the drives by UUID on startup. The "mount" command included with this flavor of Busybox seems to include a diet version of mount which doesn't recognize the "-U" flag.
My next step is to just suck it up and buy a proper NAS, but before I throw my hands in the air in frustration I thought I might ask here. Any help would be appreciated. Can this be accomplished?