How To Check If The HD Is SSD Drive
Jun 11, 2009how to check using SSH if the HD is SSD drive in a linux box?
View 1 Replieshow to check using SSH if the HD is SSD drive in a linux box?
View 1 Repliesi dont know the device name so how is it possible for me to check the hdd spec and devices... got centos5
View 6 Replies View Related1- i did Os Reload with new Hard drive for "home"
2- data "backups" drive lost
3- replaced the old home drive as "/old drive"
4- " /old drive " is now the secondry drive in my server and it has the all sites usres and evry thing
5- what i need , to trasfer, copy this sites from " /old drive " to "home"
but data center said
The /olddrive/home directory contains the contents that were previously in the /home directory. You can copy files from this directory to any other directory on your server.
The command to copy files in the UNIX environment is the "cp" command.
The user directories in /olddrive/home directory contain the web page files for the users. However, simply copying the contents over will not recreate the users or domain entries in DNS/httpd. If you wish these back you will need to recreate them manually or restore them from backups.
Primary drive (centos/cpanel) is corrupt
The server is displaying these errors when I tried to do an FSCK:
Bad inode IO
ext3-fs error (device(8,3)) IO Failure
I am having a new primary installed and old primary set as 2nd drive. I need to recover the cpanel domain accounts from this 2nd drive after I mount it with the method below:
mkdir /backup
mount /dev/sdb1 /backup
However, how do I actually recover these accounts in an automated process via whm? I've done this before with the same matter (corrupt primary drive, mount as 2nd, etc) but cannot exactly remember the proper steps.
I just purchased a brand new 10K 150GB drive. How can I take an exact copy of my current drive and transfer everything over to the new drive? I think I need to create a snapshop, or mirror it somehow.
What software will do this? I was told trueimage, but its very pricy, is there anything else?
I have a dedicated box and I started getting Input/output errors today.
I tried:
# fsck
fsck 1.40-WIP (14-Nov-2006)
e2fsck 1.40-WIP (14-Nov-2006)
/dev/hda2: recovering journal
fsck.ext3: unable to set superblock flags on /dev/hda2
then I tried:
# fsck -a -t ext3 /dev/hda2
fsck 1.40-WIP (14-Nov-2006)
/dev/hda2: recovering journal
fsck.ext3: unable to set superblock flags on /dev/hda2
My data is backed up, so was going to ask for a reimage, but is this an indication of bad hardware? Should I ask for a replacement drive? Is there anything else I should try on my own before going to the host?
I have a Win2K3 server which has 2 hard drives. I was considering backup options and I thought that I might try mirroring Drive A ==> Drive B. I would think that, then, if Drive A has a hardware failure, I could simply switch Drive B into the Primary slot (A) and the server would continue to hum along as nothing has happened. This would reduce the downtime, hopefully.
I have 3 questions.
1. Is this idea practical (will it work)?
2. What is a good software program to use fto handle the mirroring?
3. Any considerations, warnings, technical advice in regard to this method?
I would like to know how to check load via ssh and check files causing load?
I want the ssh codes for 2 different set of control panels, one with cpanel+whm and other with kloxo+hypervm
and I would also know how to check the files causing the load, such as some files could have been interrupted while processing, so they could be causing load some times, so I want to stop such processes if any are running on the vps on my friends accounts
i recently purchased a VPS from internetvps.com, but im not sure what OS of linux it is. How can you check the OS of the server?
View 10 Replies View RelatedLet's say I have a VPS with 512 MBs of RAM.
How do I check in shell that this is indeed the case?
I read in some places that "top" and "free -m" and such can help.
But these gave me way more than 512.
Here is the output from my "free -m". Total shows here 3886 MBs of MEM??? That is almost 4 Gigs. Please someone explain this.
total used free shared buffers cached
Mem: 3886 3721 164 0 17 542
-/+ buffers/cache: 3161 724
Swap: 6142 2020 4121
Quote:
Nobody Check 1.0.3 Current on cPanel
Tue Mar 20 16:00:02 SGT 2007 on blue.mydomain.com
Server Load: 16:00:02 up 21 days, 14:02, 0 users, load average: 2.73, 2.20, 2.08
Warning: Malicious Nobody Process Found
=========================================
Options: kill bad proc=1 logging lvl=1
SCAN SUMMARY
========================================
Clean Processes: 57
DETECTED Malicious Processes: 1
DETECTION DETAILS
========================================
DETECTION: Process 4221 with name php and path /usr/bin/php
Process ID: 4221 has been killed
Restuls for PID: 4221
total 0
dr-xr-xr-x 3 easyzz easyzz 0 Mar 20 16:00 .
dr-xr-xr-x 291 root root 0 Feb 27 10:01 ..
dr-xr-xr-x 2 easyzz easyzz 0 Mar 20 16:00 attr
-r-------- 1 easyzz easyzz 0 Mar 20 16:00 auxv
-r--r--r-- 1 easyzz easyzz 0 Mar 20 16:00 cmdline
lrwxrwxrwx 1 easyzz easyzz 0 Mar 20 16:00 cwd -> /home/easyzz/public_html
-r-------- 1 easyzz easyzz 0 Mar 20 16:00 environ
lrwxrwxrwx 1 easyzz easyzz 0 Mar 20 16:00 exe -> /usr/bin/php
dr-x------ 2 easyzz easyzz 0 Mar 20 16:00 fd
-rw-r--r-- 1 easyzz easyzz 0 Mar 20 16:00 loginuid
-r-------- 1 easyzz easyzz 0 Mar 20 16:00 maps
-rw------- 1 easyzz easyzz 0 Mar 20 16:00 mem
-r--r--r-- 1 easyzz easyzz 0 Mar 20 16:00 mounts
lrwxrwxrwx 1 easyzz easyzz 0 Mar 20 16:00 root -> /
-r--r--r-- 1 easyzz easyzz 0 Mar 20 16:00 stat
-r--r--r-- 1 easyzz easyzz 0 Mar 20 16:00 statm
-r--r--r-- 1 easyzz easyzz 0 Mar 20 16:00 status
dr-xr-xr-x 3 easyzz easyzz 0 Mar 20 16:00 task
-r--r--r-- 1 easyzz easyzz 0 Mar 20 16:00 wchan
Netstat:
Environ:
Hello, I got this notification from the 'Nobody Check'.
Is there anything I need to be aware of? ..
confirm this is only 1gig of ram?
Mem: 1034096 985128 48968 0 157944 559136
-/+ buffers/cache: 268048 766048
Swap: 2040212 160 2040052
Total: 3074308 985288 2089020
I've got another server comming online shortly which will be used for shared hosting. A Q9550, 8 GB DDRs, 2 1 TB SATA drives in RAID 1. I know everyone has different opinions and reasons for their partitioning decisions, so I wanted to get a feel on how you would partition the drives durring setup, and why you would do it the way you do.
View 4 Replies View RelatedI need your opinion on the best drive configuration for my Dell poweredge 2850 dual 3.0.
I have 6 x 72gb scsi 10k hds, and perc4 raid in server. My os will be Cent os with 4 gigs of ram installed. I want to try to make this server as redundant as possible.
Offsite backup is also in plans. I’m going to use this server for a few sites (5 - 10) that are db driven, and host small video clips as Dolphin Smart Community. Server will be colocated. Please let me know if missed something .
how they sell those usb hard drives that connect to the computer that can hold like 100 gb's.....
well if i hook up one of those external hard drives to my server can i use it as webspace for users?
im assembling my server now....waiting on the 90degree connectors. It is as follows:
SUPERMICRO CSE-512L-260B Black 14" Mini 1U Server Case
ASUS M2N-MX SE Plus AM2+/AM2 NVIDIA GeForce 6100 Micro ATX AMD Motherboard
AMD Athlon 64 X2 4200+ Brisbane 2.2GHz Socket AM2 65W Dual-Core Processor
Dynatron A48G 70mm 2 Ball CPU Cooler - Retail
2gb ddr2 6400 ram
Seagate 500gb 7200.11 32mb hdd
WD 37gb raptor 10k rpm
the wd drive was lying around the house so i figured id add it since i had an extra slot and figured the speed wouldnt hurt.
My question is....how should i partition the drives.? I have 500+gb of space on 2 hard drives. I plan on using centos 5.1 and am downloading the iso now.
Now iam useing 320Gig SATA harddrive as my primary hard drive,i dont use 2rd harddrive,iam haveing pure download site,in TOP command 4.5%wa is this bit high? or can i add 2rd harddisk and move some data to there to reduce wa,but my load of the server is fine or any way to reduce wa?
View 1 Replies View RelatedI am running a Fedora box with cPanel...
The hard drive has a capacity of 36 gigs and there's currently 18 GIGs of data on it.
When I do "df -h", it indicates that / has 85% of it's capacity in use. When I run "df -hi" it shows that / has 58% of it's inodes in use.
Is there anything I can do to increase /'s capacity? Can I free up some inodes? All that / contains are folders.
Just got this server setup, getting some smart errors. Here's a copy of the trouble ticket I posted to the host, they said "If you read through the documentation for smartd you will find that from the results you pasted, your hard disk passed every test. We can give you another hard disk if you want but we will have to charge you 3 credits for the reinstall of the operating system." I could be wrong, maybe everything's fine, but the fact that there are unreadable sectors reported has me a little worried.
Quote:
What is the nature of the problem?
New server, hard drive failing smart tests
What is the error message?
Sep 12 17:51:43 sls-db8p19 smartd[3312]: Device: /dev/hda, found in smartd database.
Sep 12 17:51:43 sls-db8p19 smartd[3312]: Device: /dev/hda, is SMART capable. Adding to "monitor" list.
Sep 12 17:51:43 sls-db8p19 smartd[3312]: Monitoring 1 ATA and 0 SCSI devices
Sep 12 17:51:43 sls-db8p19 smartd[3312]: Device: /dev/hda, 2 Currently unreadable (pending) sectors
Sep 12 17:51:43 sls-db8p19 smartd[3312]: Sending warning via mail to root ...
Sep 12 17:51:43 sls-db8p19 smartd[3312]: Warning via mail to root: successful
Sep 12 17:51:43 sls-db8p19 smartd[3312]: Device: /dev/hda, 2 Offline uncorrectable sectors
Sep 12 17:51:43 sls-db8p19 smartd[3312]: Sending warning via mail to root ...
Sep 12 17:51:44 sls-db8p19 smartd[3312]: Warning via mail to root: successful
=== START OF READ SMART DATA SECTION ===
SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000f 066 062 006 Pre-fail Always - 78282665
3 Spin_Up_Time 0x0003 098 097 000 Pre-fail Always - 0
4 Start_Stop_Count 0x0032 100 100 020 Old_age Always - 19
5 Reallocated_Sector_Ct 0x0033 100 100 036 Pre-fail Always - 2
7 Seek_Error_Rate 0x000f 075 060 030 Pre-fail Always - 29797813
9 Power_On_Hours 0x0032 099 099 000 Old_age Always - 1175
10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 100 100 020 Old_age Always - 27
194 Temperature_Celsius 0x0022 030 048 000 Old_age Always - 30
195 Hardware_ECC_Recovered 0x001a 066 062 000 Old_age Always - 78282665
197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 2
198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 2
199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 0
200 Multi_Zone_Error_Rate 0x0000 100 253 000 Old_age Offline - 0
202 TA_Increase_Count 0x0032 100 253 000 Old_age Always - 0
Was it working before?
No, brand new server
If it was working before, did you do anything before this error occurred?
N/A
Have you done anything after this error occurred?
I use the second hard drive as backup drive. Today as normal i check the backup directory and try to use ls command. I got this warning
[root@xxxxxx backup]# ls
ls: reading directory .: Input/output error
I want to start selling vps to customers but don't want to over load my existing drive/ server would it be beneficial to sell vps off a second drive so im keeping my shared hosting separate from the vps hosting
View 5 Replies View RelatedMy server has 2 drives,one is backup drive. The backup drive seem to be failing so i decide to remove it. However when i remove it,the system can not boot. ANyone got this issue?
View 14 Replies View RelatedI'm running CSF on a Cpanel server and have questions about new features in CSF
Apache Check
Check Apache weak SSL/TLS Ciphers (SSLCipherSuite)
Results
Cipher list []. Due to weaknesses in the SSLv2 cipher you should disable SSLv2 in WHM > Apache Configuration > Global Configuration > SSLCipherSuite > Add -SSLv2 to SSLCipherSuite and/or remove +SSLv2. Do not forget to Save AND then Rebuild Configuration and Restart Apache, otherwise the changes will not take effect in httpd.conf
Can someone explain this in laymen terms? I know this is new in Cpanel. I'm already running Apache 2.2, PHP 5.2.9 with suPHP enabled and mod_security as well (these rules: [url]
Also, what exactly are these CSF checks?
Check csf PT_SKIP_HTTP option
This option disables checking of processes running under apache and can limit false-positives but may then miss running exploits
Check csf SAFECHAINUPDATE option
This option closes a window of opportunity that opens when dynamic chain updates occur
How can we be sure that we are facing ddos attacks any good command which will make me 100 percent sure that there is ddos attacks on server ?
View 12 Replies View RelatedIs it possible to run a hardware check on my VPS?
For instance DFT (Drive Fitness Test) or Memtest?
I'm running HyperVM and WHM.
I have one client who cannot see my server and all domains on it. I;ve checked if his IP is block or not and I didn't see his IP on the apf deny host file. How to you check IP if it can see my server? I just want to make sure before calling the ISP.
View 3 Replies View RelatedI used this script
[url]
Now, via command line how can I check that ALL these work and are enabled for example? I'm not talking about visually seeing the files there, I mean actually enabled.
I recently added ubl.unsubscore.com to my email server. I only have that one and the SpamHaus (Zen) activated.
I am able to see the SpamHaus listed on DNSStuff and on SpamHaus website that the person trying to email me is not listed.
So I have to think that it is ubl.unsubscore.com list. But what domain name can I enter into the browser to check this list? www.unsubscore.com does not work. A little searching led me to lashback, but the IP is not listed there either.
You know, maybe, how to check if my provider has bgp4?
Via unix command or somnething...
How can I check the logs to see if there are any errors? Can I check this via WHM?
View 6 Replies View RelatedFew days ago I had a problem with my httpd. I finally nailed it down and came on a conclusion that my MaxClients were set too low so I had to set it to high number and it seems like that the proble of "Network Timeout" had been resolved but now the problem is still continued. Here is what I think is wrong
Cpu(s): 1.5%us, 0.4%sy, 0.0%ni, 96.7%id, 0.3%wa, 0.3%hi, 0.8%si, 0.0%st
The 96.7%id always stays above 90% is that bad and how do i fix it?