Archive for the ‘solaris tips’ Category

Copying directories with tar

This is one of those, “can’t seem to memorize something” posts… Sometimes copying files with cp is just painful. Instead: [root@sparky ~]# mkdir /tmp/newopt && mount /dev/mapper/system-opt /tmp/newopt [root@sparky ~]# ( cd /opt && tar –xattrs -cf – . ) | ( cd /tmp/newopt && tar xvfp – ) This will copy files and directories […]

Posted on May 27, 2013 at 09:48 by somedude · Permalink · Leave a comment
In: linux, linux tips, shell, solaris, solaris tips

Resetting readonly shell variable

Recently I inherited a RedHat server, which had system-wide user profile configured something like this: TMOUT=300 readonly TMOUT export TMOUT This was extremely irritating. Spending a few momnents looking at docs and session would time out. The same was true for screen, detached sessions would close. All in all virtually nothing could be done. Then […]

Posted on June 22, 2012 at 09:01 by somedude · Permalink · Leave a comment
In: centos, linux, linux tips, redhat, shell, solaris, solaris tips

Flashing firmware on SunFire T2000

Not so long ago I had to flash firmware on SunFire T2000. It’s not a complicated thing. I need to do something with Service Controller and in the process I found out that there is no scadm utility on T2000. Why? I am not completely sure. Maybe someone can chime in. It’s probably because T2000 […]

Posted on January 20, 2012 at 16:14 by somedude · Permalink · 3 Comments
In: alom, ilom, openboot, solaris, solaris tips, sun hardware

Unable to access console login prompt from ALOM

Not so long ago, I logged into System Controller of SunFire T2000 running Solaris 10 and tried to access server’s console. For some reason, usual console command did not work. It simply did not return anything. I figured maybe something was stuck, so I reset System Controller and tried again. Again, I got nothing, which […]

Posted on December 13, 2011 at 10:19 by somedude · Permalink · Leave a comment
In: alom, ilom, openboot, smf, solaris, solaris tips, sun hardware

ZFS and swapping

ZFS is great. Obviously. Generally when I do a server I install system on UFS and then mirror disks with SVM. I keep data and apps on ZFS. That’s nice, especially if ZFS is on a SAN. If something happens with the server I can move ZFS pools to a different server, if necessary. The […]

Posted on November 15, 2011 at 11:19 by somedude · Permalink · Leave a comment
In: solaris, solaris tips, zfs