hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : How to enable DMA on CentOS
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

How to enable DMA on CentOS

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 01-28-2006, 04:42 PM
RackPoint-Morgan RackPoint-Morgan is offline
Can Haz Cheezeburger
 
Join Date: May 2005
Location: Bay Area
Posts: 1,157

How to enable DMA on CentOS


Hey how would I go about enabling DMA on a SATA hard drive in centOS 4.2? I did this a couple months ago but I forgot how and I need to do it again :/. Thanks!

Reply With Quote


Sponsored Links
  #2  
Old 01-28-2006, 05:16 PM
almahdi almahdi is offline
Aspiring Evangelist
 
Join Date: May 2004
Posts: 394
Using CPANEL?

If yes, use /scripts/hdparmon

Other wise, you have to use hdparm to set DMA modes..

Note: I believe Kernel 2.6 enables DMA by default.

Reply With Quote
  #3  
Old 01-28-2006, 05:52 PM
RackPoint-Morgan RackPoint-Morgan is offline
Can Haz Cheezeburger
 
Join Date: May 2005
Location: Bay Area
Posts: 1,157
I ran /scripts/hdparmon and I am also running the 2.6.x kernel. I am not seeing anything about DMA with a df or in cpanel, how do I double check. I know theres an individual command to check the HD.

Reply With Quote
Sponsored Links
  #4  
Old 01-28-2006, 06:04 PM
almahdi almahdi is offline
Aspiring Evangelist
 
Join Date: May 2004
Posts: 394
In kernel 2.6 DMA is enabled by default..


df is to check how much space left/used on your disk ( not DMA )..

However, in WHM, if you go to Server Infomation, You'll find Physical Disks, and see if UDMA is there or not..

Or use hdparm -i /dev/hda

and find out if you have DMA enabled.

Reply With Quote
  #5  
Old 01-28-2006, 06:40 PM
RackPoint-Morgan RackPoint-Morgan is offline
Can Haz Cheezeburger
 
Join Date: May 2005
Location: Bay Area
Posts: 1,157
[root@ds100101 /]# hdparm -i /dev/sda

/dev/sda:
HDIO_GET_IDENTITY failed: Inappropriate ioctl for device

Reply With Quote
  #6  
Old 01-28-2006, 10:08 PM
PerfTuner PerfTuner is offline
Web Hosting Guru
 
Join Date: Jul 2005
Posts: 256
Most likely it's already configured properly.
Do
hdparm -tT /dev/sda
Should give you about 50-60 megs/second for unbuffered reads.

Reply With Quote
  #7  
Old 01-29-2006, 12:33 AM
Cirrostratus Cirrostratus is offline
Web Hosting Master
 
Join Date: Jul 2003
Location: Texas
Posts: 785
Quote:
Originally Posted by Netriox
[root@ds100101 /]# hdparm -i /dev/sda

/dev/sda:
HDIO_GET_IDENTITY failed: Inappropriate ioctl for device
hdparm only works on IDE / ATA devices and will show that error with SCSI or SATA devices.

Thanks,

Jeremy

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Solar VPS Becomes Official Mirror for Centos and Ubuntu Web Hosting News 2013-04-16 11:03:34
Inerol Solutions Launches XEN VPS Hosting Service Web Hosting News 2013-04-08 12:32:06
Web Host Rackspace Adds FreeBSD 9, CentOS 6.3 Support to Cloud Servers Web Hosting News 2012-07-30 12:47:10
Web Host ServerPronto Donates Hosting Resources to CentOS Web Hosting News 2012-07-05 14:06:27
Web Host NetHosting Announces Support for CentOS 6 Web Hosting News 2011-07-05 20:15:20


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?