This will scan the scsi host and no need to reboot to make devices(luns) visible.
echo “- – -” > /sys/class/scsi_host/host#/scan
June 15th, 2014 | Category: Centos, Linux | Leave a comment
|
||||||
This will scan the scsi host and no need to reboot to make devices(luns) visible. echo “- – -” > /sys/class/scsi_host/host#/scan June 15th, 2014 | Category: Centos, Linux | Leave a comment f you login to server and after running dmesg – show kernel log command you get tons of messages like: June 13th, 2014 | Category: Linux | Leave a comment Mount point suddenly turned into READ ONLY A RAC system, the GRID mount point on eighth node suddenly turned into read-only mode: [oracle@node8 ~]$ cd /prod/grid [oracle@node8 grid]$ touch 1 touch: cannot touch `1′: Read-only file system Instance is down due to that. We can see below error in OS log: Sep 5 03:26:13 node8 […] Tutorial: e2label, fdisk, /etc/fstab, mount, linux rescue, rescue disk, CentOS Let’s run through an example of a fresh disk, that needs to be configured, going through partitioning with fdisk, make filesystem, filesystem labelled using e2label, /etc/fstab edited, and mounted using mount. This is relevent for CentOS 3.x, 4.x 5.x; YMMV for other flavours. First, […] In order to get the fiber channel adapters detail to rescan, list the /sys/class/fc_host directory. In old RHEL host you will not be getting this listing. In this case you can use the /sys/class/scsi_host directory but it will list all internal adapters too.1. In Order to scan New Lun we need to run LIP […] In a production environment profiling is not an option, we have seen several times that our CPU has reached almost 100%, we are running tomcat on Linux, so what is happening? Fortunately, java comes with some great debugging tools, cooperating those tools with Linux built-in tools will let you know what is happening. Here is […] [root@cluster1 tomcat-connectors-1.2.40-src]# yum groupinstall ‘Development Tools’ Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: centos.mirror.secureax.com * epel: ftp.jaist.ac.jp * extras: kartolo.sby.datautama.net.id * updates: mirror.smartmedia.net.id Setting up Group Process Checking for new repos for mirrors Package 1:make-3.81-20.el6.i686 already installed and latest version Package 1:pkgconfig-0.23-9.1.el6.i686 already installed and latest version Package binutils-2.20.51.0.2-5.36.el6.i686 already installed […] [root@cluster1 ~]# ssh 192.168.1.41 ssh_exchange_identification: Connection closed by remote host
Problem is need to check the /etc/hosts.allow /etc/hosts.deny Just enter; echo ‘SSHD: ALL’ >> /etc/hosts.allow It sorted it out for me On Solaris, this can be changed in the /etc/default/login file. The default is 4 seconds. In case you want no delay at all, change it to 0. SLEEPTIME=0 On Linux, this can be configured in the /etc/login.defs file. The default on Linux is 3 seconds. FAIL_DELAY 0 But be careful. By changing this setting, a […]
Sar… Networking echo “Rcvd Bytes – Time”;\ (unset LANG; sar -n DEV) | grep eth0 | awk ‘{print ($5″ – “$1)}’ | sort -nr | head -n5;\ echo “Average: `sar -n DEV |grep eth0| tail -n1 | awk ‘{print ($5)}’`” Example: $ echo “Rcvd Bytes – Time”;\ (unset LANG; sar -n DEV) | grep […] |
||||||
Copyright © 2024 - All Rights Reserved Powered by WordPress & Atahualpa |
Recent Comments