So have you ever been running remote webdriver against Internet Explorer and received an error complaining about the zoom level? Even if you open the browser manually and reset the zoom level sometimes it will still happen. It's so annoying! Thankfully I found a solution.
When setting up the desired capabilities for the remote web driver there is a special option to ignore the zoom level. Here is an example in Java
Then go ahead and setup your remote webdriver using those DesiredCapablities and you normally would. You should notice that even if IE is set to 50% zoom, webdriver will not complain.
Ramblings about technology. Linux, disk arrays, Arduino/RPi, media servers and all other kinds of fun stuff... When I get around to it!
Thursday, July 3, 2014
Monday, February 24, 2014
ZFS - Pool/Disk/Volume full - Can't rm!
So you realize your Open Indiana/Solaris/Whatever server is erroring on bootup because your storage is full. What do you do?
You probably assume the same thing I did. Enter into recovery mode, delete a couple files, boot as normal. Well too bad since on ZFS that will not work! You'll most likely get an error message saying that you can't rm, the disk is full! Crap, what do you do now?
If you google you'll find a few solutions that people confirm as working. Unfortunately they did *not* work for me.
One is to use dd to zero out a file.
I still got the same error when attempting to run dd that I got with rm.
Another popular solution is to pipe data over a large file
The only solution that worked was to clear out old snapshots. Thankfully I had one available
Hope that helps someone!
You probably assume the same thing I did. Enter into recovery mode, delete a couple files, boot as normal. Well too bad since on ZFS that will not work! You'll most likely get an error message saying that you can't rm, the disk is full! Crap, what do you do now?
If you google you'll find a few solutions that people confirm as working. Unfortunately they did *not* work for me.
One is to use dd to zero out a file.
dd if=/dev/null of=some_file rm some_file
I still got the same error when attempting to run dd that I got with rm.
Another popular solution is to pipe data over a large file
echo "1" > some_file rm some_fileThat also didn't work for me.
The only solution that worked was to clear out old snapshots. Thankfully I had one available
zfs list -t snapshot zfs destroy your_non_essential_snapshotThat freed up enough space to allow me to go clear out files I really didn't need (logs, packages, etc).
Hope that helps someone!
Subscribe to:
Posts (Atom)