Author Archive
Jan
26
I am going to share a VMware tidbit with you, something that some of you may already know, but for those of you that don’t, it might help out a little bit. This is particularly aimed at the VMware Workstation crowd. OK, first let me setup the background here. I have a virtual machine that I use for development all the time. It’s running on my laptop, along with my dev tools. I can open VMware workstation and then select the machine I want and fire it up and then close Workstation (since it is set to keep VM’s running when Workstation closes) and all that, but this is time consuming and somewhat aggravating if I am in a hurry. The point is, I am lazy and nit picky and making all those clicks and waiting for programs to load is tedious, especially when I sometimes do it several times a day.
So, I found a nifty little command in the directory where VMware Workstation is installed called vmrun.exe. This command allows you to manipulate your VM’s on the command line. With it you can start and stop, pause, take snapshots of your VM’s, plus many, many more actions. Look at the bottom of this article for more information, I have included the output of vmrun.exe’s usage text, and there is a bunch of stuff there!
Now, back to the article here and my purpose for writing it, what I wanted was a quick and easy way to fire up or start that virtual machine so I could use it when needed, but not have to go through all of the above mentioned steps and wait times. What I came up with was a quick little batch file that when executed, uses that vmrun.exe command to start my virtual machine, easy as pie.
Read the rest of this entry »
Jan
10

Today I thought I would show you a neat trick you can do with your PC or laptop and a blank CD or DVD. Using something that Microsoft calls their Live File System, you can create or format a blank disk that will then allow you to use that disk (while it is in your disc drive) just like you would use a floppy disk or USB flash drive. You can copy files to and from the disk, erase files you no longer need, etc. All without “burning” files like you might be used to, just drag and drop right from Windows Explorer or whatever your favorite file manager might be.
There are some caveats with this, it appears that creating these disks is something you can do on Windows 7 machines only. However, once created, they can be read on Windows versions going back to Windows XP and in some cases even Windows 98. There is a URL at the bottom of the article that will take you to a Microsoft page with more information. In addition, the reason I so far have only said CD, DVD and disk without getting specific is because you can create this kind of disk on standard writable media (-R) as well as re-writable media (-RW) meaning the list of disks you can format for mobile data storage starts to get kinda long, like so: CD-R, CD+R, CD-RW, DVD-R, DVD+R, DVD-RW, DVD+RW, or DVD-RAM.
The process for setting up a disk for this kind of use is quick and easy, you simply insert your blank disk into your drive and wait a second. If you have autoplay enabled, you know where your CD’s that you insert start automatically, you will get a window that pops up asking you how you want to use the disc, like a USB flash drive, or with a CD/DVD player (like a normal writer). If you don’t have autoplay enabled, simply open Windows Explorer or My Computer and locate your CD or DVD drive. Double click on it and you should receive the same window asking you how you want to use the disk.
Once you see the window, make sure that use “Like a USB flash drive” is selected and then press next. You will then get a message that the disk is being formatted. Just wait and watch, and after a minute or two it should be complete and will disappear. Once the formatting windows goes away you are done and ready. You should now be able to drag and drop files to and from the disk, delete any that you want to, and manner of good stuff like that. I hope you find this useful!
Get more information at Microsoft’s site
Jan
7
I am sure that just about everyone has at least looked around on eBay if not purchased something from someone through there. There are a smaller number of us that have actually sold stuff on eBay, and as anyone who has done this can tell you, it ain’t pretty. The good folks at eBay have tools, ways and means to get your stuff listed for sale, but as easy as it is it’s also very complex and confusing. You can take some time and figure it out, but it never hurts to have some help, and this is where third parties have made a small fortune making tools, software and even books that aim to make eBay easier to learn.
I am all for learning and making things easier to use, and I ran across this site earlier today where the author sorts through a bunch of tools for eBay posting only the good ones and giving reviews on the “9 Excellent Free Tools For eBay Buyers and Sellers”. I took a look and while I can’t vouch for all of the tools, some of them I have used and I can say that I liked what I saw. So, go check it out and see if any of these tools can help you in your eBay journeys! Thanks
Aug
28
Recently I ran into an odd recurring message in the log files of some 64-bit Debian servers I had setup, and although it wasn’t causing me any problems per se, I hate for things to just go on like that and not know why and what to do about it. Now, these were virtual machines (VMs on ESX 4), running the latest Debian Linux 64-bit, and therefore being virtual they had to specialized RAID hardware or anything like that dedicated to the servers themselves. The servers just had your regular virtual SCSI disks as if it was a physical box with single drives in it.
What I noticed in the logs was an error pertaining to mpt-statusd, and that it was detecting “non-optimal” RAID status. Well, duh, there’s no RAID in it! Of course it won’t be optimal. Here is what I was getting, and you can see from the time stamps of this snippet that I was getting quite a few:
Aug 3 18:58:36 mail mpt-statusd: detected non-optimal RAID status
Aug 3 19:08:36 mail mpt-statusd: detected non-optimal RAID status
Aug 3 19:18:36 mail mpt-statusd: detected non-optimal RAID status
Aug 3 19:28:36 mail mpt-statusd: detected non-optimal RAID status
Aug 3 19:38:36 mail mpt-statusd: detected non-optimal RAID status
Aug 3 19:48:36 mail mpt-statusd: detected non-optimal RAID status
Aug 3 19:58:36 mail mpt-statusd: detected non-optimal RAID status
Aug 3 20:08:36 mail mpt-statusd: detected non-optimal RAID status
Aug 3 20:18:36 mail mpt-statusd: detected non-optimal RAID status
Aug 3 20:28:36 mail mpt-statusd: detected non-optimal RAID status
After I did some digging into this mpt-statusd package, I found that it’s main purpose is to check on the RAID status out of mpt and other controllers, which explains why it was complaining since as I said above, there was no RAID installed. Here is the full description of mpt-statusd:
“Description: get RAID status out of mpt (and other) HW RAID controllers The mpt-status software is a query tool to access the running configuration and status of LSI SCSI HBAs. mpt-status allows you to monitor the health and status of your RAID setup. Tag: role::program”
The fix for this is to uninstall mpt-status, assuming you don’t have RAID setup on your server. Once I removed the package, my log files where free from the unnecessary clutter! I still don’t know what the trigger was that got it installed in the first place, but at least it was easy enough to remove once I found out I didn’t need it.
Aug
27
This is one of the coolest and most useful things to add to my UNIX/Linux profile that I have come across in a long time. I use the locate command a lot (slocate naturally) as I am sure all of us command line monkeys do. How many times have you been frustrated by the billions of lines of results flying by your screen, piping through more or less, trying to find the one nugget of goodness that you really need? Especially when you actually know the correct name of it, just not where it lives? This is where this comes in handy (this is where this? man I am eloquent)! Add this function to your bash profile (for some that’s .bash_profile and for others it might be .bashrc, depending on your nix flavor) and you can stop all of that. I haven’t tried this with other shells aside from bash, but I don’t see why it wouldn’t work.
Basically, this function uses the locate command to find whatever you are looking for just like you do, only it uses a bit of scriptology to filter it down to the exact match of what you are looking for. Yep, that’s right, the exact match! This little tidbit can really help out when you are looking for something, take a look:
## BASH locate function for exact match
## Thanks Dark_Helmet : http://solarum.com/v.php?l=1149LV99
function flocate
{
if [ $# -gt 1 ] ; then
display_divider=1
else
display_divider=0
fi
current_argument=0
total_arguments=$#
while [ ${current_argument} -lt ${total_arguments} ] ; do
current_file=$1
if [ "${display_divider}" = "1" ] ; then
echo "----------------------------------------"
echo "Matches for ${current_file}"
echo "----------------------------------------"
fi
filename_re="^\(.*/\)*$( echo ${current_file} | sed s%\\.%\\\\.%g )$"
locate -r "${filename_re}"
shift
(( current_argument = current_argument + 1 ))
done
}
It’s just that easy! Copy and paste this into your profile and add a cool helper addon companion function thingy
I wish I could say I came up with this myself, but I didn’t, I found it in some forums posted by someone named Dark_Helmet (just like the attribution link in the script). I don’t know who you are Mr. Helmet, but I thank you for your sharing this with us all, and I am passing it on! Enjoy!
Aug
27
One of the websites out there that I just love is The Consumerist. Probably many of you are going to already be familiar with this site, but if not, allow me to digress for a moment. This site is not only funny as heck based on the writers they have and the wonderful work they do, but also the stories and subject matter that they cover. It’s humorous, informative, educational, and usually gives the reader a good heads up about something to be wary of. Another reason I dig the site, is that like me they don’t sell ads or anything like that, they are donation supported, but even more importantly they are there for the consumer. These guys are in your corner finding out information and exposing scams and fighting for the little guy (you know, us!) all over. As someone who has always been a huge proponent of good customer service, I have nothing but respect for these folk, so go check ‘em out. Plus they dig up some great dirt on people LOL
This leads me to the purpose of this post, I just had to share this link:
Confessions Of A Former Geek Squad Geek
Check it out, see what you think, then go read some more over there … but don’t forget to come back
By the way, in case you missed it in previous posts, if you notice the links and logos I have there in the Good Stuff box and a few other places that look a lot like ads when I just said that I don’t sell ads. Those are links to products and/or services that I use or have used that I endorse because I found them to be of superb value. No one is paying me to put those there, they are there because I found something good and I wanted to pass it on!