Tag Archives: solaris - Page 2

Solaris 10 and Linux iSCSI interoperability

Recently a friend and I were trying to get XenServer 5 to use our Solaris 10 server as it’s backing store. We specifically wanted to use an iSCSI volume exported to the Xen server, as the performance is promised to be considerably better than NFS.

However, try as we might, the XenServer wouldn’t make use of the iSCSI LUN as exported – it could see it, but wouldn’t make use of it. Then we discovered this bug… Read more »

Further Catalyst on Solaris notes

In my last post about installing Catalyst on Solaris I went to great lengths to install every Perl module, in order, from CPAN. This was a painful process to establish, and just as painful to emulate. The post was updated back in March to include CPAN bundles, which would do most of the hard work for you – but as was pointed out in the comments, it should’ve been a simple case of ‘cpan Catalyst’. Read more »

rm -rf on Solaris ZFS filesystem doesn’t remove directories

This is one of the weirdest problems I’ve had for a while. On one of the servers I look after my home directory was a zfs filesystem set to /home/user. If I ever did an rm -rf on a directory structure underneath my home dir, it would remove all the files but leave all directories in place. The only way to get rid of the directories was to recursively remove each one. Painful.

Today I discovered a fix – although I don’t know the reason why. Read more »

WAN Boot and ZFS root

I came across an intriguing problem today whilst trying to rebuild a server. The server was physically located somewhere I couldn’t utilise a boot server, so I decided to quickly throw together a WAN Boot server (which I won’t go into here, but see ref [1] below). Read more »

Using Perl local::lib on Solaris 10

I tend to build perl modules to live in my home directory. Setting up CPAN with PREFIX= and LIB= variables means I can compile/build modules without being root and use them in any script with a simple ‘use lib …’ statement. Read more »

Installing Catalyst on Solaris 10 using the OS Perl

I decided to take a look at Catalyst on Solaris. Having done a bit of work with it on Mac OSX, I discovered it wasn’t that easy to get going on Solaris with the stock Perl. Even using cat-install from ShadowCat didn’t render the easy result I’d experienced using MacPorts. After a few hours battling with CPAN, I’ve managed to come up with this list of modules to get Catalyst up and running. Read more »

Setting up iSCSI targets on Solaris

This example is using snv66 for the target, and Solaris 10u3 for the initiator, as iSCSI target isn’t in Solaris 10u3 (11/06), but is in from u4 (08/07). This should work fine on Solaris 10 u4 and beyond. Read more »