PCLinuxOS-Forums
News: ...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
 
*
Welcome, Guest. Please login or register. May 27, 2012, 12:42:12 PM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: [SOLVED] Seagate GoFlex external hdd - idle time  (Read 702 times)
amidamaru
Jr. Member
**
Offline Offline

Posts: 12


« on: August 09, 2011, 08:55:01 AM »

Hi,

I have an external drive  Seagate GoFlex connected to my laptop over a eSATA cable.

I run from it a virtual machine VmWARE.

After an inactivity time period I found the virtual machine stacked and act like the external hdd just entered in the sleeping mode.

The only solution for is to perform a cold reset to the whole system which is not the happiest moment Sad

There is a possibility to debug this aspect or to modify the external hdd idle time parameters and deactivate this feature?  Huh

I've founded this utility but is for parking the hdd feature not for reverse situation. Maybe it helps other people Smiley

http://hd-idle.sourceforge.net/

Thanks!

Logged
menotu
PCLinuxOS Tester
Super Villain
*******
Offline Offline

Posts: 11991

┌∩┐(◕_◕)┌∩┐


« Reply #1 on: August 09, 2011, 09:12:14 AM »

ataidle is also in the repos - description:

A utility to manage ATA drives

ATAidle is a utility to set the power management features of ATA hard drives in FreeBSD and Linux, including idle and standby timeouts, APM, and acoustic level settings.
Logged

If you can keep you head while all around you are losing theirs, then you have misunderstood the situation.

PCLinuxOS 32bit & 64bit; 3.2.17bfs kernel, KDE 4.8.3; nvidia 295.53, Athlon 64 X2 4200+; 4GB Ram; NVidia GeForce 8400GS 1GB; x.org 1.10.4 ; 500GB/320GB
amidamaru
Jr. Member
**
Offline Offline

Posts: 12


« Reply #2 on: August 09, 2011, 12:24:46 PM »

ataidle is also in the repos - description:

A utility to manage ATA drives

ATAidle is a utility to set the power management features of ATA hard drives in FreeBSD and Linux, including idle and standby timeouts, APM, and acoustic level settings.


Thanks but still don't understand how should I use it. The help output for is:

"
ataidle
ataidle version 2.5

usage:
ataidle [-h] [-i] [-s] [-o] [-I standby_mins] [-S standby_mins]
        [-A aam] [-P apm] device

Options:
-h              display this help
-I              enter idle mode and set the standby timer (minutes)
-i              enter idle mode
-S              enter standby mode and set the standby timer (minutes)
-s              enter standby mode
-o              enter sleep mode
-A              set the AAM (acoustic) level (1-127)
-P              set the APM (power) level, (1-254)
device          the device node e.g. /dev/ada0

standby_mins is in minutes and has a range of 1-21, then 30-330 in 30
minute steps.

If no options are specified, information about the device will be displayed.
"
 Huh

Otherwise  I founded this one: hdparm but despite that I have Seagate according with the following coomand :

"hdparm -i /dev/sdb

/dev/sdb:

 Model=Seagate FreeAgent GoFlex, FwRev=0110, SerialNo=NA0B776K
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
 BuffType=unknown, BuffSize=16384kB, MaxMultSect=16, MultSect=off
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=1953525168
 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4
 DMA modes:  mdma0 mdma1 mdma2
 UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6
 AdvancedPM=no WriteCache=enabled
 Drive conforms to: unknown:  ATA/ATAPI-4,5,6,7
* signifies the current active mode

"

The following option  hdparm -Z /dev/sdb doesn't work and the output of was:

"
disabling Seagate auto powersaving mode
 HDIO_DRIVE_CMD(seagatepwrsave) failed: Input/output error

"

Bottom line I believe this hdd is already setup for non usage of Advanced Power Management so actually my problem is solved without doing anything Smiley

But for others who need some hdd CLI configuration / interrogation tools those ones may be useful. Smiley 

Logged
pags
Hero Member
*****
Offline Offline

Posts: 1951


Keep it clean.


« Reply #3 on: August 12, 2011, 07:49:35 AM »

Have you tried running
Code:
ataidle /dev/sdb
This may give you better information.

hdparm is and older program that was common when PATA drives were referenced as hdx.  Now, the kernel flags all drives as sdx...
Logged
amidamaru
Jr. Member
**
Offline Offline

Posts: 12


« Reply #4 on: August 12, 2011, 08:45:05 AM »

Have you tried running
Code:
ataidle /dev/sdb
This may give you better information.

hdparm is and older program that was common when PATA drives were referenced as hdx.  Now, the kernel flags all drives as sdx...

Hi,

Thanks for the tip Smiley Actually I have tried and the output was:

"
ataidle /dev/sdb
Model:                  Seagate FreeAgent GoFlex
Serial:                 NA0B776K
Firmware Rev:           0110
ATA revision:           ATA-8
LBA 48:                 yes
Geometry:               16383 cyls, 16 heads, 63 spt
Capacity:               931GB
SMART Supported:        yes
SMART Enabled:          yes
APM Supported:          no
AAM Supported:          yes
AAM Enabled:            yes
AAM Value:              81
Vendor Recommended AAM: 81

"

In the end I have founded a very good official vmware workstation tweak doc which helps me a lot and somehow solved my problem. Smiley


Logged
pags
Hero Member
*****
Offline Offline

Posts: 1951


Keep it clean.


« Reply #5 on: August 12, 2011, 08:49:05 AM »

That's good.

You should mark your original post as [SOLVED].

Also, a link to your solution might help anyone searching in the future with similar issue(s).
 Wink
Logged
amidamaru
Jr. Member
**
Offline Offline

Posts: 12


« Reply #6 on: August 12, 2011, 09:40:54 AM »

Ahh...sure  Smiley

The related doc can be found here and can be applied in any circumstances. Wink

http://www.vmware.com/pdf/WS6_Performance_Tuning_and_Benchmarking.pdf
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM