The post describes steps to replace a failed disk in rpool for x86 based systems. Assuming c0t0d0 and c0t1d0 are mirrored in the ZFS rpool, and c0t1d0 need to be replaced. 1. As shown in the output below, c0t1d0 need to be replaced as it is having a lot of errors. # iostat -En … […]
Archives for February 2018
How to manage File and Directory Permissions/Ownerships in Linux
File Ownership Every file is owned by a specific user (or UID) and a specific group (or GID). The chown command can be used to change just the user or the user and group of a file. Here is an example of changing the owner of file “file1” to “user” and its “user” to users. […]
7 Useful Find Command Examples to Locate files to remove when a filesystem is full
“find” command can be very useful when it comes to locating files to remove when a filesystem is full. There are various options in find command to locate as well as remove the files consuming more space on the filesystem. Below are some of the find command examples, to locate files in various scenarios. 1. […]
Determining disk usage in Linux using “du” command
Determining Disk Usage The du command shows the estimated disk space used by files and directories. If you execute du without any options it will output the sizes of all files starting in your current directory and all subdirectories of your current directory. Find out how much disk space the /home directory is using with […]
Linux OS Service ‘hplip’
HPLIP is an HP developed solution for printing, scanning, and faxing with HP inkjet and laser based printers in Linux. The HPLIP project provides printing support for 1,292 printer models, including Deskjet, Officejet, Photosmart, PSC (Print Scan Copy), Business Inkjet, LaserJet, Edgeline MFP, and LaserJet MFP. (Note: Not all models are currently supported). The Hewlett-Packard […]
How to Copy / Move Files and Directories in Linux with “cp” and “mv” commands
Copy Files and Directories The cp command will copy files and directories or copy multiple sources to a destination directory. The basic syntax of the cp command is: # cp [options] source destination If you have multiple files/directories to be coped to a destination directory, use the below command syntax. # cp [options] source1 source2 […]
Solaris 11 : How to verify whether I’m logged into a Kernel Zone?
What is a Solaris Kernel Zone The solaris-kz brand uses the branded zones framework to run zones with a separate kernel and OS installation from that used by the global zone. A solaris-kz installation is independent of that of the global zone; it is not a pkg linked image and can be modified regardless of […]
Solaris 11 : How to Verify Kernel Zone Support on a Host
What is a Solaris Kernel Zone The solaris-kz brand uses the branded zones framework to run zones with a separate kernel and OS installation from that used by the global zone. A solaris-kz installation is independent of that of the global zone; it is not a pkg linked image and can be modified regardless of […]
Common Init.ora Parameters and Unix, Linux Kernel Parameters and Relationship Between Them
Its is important to know the most commonly used parameters in the pfile/spfile and their relationship with the kernel parameters to troubleshoot issues. The following table documents Unix and Linux kernel parameters that should be monitored and possibly increased after changes are made to the related init.ora parameter. Init.ora Parameter Kernel Parameter db_block_buffers shmmax, shmall […]
Oracle Database Environment Variables and Their Functions
Oracle Database Environment Variables Below are some of the most common environment variables used with Oracle Database and their descriptions: NLS_LANG: Specifies the language, territory, and character set of the client environment. The client character set specified by NLS_LANG must match the character set of the terminal or terminal emulator. ORA_NLS10: Specifies the directory where […]