Hardware :: How To Check RAID Status

Jul 15, 2009

We have a Dell Poweredge 1750 server with 2 harddrives in RAID 1 running Debian Etch. Yesterday one of the hardrives stopped working but no error message appeared in syslog. The only indication was the amber LED diode. Is there a software way how to check that both disks are OK?

View 5 Replies


ADVERTISEMENT

Ubuntu :: Check The Status Of Software Raid Array?

May 21, 2011

In Zentyal, it showed me active drives, if the array was degraded, and if there was any syncing happening when the array was building. How can I check that without Zentyal? Is there a terminal command or an application I can install to tell me the same information?

View 2 Replies View Related

Red Hat / Fedora :: How To Check The Network Status

May 20, 2009

want to know what is the cmd to ping/check the link speed or something like Network Info. If for server checking (Show information CPI info) is (cat /proc/cpuinfo ) (correct me if im wrong)

View 4 Replies View Related

General :: Check Status Of A Shell Script?

Aug 2, 2010

I'm running CentOS 5.5 and have created an init script. The start of the script contains:

# Source function library.
if [ -f /etc/init.d/functions ]; then
. /etc/init.d/functions
fi

The start bit works fine, but I'm having problems with the status and stop part:

status)
echo -n "Status of script: "
status "/bin/sh /path/to/script.sh"
RETVAL=$?
echo
;;

In PS AUX the command appears as "/bin/sh /path/to/script.sh" and I can see the PID. But when I run:

./my_init_script status

It says the script is not running. Should I be using the /bin/sh bit, or just the full script path, or just the script filename?

The stop part of the init script utilises "killproc". Again what command should I be using to successfully kill all occurrances of the script?

View 1 Replies View Related

Ubuntu :: How Can I Check Status Of User Partition

Nov 20, 2010

Ubuntu server, no GUI installed; two partitions: OS and user.How can I check the status of the user partition? E.g. Free space, directory, etc

View 2 Replies View Related

Programming :: SQL Script To Check Status Of Last Command?

Aug 7, 2009

I need to make a SQL script and call it from Unix (bash) shell.

Code:

sqlplus vikas/vikas <<END
spool /oracle/vikas/output.txt
command 1

[code]....

This runs perfectly, but my problem is that if a command fails, the other commands keeps on running. I need to keep a check that when a command fails the script is exited. In unix we have an option of echo $? to check the status of previous command, But how to accomplish this SQL.

View 2 Replies View Related

Slackware :: Check Proccess Status With /dev/urandom?

Feb 24, 2011

dd is wiping part of the hard drive( 270GB partition ) with /dev/urandom for quite some hours, is there anyway to check the proccess? like speed of the process etc., I read someone doing that with another drive while having access to other terminal because of the system, but since this is directly from the install dvd, I've no clue if there's anyway to do that or not. I'm asking that mainly because:

1) I prefer run things with some kind of verbose mode

2) I accentaly opened the dvd driver (yes I know, but I forgot the install dvd was inside of it), but I closed it right after it, no errors, but it may have stopped working and has just the _ clicking?

View 14 Replies View Related

Debian :: Unable To Check Status Of A Cups Printer?

Oct 15, 2010

I'm using Debian squeeze and for an assignement, i have create 2 virtual pdf cups printers. Both are working very well. To test the different administion command; i try to disable one of the printer and move his queue file to the second one. I'm able to do it easily.

Now, i wish to write a bash script that wil test the status of the printer. So that,if the printer is disable, it just execute the "move" script. Is there a way to know the status of a cups printer and use that information in a script?

For example, a command/function that can return "O" is the cups printer is enable and "1" if not.

View 1 Replies View Related

Hardware :: Check The Status Of A Switch Though Serial Port?

Oct 20, 2010

