Category Archives: Solaris

(ufsrestore) Make Bootable – Recovering the Root or /usr File System

This is some kind of a followup from the first post about ufsdump – how to backup solaris filesystem 1. Replace and partition the disk if it has failed. 2. Because the system cannot be booted from the boot disk, boot from the CD-ROM and re-create the failed file system by issuing the newfs command: … Continue reading

How to Stop syslog Messages to Write Console on Solaris

How to Stop syslog Messages to Write Console on Solaris you can edit the entries in the /etc/syslog.conf to direct to another file eg /var/log/syslog instead of /dev/console. After that, issue kill -HUP to “reinitialize” the config or if you want to stop syslog process/daemon in Solaris 10, (not /etc/init.d/syslog stop) it should be svcadm … Continue reading

How To Run or Execute Explorer in Solaris

Here’s the common way to run explorer.. first time run this: # /opt/SUNWexplo/bin/explorer -g from then on, run this; # /opt/SUNWexplo/bin/explorer there are many options to explorer for certain things, but just by itself should get you most of what you need. just want to repeat that for retention: You can run /opt/SUNWexplo/bin/explorer. The first … Continue reading

Solaris Kernel Patching Recommended Patch

Here’s another Kernel patching of Solaris. I know there are tons of this type of post in the internet but another reference for the one who needs it, is I guess ok. To be honest, this is the steps that really made me understood the steps and procedure and the concept behind the 10_Recommended patch … Continue reading

KSH Script Basics | Special Shell Variables

Just deleted tons of stale, unsused user accounts. Here are some KSH shell basics and special shell variable. I need to Google them up myself to get reminded that ‘$?’ is the output variable for script execution. That is, it’s 0 for successful execution and 1 if there is any error.

SSH Tectia: Setup Public-Key Authentication

A quick post on how to setup a public-key authentication on an SSH client server, product by SSH Tectia. Summary: User instruction on how to setup public-key authentication. In setting up the ssh public-key authentication between servers, local and remote, we have to generate the key pairs and transfer it to the remote/server. Client Side … Continue reading

getfacl and setfacl – Unix Access Control (acl) Tool

Today’s topic is all about Access List… For Unix and Unix-like system, the usual command to set the file permission is the ‘chmod’ command. However there are instances that we need more flexibility in giving access and control for files and folders. Get it? Access and Control? In this situation, there is a file utility … Continue reading

Veritas Volume Manager VxVM Basics Commands Cheats

Veritas Volume Manager VxVM Basics Commands Cheats.. The authority site for this topic, the VXVM on VXFS, if you do a Google search for any tutorial or command cheat sheet is Cuddletech. I want to post… say, borrowing, the content of that page to this post for my own personal reference… Love your own page … Continue reading

SVM: Determine Free Space on Soft Partition

SVM: Determine Free Space on Soft Partition , we use the metastat -c command… [root@localhost] /work/users> metastat -c d103 d103 p 32GB d100 d100 m 68GB d101 d102 d101 s 68GB c1t2d0s0 d102 s 68GB c1t3d0s0 [root@localhost] /work/users> metastat -p d103 d103 -p d100 -o 32 -b 58720256 -o 127926432 -b 8388608 d100 -m d101 … Continue reading

Metastat Needs Maintenance Metareplace

Guilty! Putting all those Metastat keywords on one subject, that’s me! ANyway, I don’t want to stale this blog so once in a while I’m going to be posting some bits and pieces of Unix tools/tips.. and here’s a new one about SVM… Responding to Disk Errors courtesy of BigAdmin!