Friday, February 02, 2007

resources....

okay.. so remember the site I pointed out last time for the mount command? It has some prettty good links.
I have mirrored one of them as I found the page a bit hard to reach. Specially with the spaces in filename.

Well here is the list of all commands in Solaris.

mounts

okay... so we had a customer issue, where our kernel module would screw up while loading and would reboot the system. So this, as you can imagine, was a vicious cycle.

So not knowing and easier ways, and not having a boot disk handy, I had to do something to get it past the drivers. These were kernel modules binding to the network drivers that were being messed up. So normally you'd think that unplugging the network cable would cause the bge0 to fail and thus the there would be no network driver to bind to. Hence our modules would not load. But no, the interface was in static address, so it didnt matter if the cable was plugged in.

We were thrown into recovery mode where the OS was mounted ReadOnly, and i couldnt figure out how to make it read write.
Finally, searching the web gave me a this good resource that helped out.

Solution?

mount -F ufs -o rw,remount /

worked like a charm, and saved us good 30 mins of other methods.