I would need to monitor the status of an electric relay. To do so I was thinking the serial port and perl (as I don't know C ) how to check if a switch connected to a serial port is open or closed. Here is my plan, I'll plug a electric relay on the electric network and monitor the state of the switch. if the switch is closed, that mean that we are on the electric network if the switch is open that mean that we are on our diesel power generator.

PS: There will be no voltage input involve (although I can if that's required)

I'm planning to use this with Nagios to know if we are on the electric network or on our diesel power generator.

View 3 Replies View Related

General :: Check The Status Of Mouse-button/ A Key Press Using C ?

Jun 23, 2011

1) check if a mouse button is pressed down. I need to check this status of mouse button again and again inside a loop. Depending on the status, some function will be called. OR

2) check if some key of the keyboard is pressed down. I need to check this status of 'key' again and again inside a loop. Depending on the status, some function will be called.

Either of the two above will serve my purpose.

I am using Ubuntu 10.10.

View 4 Replies View Related

Software :: Finding A Monitoring Tool To Check Services Status?

Apr 20, 2010

I there a monitoring tool that will alert me if one of the linux service is off? example MySQL, http, SSH,...etc

View 7 Replies View Related

OpenSUSE Install :: Dmraid Vs Mdadm And RAID Status Monitoring?

Apr 22, 2011

I'm pretty new to FakeRAID vs JBOD in a software RAID, and could use some help/advice. I recently installed 11.4 on a brand new server system that I pieced together, using Intel RAID ICH10r on an ASUS P8P67 Evo board with 2500K Sandy Bridge CPU. I have two RAIDs setup, one RAID-1 mirror for the system drive and /home, and the other consists of four drives in RAID-5 for a /data mount.

Installing 11.4 seemed a bit problematic. I ran into this problem: [URL]... I magically got around it by installing from the live KDE version with all updates downloaded before the install. When prompted, I specified I would like to use mdadm (it asked me), however it proceeded to setup a dmraid. I suspect this is because I have fake raid enabled via the bios. Am I correct in this? Or should I still be able to use mdadm with bios raid setup?

Anyways, to make a long story short, I now have the server mostly running with dmraid installed vice mdadm. I have read many stories online that seem to indicate that dmraid is unreliable versus mdadm, especially when used with newer SATA drives like I happen to be using. Is it worth re-installing the OS with the drives in JBOD and then having mdadm configure a linux software raid? Are their massive implications one way or another on if I do or do not install mdadm or keep dmraid?

Finally, what could I use to monitor the health and status of a dmraid? mdadm seems to have it's own monitoring associated with it when I was glazing over the man pages.

View 9 Replies View Related

Programming :: Make A Script That Will Check Service/s Status Whether Running Or Stop?

Sep 6, 2010

how to make a script that will check service/s status whether running or stop and also will run stop services?

View 9 Replies View Related

Debian Configuration :: Cannot Check Battery Status In Jessie ASUS EeeBook X205TA

Jul 22, 2015

I use jessie-32bit of kernel 4.1.3 on ASUS EeeBook X205TA. But it doesn't recognize buttery status.Result of my investigation, the incomprehensible ponts is below.

・"acpi -b" outputs no information.
・There is not "battery" directory in /proc/acpi/. (button only exists.)

The following is my system informations.
Code: Select allacpi -V
Adapter 0: on-line
Cooling 0: intel_powerclamp no state information available
Cooling 1: Processor 0 of 10

[code]...

I want to check battery in console and fluxbox Desktop.

View 2 Replies View Related

Ubuntu Installation :: /usr/lib/libgconf2-4/gconf-sanity-check-2 Exited With Error Status 256

Sep 6, 2010

yesterday i tried to install bt4 from alongside ubuntu 10.04. Unfortunately the DVD had some errors and the installation stopped. Everything was fine till then, even the GRUB was working(i guess!) but when i tried to log into my Ubuntu it gave me an error... " /usr/lib/libgconf2-4/gconf-sanity-check-2 exited with error status 256" also there was a popup like "gnome power management was not properly installed ....blah blah blah Contact you network admin"

i have only one user on that system. i tried the single user mode but no success... i then tried to Ctrl+Alt+F1-F6 no success... can't switch to command line(this is my display problem i guess)

i have now decided to install a fresh install but i do need to take the backup. What all should i copy to the new install so that i get the same feel as before?

View 1 Replies View Related

Ubuntu :: Error After Updates - Gconf-sanity-check-2 Exited With Status 32512

Jul 22, 2011

I ran update through the terminal and rebooted i get this error message on start up and again after I log in Please Help!! I'm running Ubuntu 11.04 using unity 2d and the latest version of Gnome 2 on a Dell Inspiron 5150 laptop There is a problem with the configuration server. (/usr/lib/libgconf2-4/gconf-sanity-check-2 exited with status 32512)

View 5 Replies View Related

Server :: Hardware Raid Status Under Redhat 5.4 Running On Dell PowerEdge 2850?

Dec 15, 2010

Does anyone know how to list hardware raid status under Redhat 5.4 running on Dell PowerEdge 2850?

View 2 Replies View Related

Ubuntu :: Hardware Drivers "Downloading Package Indexes Failed, Please Check Your Network Status?

Feb 24, 2011

I tried changing the source to a few different ones and I picked "Select Best Server". Still getting the same msg. I am on a wired connection and there is nothing wrong with my connection.Anyone know the solution if not how do I install nvida drivers?

View 1 Replies View Related

Hardware :: How To Check Raid Health

Apr 5, 2010

i have created RAID on EDGE server but when i run this command to check RAID status #megacli -CfgDsply -aALL |less

its shows nothing so how can i come to know whether my RAID is degraded or online also in opsview (monitoring tool) i have enable mega raid its shows ok but DISK showing 0

View 1 Replies View Related

Fedora :: Weekly Raid-check Never Checks Md1?

Feb 21, 2011

I have three raid volumes, md0, md1, and md2. The weekly raid-check cron always causes md0 and md2 to get checked but never md1.

/etc/cron.weekly/99-raid-check

Volumes md0 and md1 are on the same 8 disks. Volume md0 is a small raid1 across all 8 disks for boot and md1 is a raid5 that occupies the rest of those 8 disks. Volume md2 is a raid5 on a separate set of 6 drives. When I check /var/log/messages* I see that every Sunday md0 and md2 get checked but md1 is never checked. However, when I run 99-raid-check manually, all three volumes get checked. There is clearly something different between how crond runs that script and how I run it, but I can't imagine what that would be.

View 2 Replies View Related

Ubuntu :: Manually Initiate RAID Consistency Check?

Apr 1, 2010

I have a mdadm RAID5 configuration on my Ubuntu Server (64-bit). In the first week after I configured the RAID, mdadm itself initiated a consistency check automatically. But after that, it won't check the RAID anymore. (the server isn't on 24/7, normally a few hours a day)I've read a post for manually initiating consistency check with these commands

Code:
sudo su -
echo check >> /sys/block/md0/sync_action

[code].....

View 3 Replies View Related

General :: Check On Hard Drives In RAID 1 Array?

Feb 23, 2010

I'm renting a dedicated server with a company that claims that the server has 2 hard drives in a software RAID 1 array, but I need to make sure that the server really has the 2 HDD, and the size of the 2nd drive... how to do that ?? system is Centos 5.3

View 1 Replies View Related

Hardware :: Installed But Unable To Check Raid Health?

Apr 20, 2010

i have edge server. raid(5) have been installed but not able to check raid health. using command line able to.but using monitoring tool opsview, showing error -NRPE: Unable to read outpumachine Arch- 64 bit centos -5.2
package installed -MegaCli-2.00.15-1.i386.rpm

View 2 Replies View Related

Hardware :: Software - Enable Raid Check In Opsview ?

May 5, 2010

We are using opsview monitor tool, and created software raid one of our server. now wants to enable raid check in opsview. how to go for it. pleease help.

View 1 Replies View Related

Hardware :: Using Iscan By Epson CX9300F - Could Not Send Command To Scanner - Check Scanner's Status

Mar 17, 2010

After downloading and installing iscan and run it i see this message:

Could not send command to scanner. Check scanner's status.

After command sane-find-scanner:

