• 2020-11-01 12:05

    Basic quick and dirty Kafka test cluster

    Here is how to get a Kafka test cluster going. Not for production, of course. This is a 3 node cluster running embedded zookeeper. The whole thing was done on CentOS 7.

  • 2020-10-07 19:26

    Adding Apache Kafka capability to Apache Pulsar

    KOP - Kafka On Pulsar is an interesting project that adds Kafka capabilities to Pulsar. I did play around with KOP release prior to 0.3.0 and unfortunately it supported only Kafka protocol version 0 to 2. This seemed to have changed with KOP version 0.3.0. I have not had a chance to try it out.

  • 2020-09-23 10:03

    Apache Pulsar Unit files

    In the previous post I mentioned that Apache Pulsar does not come with systemd unit files. So, below is a copy. If I remember right I got them somewhere on the Internet, unfortunately I do not remember where. I think I added a thing or two. If you, the reader, happen to be the original author, feel free to ping me to give credit where it’s due.

  • 2020-08-26 13:05

    Basic Apache Pulsar cluster howto

    Apache Pulsar is distributed messaging system. I was doing some POC and here are instructions on how to get basic Pulsar cluster going. This was done on CentOS 7.

  • 2018-11-09 11:03

    Is it a sparse file?

    The other day someone asked how is it possible that one file’s size is way bigger than size of the filesystem it resided on. So I figured, it’s probably a sparse file. Let’s see…

  • 2017-09-03 10:39

    Sending packets out of incoming interface

    It is desirable, in some circumstances on a server with multiple NIC’s to send outgoing traffic on incoming interface. In order to do so the server has to have policy routing implemented.

  • 2017-08-31 09:15

    Using whole disk for LVM during kickstart

    I was kickstarting a machine that needed two disks. The requirement was that the second disk was to be used as whole for LVM. It seemed there was no way to do so, but apparently there is. The snippet below makes it happen. The key part is –onpart=sdb.

  • 2013-12-17 09:37

    Another take on Dynamic Volume Resize in RHEL 6

    Being able to resize an LVM volume without reboot is quite handy. I had described one way here. This is a slightly different take on the same topic, this time on RHEL 6.

  • 2013-11-15 08:56

    There is no screen to be resumed...

    I was running a script on a server that took a while to complete. Since I did not want to lose any output I ran it inside a screen session. Of course, during the course of this, my SSH connection dropped and when I logged in again, and tried to reattached to the session I got this:

  • 2013-10-30 09:04

    Hung Linux system: Now what?

    Finally, I had remembered to try out Magic SysRq key in real life. One of the XenServer hosts decided to refuse to reboot and hung during shutdown. Magic SysRq is really a keyboard combo that allows user to force kernel to perform certain function, even though machine is unresponsive. In my case I needed to safely reboot the host.

  • 2013-09-30 09:42

    fsck: Error determining size of the physical device: File too large

    So, I got done patching this fairly important server, running RedHat 5.10. For reasons I will not go into, the server has about 30TB of direct attached storage. After the reboot, one of the filesystems, in this case it had 16TB of storage, failed to pass automatic fsck check on boot.

  • 2013-08-28 15:07

    Unfinished transactions in yum

    I was patching this “pseudo server” the other day. Resources on the server were not monitored. Of course / was low on space and yum failed. Subsequent run of yum update threw the following message:

  • 2013-07-27 08:57

    Oracle DB failed to start: ORA-27102: out of memory

    Oracle not being exactly my turf, I ran into this last week. After some patching and reboot of RHEL 5.9 server, Oracle DB failed to start. So, I took a peek inside /opt/oracle/product/11.2.0/db_1/startup.log and found this:

  • 2013-06-30 10:31

    vShield Manager CLI password change

    This just seems nonsensical to me. Apparently, you cannot change user passwords via CLI in vShield Manager 5.1.2, but you have to go through the rigmarole of removing and recreating accounts. Specifically, I needed to change password for admin account.

  • 2013-05-27 09:48

    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:

  • 2013-04-28 16:18

    Dynamically discovering disk volume in RedHat

    This is one of those “note to myself” posts. Discovering a new volume on a Linux server is little cruder than it is in Solaris.

  • 2013-03-30 09:41

    ext3 detected aborted journal

    This was an interesting exercise in a sense that I have never had a similar filesystem issue in the past. For some unknown reason so far one of the RHEL 5.9 ESXi guests decided to remount /var as read-only. Taking a look at output from dmesg confirmed ext3 had some ordeal going on:

  • 2013-02-27 16:02

    Completely disabling IPv6 in RedHat

    I was looking to disable IPv6 across bunch of servers. And not in some adhoc way. This in one of those “note to myself” posts. I was dealing with RedHat 5 and 6 servers.1

  • 2013-01-31 11:02

    Resetting ILOM root password on Sun Blade 6000 chassis

    So, I inherited Sun Blade 6000 chassis with a few blades. Of course, without password to get into ILOM or anything else. No problem, reset will take care of it.

  • 2012-12-28 13:31

    Onlining and Offlining CPU's in Linux

    Dynamically enabling and disabling CPU’s in Linux is not as convenient as it is in Solaris with psradm command. I was trying the following on VMware vSphere 5.0 with guest running RedHat 5.9.

  • 2012-11-30 12:23

    Configuring RedHat for Oracle Enterprise Manager agent install

    So, I had to get Oracle Enterprise Manager Agent going on bunch of servers running RedHat 5.8. The agent would be pushed out to the client servers using OEM. I guess I had seen a better thought out software in my time.

  • 2012-10-22 10:21

    Rebooting hung XenServer VM

    Thankfully XenServer is on the way out in my environment. One of the perpetual troubles is the issue with hung VM’s. The server blades are running XenServer 5.6 Service Pack 2.

  • 2012-09-30 20:29

    SecureFTP rename bug?

    Not so long ago I was looking into a bash script that used SFTP’s rename command to move file on a remote server from one directory to another. No matter what, the script would always fail with an error from SFTP, that went something like “Unable to rename file”.

  • 2012-08-29 11:05

    Oracle syslog madness

    Recently, I was asked to look into logging of Oracle 11g audit messages into syslog. One would think this would be simple enough. Everything was configured correctly. Audit messages were arriving to syslog, but a lot of messages seemed to be split into multiple syslog entries. Here is one part of Oracle audit message split by syslog:

  • 2012-07-03 11:15

    XenServer failing to boot a VM

    This was just an interesting incident I had. Disclaimer: the VM was not in production. The server blade was running XenServer 5.6 Service Pack 2.

  • 2012-06-22 09:01

    Resetting readonly shell variable

    Recently I inherited a RedHat server, which had system-wide user profile configured something like this:

  • 2012-05-29 06:23

    Configuring Tomcat to log via syslog

    By default Tomcat does not log to syslog. Due to various reasons I was going to configure Tomcat to log via syslogd on localhost, which would then forward logs to central loghost. This was all done on servers running RHEL 5 and Tomcat 5.5.

  • 2012-04-30 09:46

    Init.d script failing to stop service on RedHat

    The other day I had an irritating issue with an init script on RedHat. I had enabled the script using chkconfig command. The service would start up just fine, but when the server was bounced, the script was skipped and stop operation was not performed.

  • 2012-03-30 14:10

    Dropping cached memory in Linux

    This is kind of a followup to the previous post about Linux seemingly being out of memory.

  • 2012-02-28 12:56

    Is Linux really out of memory?

    If you have ever looked at RAM usage on a Linux server you might have noticed that the server might be running out of memory. This is misleading. Let’s take the following example:

  • 2012-01-20 16:14

    Flashing firmware on SunFire T2000

    Not so long ago I had to flash firmware on SunFire T2000. It’s not a complicated thing.

  • 2011-12-13 10:19

    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.

  • 2011-11-15 11:19

    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.

  • 2011-10-31 21:01

    Very basic SELinux troubleshooting

    [SELinux](http://fedoraproject.org/wiki/SELinux has been around for a while in RedHat. SELinux is Mandatory Access Control mechanism. Starting with RedHat 6, the installer automatically sets SELinux to enforcing mode.

  • 2011-09-19 21:32

    OpenBoot: All CPUs failed or disabled

    I guess every day you learn something new. This incident happened on Sun Fire V480R. The server was running for running for ages but for one reason or another it had to be rebooted.

  • 2011-08-30 12:15

    How to configure Solaris 10 to drive HP MSL 6000

    I have done this a long time ago so there might be something missing as this comes from sketchy notes that I still have. The point of this exercise is to get Solaris 10 to use MSL 6000 fibre channel library for backups using HP Data Protector 5.5. I have done this on Sun Fire V240 servers.

  • 2011-07-28 11:46

    Viewing and changing speed and duplex in Solaris

    Depending on version of Solaris and the hardware it’s running on, you will either use ndd utility or use kstat or dladm commands to change speed and duplex. Remember that for example, e1000g driver will let you manipulate settings using dladm in Solaris 10, but you will not be able to do so using ndd. This is also true among different Solaris versions. For example, dladm is present only in Solaris 10.

  • 2011-06-17 15:18

    Removing file or directory via inode number

    While back I was doing some work with SVM. Everything went smoothly, but after I was done I experienced some bizarre issue. I am not entirely sure how it came to be. I needed to remove a temporary mountpoint called /tmpmnt:

  • 2011-05-31 21:32

    Finding out native instruction set in Solaris

    This is one of those commands that I just can not seem to memorize. Among others, isainfo will tell you if you are using 32-bit or 64-bit kernel modules. Check out isainfo man page for more details…

  • 2011-04-30 21:12

    Identifying a failed disk using dd

    A while back I had the “fortune” of having to deal with replacement of a failed disk inside a disk array of some HP-UX machine. Never mind lack of any information regarding the hardware setup (dual controllers, multipathing, etc.)… The biggest problem was identifying the failed disk. Oh, and throw some LVM into that…

  • 2011-03-31 21:35

    Unmouting stale NFS mountpoint in linux

    Unmounting stale NFS mount points in Linux can be royal pain sometimes. In Solaris, umount -f does the job just fine.

  • 2011-02-14 16:33

    Why it's not a good idea to remove active log file

    So, someone deleted a log file of a running process because partition was running out of space. That’s seemingly logical thing to do, but not a wise one.

  • 2011-01-04 12:21

    Accessing Mirrored Metadevice When Booting from CD/DVD

    How do you access mirrored root disks when booting into single user mode from either network or DVD/CD? Presumably because of luck I have not been forced into this situation. When booting from DVD or network in single user mode your mirrored root disks will not be available.

  • 2010-12-20 11:36

    Deleting Solaris Container

    And finally for “completeness” of my Solaris Containers notes, here is a procedure to delete a container. You can not remove a container that is active. You have to halt it first. Start by finding out what containers are configured and what state they are in:

  • 2010-12-08 16:55

    Logging into Engineering Mode on Clariion Array

    I have been playing around with a new Clariion array and it turns out that there is this thing call “Engineering Mode” that allows some extra functionality. It is especially useful when connecting hosts manually.

  • 2010-11-12 21:50

    Reading Sun Cluster eventlog

    I ran into this topic while searching for something unrelated. I have wondered for a while how I could read Sun Cluster eventlog files. For whatever reason Sun Cluster writes these files in binary format, which is not really helpful. I guess those log files are meant to be seen by Sun engineers only.

  • 2010-10-17 14:36

    Renaming Solaris Container

    Let’s say you made a mistake and you need to rename Solaris container. Start off by moving container’s zonepath. This will change zonepath for container oldzone to /export/home/zones/newzone:

  • 2010-09-22 21:14

    Jumpstart going interactive

    Well, this is kinda interesting… I have put two blank disks into a Sun machine and I tried to Jumpstart the machine. Blank - meaning there was no Sun label on them. Long story short… Everything looked good until Jumpstart went interactive just after checking the rules.ok file:

  • 2010-08-12 11:58

    Running X applications inside Solaris Container on a headless server

    I had a few users that needed their own Solaris Container. They would use Reflection X to connect to their Containers. It worked all fine. Well, for the most part. Every few days or so Containers would stop accepting X connection. When I looked at /var/dt/Xerrors logfile inside one of the containers, I would see a lot of complaints:

  • 2010-07-19 10:33

    Solaris 10 VTOC weirdness on EMC Clariion Array

    I was doing some Solaris 10 8/07 testing with EMC Clariion CX4-960 array. One of the tests was to dynamically grow LUN. Until now, I have been doing this on HP EVA array. It was pretty straight forward:

  • 2010-06-05 10:02

    Solaris Containers and ZFS

    I had to create some containers for developers to do their work. Developers always seem to want root access to a machine. Containers work very nice in this scenario: if a developer messes up his container, I can just clone a new one off a “gold” container. ZFS can be very handy here as well: by installing a container on ZFS filesystem and assigning ZFS quota, you can limit how big the container can grow.

  • 2010-05-07 17:24

    Installing and patching Data Protector client on standalone Solaris machine

    I needed to install HP Data Protector 5.5 client on an old machine running Solaris 2.6. I also needed to apply some Data Protector patches to that machine. The problem was I had no Data Protector Install Server for Data Protector version 5.5.

  • 2010-04-02 15:41

    Trussing processes on Sun Cluster?

    One of the apps running on Sun Cluster was randomly crashing. So, I decided to take a look what was happening. Yeah, there is DTrace in Solaris 10. Since I am pretty comfortable with truss I decided to give that a shot first:

  • 2010-03-21 18:38

    Jetadmin and non-HP network printers

    I was trying to get Dell 3130cn Manual printer working with Jetadmin in Solaris. But, I was not able to create the print queue even though the printer was reachable, SNMP was working and so was telnet. Fortunately, there is a workaround I found somewhere on the Internet. Of course, I failed to keep the link to the workaround. Anyways, the non-HP printer that you are trying to configure has to have Jetdirect card. The workaround:

  • 2010-02-10 14:54

    Failed repository integrity check

    Last week I was presented with the following error on one of the Solaris 10 boxes:

  • 2010-01-05 12:21

    Finding out length of a UTP cable using Cisco IOS

    Well, this is just cool. Everyone has been there; sitting at a Cisco switch console wondering how long the unmarked UTP plugged into port 17 is… Thankfully Cisco IOS might be able to tell you:

  • 2009-12-03 12:50

    Quick and dirty SVM cheatsheet

    This list focuses mostly on mirror operations. I use Solaris Volume Manager quite a bit when mirroring internal drives. There are tons of additional features and commands, if you use SVM for things other than mirroring. In that case you might want to look at check out Solaris Volume Manager Administration Guide

  • 2009-11-27 22:40

    Linux multipathing

    I use MPxIO in Solaris quite often and it works very well for me. This time I needed to test out I/O multipathing in RedHat. What I really needed to do: have a server with two HBA’s manage a mirror which has submirrors on separate SAN’s; so that the server has multiple paths to each submirror. That way, if an HBA goes the server has still connection to both submirrors through the remaining HBA.

  • 2009-11-05 16:56

    Moving Solaris Container to a different host

    Cloning Solaris Container is pretty straight forward. But what if you want to have an identical container on another host? In a nutshell:

  • 2009-10-11 13:03

    Mounting Linux NFS share: Not owner

    I was trying to mount a RHEL 4 NFS share in Solaris 10. But for whatever reason I just could not seem to get it mounted. It would always come back with “Not owner” error:

  • 2009-10-04 16:42

    Weird disk label after using ZFS on a LUN

    If you ever used ZFS on a LUN and then tried to reuse that LUN for UFS you might have noticed a “weird” disk label on it. This is known as EFI label.

  • 2009-09-17 20:41

    Corrupt superblock, now what?

    This is an oldie, but a goodie. For some reason I was asked about it 3 times in a span of a week. Suppose your system was not shut down cleanly and it refuses to come up. During bootup fsck refuses to run, complaining about corrupt superblock. So, what do you do? First, get the alternate superblock locations and then run fsck using one of the alternate superblocks.

  • 2009-08-10 20:23

    Cloning Solaris Container

    There are two way to create a new container: create one from scratch, which takes a little while or you can clone an existing container. Cloning is quite faster than the actual creation so it is handy to have a “gold” master container which is used for cloning. Another reason for having a “gold” master container is the fact that the container from which you are making a clone has to be halted during cloning. I did this on Solaris 10 8/07 release. Cloning consists of the following:

  • 2009-07-07 19:57

    How to get HP Jetadmin working inside Solaris Container

    I needed to build a print server and I had to use HP Jetadmin. I also wanted to use Solaris Containers for the job. Here are few things I found out in the process. This was done on Solaris 10 08/07 and Jetadmin version E.10.34.

  • 2009-06-14 15:54

    Solaris Containers

    Solaris Containers allow partitioning of a physical server into virtual servers. Containers do not provide virtualization in sense of Xen or VMware they are more similar to jails. Zone is a container without resource control.

  • 2009-05-04 15:42

    Network interface bonding in Linux

    Bonding Ethernet interfaces in Linux is pretty straight forward. There is bunch of articles out there on it already, but since this is where I keep some of my notes, I decided to write a post on it. Plus I do not have to bother with Google and I can come straight here for instructions. This was done on Poweredge running CentOS 5.2. Here are things that need to be done to make this happen:

  • 2009-04-13 18:44

    Getting handle on log files

    Starting with Solaris 9 there is a very handy tool called logadm that makes management of any log files a breeze. Syslog and messages files, among others, are managed by logadm which is called from root’s crontab. Logadm reads /etc/logadm.conf file to figure out what it needs to do. By default there are following entries in logadm.conf:

  • 2009-03-22 12:19

    Solaris Link Aggregation

    Link aggregation takes a bunch of network interfaces and creates a big pipe out of them.

  • 2009-02-06 23:52

    Growing mirrored LUN in RedHat

    I was putting a RedHat server onto a SAN and I could not find any clear instructions on how to grow a single mirrored LUN on the fly. Anyway, here are some notes on the process. First the setup: Two LUN’s mirrored across two SAN’s with LVM volume on the top of it. I could have easily just presented another set of mirrored LUN’s, add them to VG and go from there. I wanted to avoid that, as that kind of setup can quickly get out of hand as the number of presented LUN’s grows. If there is a more “sensible” and flexible setup, I would most definitely want to know about it.

  • 2009-01-26 19:52

    Basic IPMP

    Finally, I got tired of remembering which network interfaces is configured on my Netra test box. So I do not have to remember which interface to plug cable into I configured IPMP on the box. IPMP provides link redundancy among multiple network interfaces in multipathing group. IPMP is not meant to be full fledged load balancing solution, though it will spread outgoing traffic across the interfaces.

  • 2008-12-20 16:53

    Quick and dirty ZFS cheatsheet

    Create simple striped pool:

  • 2008-11-08 15:41

    Growing Solaris Volume Manager mirrors online

    You have a SVM mirror and you need to grow it. Online. All steps are straight forward except for the last one. So, in a nutshell:

  • 2008-10-04 12:40

    Getting started with SOL on Sun Fire V20z and V40z

    SP on Sun Fire V40z can be configured so that you can access system console over the network as you would on a UltraSPARC machine with Net Management port. Here is a quick way to get started using V40z and RedHat. Before starting, connect up SP network interface to the network.

  • 2008-09-01 19:36

    Disabling MPxIO for onboard disks

    I was configuring MPxIO on Sun Fire V490. After issuing stmsboot -e command and rebooting the server, internal disks were under MPxIO’s control.

  • 2008-08-19 20:47

    Gathering fibre channel info using fcinfo

    I came across fcinfo command reading some other man page. So, I decided to see what kind of useful fibre channel information it could give me. It turns out fcinfo knows quite a bit.

  • 2008-08-03 21:04

    Forcing network speed and duplex in Open Boot prompt

    I had a Sun box attached to a switch I had not control over and I needed to jumpstart it. Unfortunately, I was getting nowhere. After crosschecking everything in my setup the only thing I did not try was to force speed and duplex on the Sun box to see if it would start booting.

  • 2008-07-22 20:45

    Managing core files

    If you have grown tired of having core files laying around all over the place you can manage them using coreadm command. You can set up system to save core files to a specific location.

  • 2008-07-02 19:39

    Mirroring root disk using SVM

    There are about 487359 documents on the Internet about how to mirror root disk in Solaris. So, here is 487360th.

  • 2008-06-18 18:11

    Moving boot disk to a different target or controller

    I had a need for a system that can boot two different versions of Solaris from two different disks. Both disks were on target 0 when Solaris was installed on them. But when I moved one of the disks to be target 1, obviously there was going to be a problem with booting from that disk.

  • 2008-06-03 19:02

    Determining ethernet MAC address from Open Boot prompt

    Today I had a need to jumpstart SunFire V240 using network interface in one of its PCI slots. In order to do that I need to find the MAC address of that interface, preferably with least amount of hassle. There was no Solaris installed and all I had was ok prompt. So I took a quick look at device aliases:

  • 2008-05-09 18:48

    Sun Cluster's scconf

    Using scconf you can view some useful information about Sun Cluster configuration such as information about cluster transport, disksets, etc. Using multiple v’s you can increase output verbosity. It’s pretty useful especially if you inherited the cluster. I added this command to my Useful Sun Cluster commands, as well. ```terminal root@node1 # scconf -p -v Cluster name: cluster Cluster ID: 0x4538908A Cluster install mode: disabled Cluster private net: 172.16.0.0 Cluster private netmask: 255.255.0.0 Cluster new node authentication: unix Cluster new node list: <. - Exclude all nodes> Cluster transport heart beat timeout: 10000 Cluster transport heart beat quantum: 1000 Cluster nodes: node1 node2

  • 2008-04-11 20:46

    Booting alternate device using reboot command

    The other day after mirroring root disk I needed to test new devalias I made for backup root disk to see if the system would boot from it. Since my servers are headless and I was not “inclined” to console into it I wondered if it was somehow possible to reboot the system and have it boot from alternate boot device.

  • 2008-04-08 11:24

    Using CVS with SMF

    Most services in Solaris 10 are controlled by SMF. SMF uses xml files to define services it manages. I had a need to quickly create a service manifest for CVS. The inetconv command takes an input file with inetd.conf format and converts it into basic SMF manifest and imports it into the SMF repository. In the case of CVS I created cvs_inetd file with following content:

  • 2008-04-04 18:57

    Increasing number of NFS servers on Sun Cluster

    By default Solaris 10 starts 16 NFS servers to handle NFS requests. You can tune this by editing /etc/default/nfs file.

  • 2008-04-02 07:11

    Moving LUN's between hosts using metarecover

    Sometimes you might need to move a LUN between hosts X and Y on a SAN. Solaris has cool command, metarecover, that lets you do just that. First, you will need to stop all processes on X that might be using the given LUN. Then unmount the LUN and present it to the host Y. Now you can use metarecover to recover metadevice information from the LUN. Couple of things to remember:

  • 2008-03-25 19:18

    Useful Sun Cluster commands

    Some useful Sun Cluster commands

  • 2008-03-11 20:44

    Replacing disk controlled by SVM

    The following scenario assumes two mirrored disks, with two state database replicas located on slice 7 of both disks. High level steps for this are as follows:

  • 2008-03-03 18:51

    NFS4 Invalid inbound domain name

    It seems that starting with Solaris 06/07 nfs4_domain is required in sysidcfg file, otherwise jumpstart will go interactive. You can force a value, for example nfs4_domain=example.net or you can set it to be dynamic. In that case the value will be derived from the name service in use. Solaris 10 has nfsmapid daemon that maps numeric UID/GID to a string in format user@example.net.

  • 2008-02-29 20:29

    Unmounting seemingly busy filesystem

    Sometimes when you try to unmount a file system, Solaris refuses to do so.

  • 2008-01-23 20:38

    Solaris release update version

    Sometimes I just do not bother to label images I burn onto CD’s/DVD’s. The other day I grabbed a DVD that contained a copy of Solaris 10, but I needed to know what release update it was. To find out mount the disc and look at release file in SUNWsolnm package:

  • 2008-01-22 19:51

    Viewing devaliases inside Solaris

    Usually, when you need to view or manipulate content of EEPROM you can use eeprom command in Solaris. However, it’s not of much use if you need to view current device aliases. There is a simple way to do so using prtconf command. Just look for section aliases:

  • 2008-01-15 19:45

    SC/RSC console setup

    Many Sun servers have this nifty little “feature” called Net Management port. When connected to the network and configured it allows SC access over the network. It’s just like being hooked up directly to the ALOM port. Depending on the server model you can telnet or ssh to the server to gain access. Given this is console access to the server ssh is the preferred method if it’s supported. SC output below is from SunFire V245.

  • 2008-01-09 19:16

    Mounting an ISO image in Solaris

    The other day I needed to mount an ISO image in Solaris. It turns out there is a simple way to do that using lofiadm command. Using lofiadm you can link a file with a block device that can be mounted later as a regular filesystem. First the file has to be linked to a block device: