How to speed up your hard drive on Linux

Linux servers usually use conservative default IDE driver settings that could be significantly slowing down your system. By default they are set to most safe settings guaranteed to work.

To get faster 32-bit file transfer on your hard drive, you can use HDPARM command. It provides a command line interface to various hard disk ioctls supported by the stock Linux ATA/IDE device driver subsystem. Some  options may work correctly only with the latest kernels.  For best results, compile hdparm with the include files from the latest kernel source code.

You can add the following line to your Linux bootup script:

Edit /etc/init.d/boot.local and insert:

hdparm -c3 /dev/hdX*

Where,
* X is your HDD number
* c3 is I/O support set to 3 – turn on 32bit transfers

Personally I did a quick test:

Read more

Possibly Related Posts:


Adding a new Hard Disk in SLES

For any system that can avoid downtime would be a great solution for system admin like me. I have a request from customer ask for additional 10G partition for /u03 due to emergency request in my SuSE Linux Enterprise Server running on top of VMware ESX host.

Adding a new hdd in VMware is pretty simple. Logon to VMware Infrastruce Client -> click edit setting in my SLES VMware guest and add new hard disk.

SSH as superuser into my SLES box and type:

rescan-scsi-bus.sh

That’s simple. I can view my new hard disk using command:

cat /proc/partitions

Read more

Possibly Related Posts:


GUID partition table(GPT)

My friend was told me that he bought a 4TB external storage recently. He used to installed Red Hat Enterprise 4, however he is having a problem mounting a 4TB external storage as '/data' patition.
After the investigation, he found the problem caused by the MBR and the solution is using GUID (globally unique identifier) partition table GPT.

What is MBR? Master Boot Record (MBR), or partition sector, is the 512-byte boot sector that is the first sector ("Sector 0") of a partitioned data storage device such as a hard disk. Basically, MBR disks can support up to four primary partitions, limit to 2TB of larger volume size.

What is GUID PT(GPT)?
In computer hardware, GUID Partition Table (GPT) is a standard for the layout of the partition table on a physical hard disk. It is a part of the Extensible Firmware Interface (EFI) standard proposed by Intel as a replacement for the outdated PC BIOS, one of the few remaining relics of the original IBM PC. EFI uses GPT where BIOS uses a Master Boot Record (MBR). Read more

Possibly Related Posts:


HDD Temperature

Tips: How to monitor Hard Disk Drive Temperature on Linux?

1. Smartmontools
The smartmontools package contains two utility programs (smartctl and smartd) to control and monitor storage systems using the Self-Monitoring, Analysis and Reporting Technology System (SMART) built into most modern ATA and SCSI hard disks. In many cases, these utilities will provide advanced warning of disk degradation and failure.

~Install with RPM:
Download latest binary RPM file from here

login as root
[root@planetmy]# rpm – ivh smartmontools-5.32.i386.rpm
Read more

Possibly Related Posts:


Planet Malaysia

  • Follow us on Twitter


  • web www.planetmy.com