And this message is result of scanimage command:

No scanners were identified. If you were expecting something different, check that the scanner is plugged in, turned on and detected by the sane-find-scanner tool (if appropriate). Please read the documentation which came with this software (README, FAQ, manpages).

View 4 Replies View Related

Ubuntu Installation :: Rebuild Status Raid 1 Intel Isw Fakeraid Intel?

Oct 1, 2010

I have recently installed Ubuntu 10.04.1 lts server on my Intel "fakeraid" (software raid) (2x250 sata).To test my RAID 1 I turned off one HD and start the system.The first screen (Intel software screen) show Status = Degraded, but the system starts normally with just one HD.Then I turned off the system and turned on the HD again, so the first screen (Intel software screen) shows Status = Rebuild. If I enter in the software raid panel the folowing message is showed: "Volumes with "Rebuild" status will be rebuilt within the operating system"The system starts normally... but this message status stays permanently even I restart the system again

View 9 Replies View Related

General :: Check The Snmpd Is Really Running Apart From Service Snmpd Status?

Feb 8, 2010

I have six linux Centos 5.0 Servers. I had to configure the snmp client. I just created a pretty basic configuration snmpd.conf file

Code: rocommunity CompanyCom 10.1.1.10

I installed all of these

lm_sensors-2.10.7-4.el5.i386.rpm
net-snmp-libs-5.3.2.2-7.el5.i386.rpm
net-snmp-5.3.2.2-7.el5.i386.rpm
net-snmp-utils-5.3.2.2-7.el5.i386.rpm

4 of them are working fine, the application installed on 10.1.1.10 can query 4 servers but I got 2 Linux Centos that are in a DMZ, and my networking team already opened ports and configured NAT but the SNMP Server 10.1.1.10 is not able to query them how can I check the snmpd is really running apart from service snmpd status? might be related with the DMZ configuration?

View 3 Replies View Related

Red Hat / Fedora :: Unable To Replace Drive In RAID 5 After Filesystem Check Freezes?

Apr 28, 2011

I'm a bit of a Linux newbie, but I did manage to set up the following RAID-5 system:1x 500GB system drive on ATA IDE4x 1TB SATA drives in software RAIDLinux = Fedora 13So here's what happened. I set up the system to send me an email every time the mdadm stat file changed, so it would send me emails when in periodically ran a self-test. I was away and noticed that the self-test was going incredibly slow (usually took 8 hours...was on course for taking 250 days!) A colleague decided to just reboot the system.Afterwards, the system would not boot and, while all 5 drives were connected, would stop at an endlessly scrolling error message of: Code: ata4.01: exception Emask 0x0 SErr 0x0 action 0x0

ata4.01: BMDMA stay 0x64
ata4.01: failed command: READ DMA
ata4.01: (a bunch of hex numbers)

[code]....

View 3 Replies View Related

Ubuntu Installation :: Device Busy Using Image Scan - Reports Could Not Send Command To Scanner Check The Scanner Status

Apr 9, 2010

Have Karmic 9.10 ,Changed from Epson RX595 all in 1 (uses a ton of ink)Got the Lexmark Pro 805 3 in 1 because it says it supports Linux and the ink cartridge only cost $5 downloaded drivers and printer works but using Xsane Image Scanner error reports

'Lexmark_1_0_0:libsub/001/009': Device busy Using Image Scan - reports Could not send command to scanner Check the scanner status. The RX595's scanner drivers had to been manually instatlled,, in the Printer box the Lexmark shows available..

View 3 Replies View Related

Server :: If Server Failed Or Offline - Any Way To Check Status?

Mar 9, 2011

I would like to implement something when a server is offline for whatever reason. For example. I got my own DNS servers and webservers. I would like it if the users goes to www.somedomain.com and the server it is actually on is down for maint. or For whatever not able to respond. What can be done so that if the server isn't able to be contacted that it can point to either a another server or the dns somehow can display a page stating who to contact to report a problem or to let them know its down for maint. And can goto a site to check the status or whatever.

View 7 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved