Author: Ramdev

8

Solaris Solstice DiskSuite: recover a metadevice that is in an unstable state OR how to recreate metadevice without losing data

When  a metadevice goes into an undefined state,  recovery of metadevice with meta commands is problematic.   The workaround is to re-create the metadevice after carefully recording the current configuration from metastat -p.   The procedure is a bit risky if not followed carefully, so keep the backup handy....

0

Solaris Troubleshooting : Display 3 timestamps ( at, ct, mt) for a file – in solaris

First, an explanation of the time stamps: mtime – time the contents of file was last modified (written to). atime – time the file was last used/accessed (read or executed) ctime – time the inode of the file was last changed (like changing permissions). ctime also...

3

Solaris 10 : Installing packages/Patches/ Applications in zones

  In the global zone view the SMCsudo and SMCtop packages: cd /export/home/student/zones pkginfo -d sudo-1.6.8p4-sol10-zones-sparc-local application SMCsudo sudo # pkginfo -d top-3.5.1-sol10-zones-sparc-local application SMCtop top # Notice the “false” setting for SUNW_PKG_ALLZONES variable: pkgparam -d sudo-1.6.8p4-sol10-zones-sparc-local SMCsudo SUNW_PKG_ALLZONES false # pkgparam -d top-3.5.1-sol10-zones-sparc-local SMCtop SUNW_PKG_ALLZONES...

2

Solaris Troubleshooting : Setting boot-device with luxadm command from booted OS.

This procedure demonstrates how to easily use the “luxadm” command to set the “boot-device” Open Boot Prom (OBP) parameter from a system booted from cdrom or in single user mode. The command will change the “boot-device” setting at the OS level and at the same time, change the “boot-device”...

Page 73 of 74