Archive for April 2008
Turning Solaris to goo with destructive commands is something I’ve been enjoying for a while now, so its great to see someone add cash to the equation and take the next step in “squashing” bugs.. and hard drives.
Having ZFS and SAMBA on the home machine is great. It was simple to set up a share and offer it out to my house mates for them to backup their dissertation work on. With ZFS compressing the files, some of my file systems are getting a 1.6x ratio (60% disk space for free compared with a non-compressing file system)
The interesting bit comes with file permissions and Windows file attributes which aren’t quite the same, in fact, not at all. The attributes get mapped onto the unix file permissions in an interesting way, and you’ll need to keep that in mind when ls -l ing around a shared directory.
Meanwhile, there was a directory named “—-FILES—-” on the share. Trying to use
doesn’t quite work! Despite quoting the directory name, cd still tries to take some of those dashes as a switch. I’m not sure if theres a way around this using the relative path, but there is a different workaround: simply use the absolute path, instead of a relative one to get you there, eg:
To make a directory with leading dashes, you’ll need to specify the full pathname, or use something like this to make the process less painful:
My final year dissertation project is a software tool for asset tracking in a data center environment. The basic idea is that you run this tool after install your Solaris machine, and it reports back information about the hardware to a database for later inspection. Its also has hooks for being run as a service, so you can probe the machine at any time to see what its got. Simple enough, right?
Well, Sun has just announced that their Service Tag technology has just been open sourced. They fit in as a part to their Sun Connection infrastructure management platform. Basically, the service tags are the little bits of software used to identify you hardware and report it back to you. This can be implemented for hardware and software, and should mean that ISVs and all hardware vendors can make their products that little bit easier to manage! To quote the site:
Open Service Tag is the reference implementation of a standards initiative that will seek the involvement of OEMs (Original Equipment Manufacturer) and ISVs (Independent Software Vendor) to define a standard definition for product identification and discovery.
This is very good news for System Administrators! I can speak from experience that its not nice having to open up hundreds of machines looking for a particular piece of hardware, because there isn’t a command to find it. I truly hope that Sun go through all their back catalog of hardware to make sure absolutely everything is possible to find! This should also include bits of hardware that carry other interesting things built in, like motherboard network interfaces.
Its also quite entertaining that if a Sun product isn’t called a “Sun Java Web enabled, scalable ..” something or other, it still has important sounding features like “Sun Update Satellite Console”.