Just curious, why are you rebooting? Is this dev/admin time or deployed time? I have had my PogoPlug up since 15 January 2010.
Categories: PogoPlug Development
Hi folks
I've got Optware going on my pink Pogoplug (I wanted to retain the my.pogoplug.com functionality). I've found that sometimes the drives are mounted in a different order though, so sometimes after a reboot what is normally /dev/sdb1 is /dev/sda1 - making the mount points I've set up for Optware are incorrect. I've got two USB hard drives and a flash stick which should be mounted for Optware. Obviously for the Pogoplug service the order in which things are mounted isn't an issue, but for me it is.
I've not changed the USB ports that things are connected to, so I'm confused as to why things are sometimes out of order (unless there's a millisecond here or there between USB controllers getting their messages through to the kernel) - anybody got any ideas as to how to ensure the drive order remains the same at all times?
Failing a fix, I suppose I can write a script to look for the right device and mount that...
It's not by choice! My washing machine is on its last legs and has tripped the safety switch on the distribution box a couple of times just recently (so the shutdown there is unclean and forced) and I had to replace the power strip I'm using after running out of sockets (so a clean shutdown there).
I'm wondering if the boot of the kernel is so fast that the physical drives - powered up at the same time - aren't quite ready to present themselves. Both have power-saving features so maybe that's slowing them down just enough for the flash drive to grab /dev/sda instead of /dev/sdb, because rebooting the Pogoplug from a shell has always got things in the right order.
If it comes to it, I could try plugging the flash drive into the USB port that the normal /dev/sda drive is on, and change my mount points accordingly. That probably makes sense, thinking about it...
You can use the mount_optextX automounter scripts that are on http://tech.groups.yahoo.com/group/nslu2-general/files/Plug%20Files/ . Modify them to your specifications. Obviously, one is for ext3 and the other is for ext2.
I used the autoer script so that it will always boot from my flash that is formatted ext2. However, the flash if rebooted with another usb attached to pogo will be changed from sda1 to sdb1. When I use windowns to map the , I will end up with the wrong mapped .
Is there other script that will allow me to always the flash as sda1?

RSS


