Clear faulty inode in Solaris

clri , dcopy Use the clri command to clear a bad inode that fsck is unable to fix. clri writes zeros on the inodes with the decimal i-number on the file system stored on special. After clri is run, any blocks in the affected file show up as missing in an fsck of special and any data is lost. You cannot clear an inode on a mounted file system. … Read more

Install NetBackup Client on Solaris / Linux

Download / Untar NetBackup Client binary package and exec installation script: ### FYI, Just NetBackup master server hostname is required during installation. [root @ soltest]/tmp # tar -xf NetBackup_7.6.0.1_CLIENTS1.tar [root @ soltest]/tmp # cd NetBackup_7.6.0.1_CLIENTS1 [root @ soltest]/tmp/NetBackup_7.6.0.1_CLIENTS1 # ./install Symantec Installation Script Copyright 1993 – 2013 Symantec Corporation, All Rights Reserved. Installing NetBackup Client … Read more

Reset HBA port in Oracle Solaris

If the devices not immediately available in fabric zones in a storage area network you can reinitialize the link to the devices by using the luxadm -e forcelip command. The following command can be used to list HBA devices: [root @ unixonline] / # luxadm -e port /devices/pci@1c,600000/QLGC,qlc@1/fp@0,0:devctl CONNECTED /devices/pci@1c,600000/QLGC,qlc@1,1/fp@0,0:devctl CONNECTED The following command can … Read more

Monitoring Swap Usage for Each Process With the top Command

To monitor which process is using swap, you can use the top command:Log in to Advanced shell (bash).Type the following command to enter the top utility: # top [root@unixonline]# top top – 01:10:24 up 230 days, 9:05, 9 users, load average: 0.00, 0.01, 0.05 Tasks: 220 total, 1 running, 219 sleeping, 0 stopped, 0 zombie … Read more

ISCSI in Solaris with iscsitadm Command

Target: Space which is being assigned from storage. Initiator: Client who is connecting to and using Target. Services: Depending on server role these services should be enabled/disabled. Configuring Target (Server) : #Show current settings iscsitadm show admin *  Assuming that a ZFS Volume named “Pool/Vol” is created in this regard. Change base directory : Create … Read more

Finding the amount of used memory by each process in Solaris

What is VSZ memory? VSZ is short for Virtual Memory Size. It’s the total amount of memory a process may hypothetically access. ### fill out required <UserName> in following command to find the amount of used memory by each process. ### Output is in Kilobyte. for i in ps -aef | grep -i <UserName> | … Read more

Configure Static IP Address on Solaris11

//Check current ip configuration status # dladm show-phys # ipadm show-if # ipadm show-addr //Check the interfaces name # dladm show-phys — output Example —LINK MEDIA STATE SPEED DUPLEX DEVICEnet0 Ethernet up 1000 full e1000g0 –> Attentiom to this linenet1 Ethernet unknown 0 unknown pcn0 =============================================================================================== # ipadm create-ip net0 //Check status # ipadm show-if … Read more

Installing Oracle Recommended OS Patchset(10_Recommended) for Solaris 10

The Recommended OS Patchset Solaris 10 provides the minimum set of patches needed to address security and Sun Alert issues, and selected issues identified by Oracle Proactive Services and the Oracle Technical Support Center, for the Solaris 10 Operating System for sparc. The patches contained in this patchset are considered the most important and highly … Read more

How to Move IP Configuration From One Network Device to Another Device in Solaris

Use the following procedure if you need to preserve the IP configuration that is associated with one network device and then move that configuration to another network device. You might perform this procedure as a prelude to removing a network card from the system or when changing a network cable connection. For example purposes only, … Read more

Sun Oracle System Handbook

The Sun Oracle System Handbook is designed to be an online web-based resource for Oracle customers, employees, partners and provides more detailed information from a system perspective, including system photographs, parts lists, and support documentation. The Sun System Handbook has replaced the online version of the FE(Field Engineer) Handbook, both on InfoServer and CDs. The … Read more