Skip to main content

Posts

Showing posts from 2015

Hdparm, Load_Cycle_Count and Samsung HM641JI and Seagate ST320LT022

Previously i have written about controlling the increment of load cycle count of my Samsung harddrive running Fedora and LMDE . In this post, i must admit i have included many redundant steps to tune the harddrive setting  to control Load_Cycle_Count. In this series, i am writing further about controlling the load cycle count of my external Seagate harddrive to ensure that the harddrive do not suffer an early death. In this first section, i am running OpenSUSE Leap 42.1  on my external Seagate harddrive. As this new hybrid consumer-enterprise distribution (i.e OpenSUSE Leap ) works like Fedora   (another RPM-based dristribution) , I created a systemd service named hdsilence.service to run at boot up. This service allows me to spin down my idling internal harddrive and keep my external harddrive spinning. To refresh our memory, we execute the command : ls /dev/disk/by-id/*   to retrieve the model and serial of all harddrives attached to our workstation. Below is the conte

Hdparm and Samsung Hard disk {ata-SAMSUNG_HM641JI}

I have written this article to consolidate what i have implemented to reduce the  Load_Cycle_Count of the hard disk. As Linux is known to be affected by the Advanced Power Management issue, i try (out of parnoia as my hard disk hit Load_Cycle_Count of 72000 in a short period of 4 months) to reduce the growth rate of the Load_Cycle_Count by implementing the steps below after reading pages of forum from  Fedora , Ubuntu , Arch and  Debian , to a lesser extent, Gentoo . In Fedora I implemented the following configuration in /etc/udisks2/"mydevice".conf: # See udisks(8) for the format of this file. [ATA] WriteCacheEnabled=true StandbyTimeout=253 I recommend that the name for "mydevice" to be altered to reflect the model and serial number of your harddisk using the following command: udisksctl status #The following step  (adding rc.local configuration)  may be obsolete and is optional for modern linux system running Systemd ;   I added rc.local con

Installing SUSE Imagewriter on Linux Mint Debian Edition

The original title for this post is "Installing SUSE Imagewriter on Ubuntu LTS". Download Zip, save to preferred directory:~/Downloads However due to data loss of the blog, i decide to rewrite this article using Linux Mint Debian Editi on ( a similar distribution to Ubuntu ). First we have to download the source from Github (https://github.com/openSUSE/imagewriter) Download ZIP, save to preferred directory: ~/Downloads Extract imagewriter-master.zip in /home/username/Downloads and in terminal run the command: cd /home/username/Downloads/imagewriter-master Install the latest version of qt4-qmake and libqt4-dev by running: sudo apt-get update && sudo apt-get install qt4-qmake libqt4-dev Instructions for Linux Installation on github Follow the instructions in README.md by running the command: qmake DEFINES=USEHAL imagewriter.pro  Follow by the command: qmake DEFINES=USEUDISKS imagewriter.pro Next run the command: qmake DEFINE