Re: Parking disk drive heads

2005-08-27 Thread m . ehinger
Thanks for that works well.

Is there a way to lock the drive in that state for some seconds?

What if an read/write request resumes the drive right after it was unloaded and 
we are still in a shock situation, if the drive is
resumed before we hit the ground?

Thanks

Maik







 Matthew N. Dodd [EMAIL PROTECTED]  



 21.08.2005 09:12   
 An 
   [EMAIL 
PROTECTED]

  Kopie 
   
freebsd-hackers@FreeBSD.ORG  

  Thema 
   Re: Parking disk 
drive heads 
















On Wed, 17 Aug 2005 [EMAIL PROTECTED] wrote:
 which is the correct way to park the hd head?

The documentation will refer to this operation as Unload.

Standby (0xE2) or Standby Immediate (0xE0) would be the only way I can see
to do this.  (Sleep performs an unload as well, but is not useful for your
purposes.)

Some of the low power idle modes supported by the Hitachi 5k100 mention
head retraction to the ramp position, which might be of use provided the
feature is widely supported on new hardware.

Many drives support an Emergency Unload but it only appears to be
activated by power failure.

Anyhow, here is a snippet that should get you going (on 6.x/CURRENT):

%%%

#include sys/ata.h
...

 struct ata_ioc_request req;
 int fd;

 fd = open(/dev/ad0, O_RDONLY);
 memset(req, 0, sizeof(struct ata_ioc_request));
 req.u.ata.command = ATA_STANDBY_IMMEDIATE;
 req.flags = ATA_CMD_CONTROL;
 req.timeout = 5;
 ioctl(fd, IOCATAREQUEST, req);
 close(fd);

--
10 40 80 C0 00 FF FF FF FF C0 00 00 00 00 10 AA AA 03 00 00 00 08 00


___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Parking disk drive heads

2005-08-26 Thread Matthew N. Dodd

On Fri, 26 Aug 2005 [EMAIL PROTECTED] wrote:

Is there a way to lock the drive in that state for some seconds?


Not currently.

It looks like the ATA driver will need to be extended to allow devices to 
be frozen and to expose a mechanism for submitting immediate commands, 
similar to how ATA_STALL_QUEUE works.


--
10 40 80 C0 00 FF FF FF FF C0 00 00 00 00 10 AA AA 03 00 00 00 08 00
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Parking disk drive heads

2005-08-22 Thread M. Warner Losh
In message: [EMAIL PROTECTED]
Hans Petter Selasky [EMAIL PROTECTED] writes:
: On Sunday 21 August 2005 01:12, M. Warner Losh wrote:
:  In message: [EMAIL PROTECTED]
: 
:  Hans Petter Selasky [EMAIL PROTECTED] writes:
:  : On Saturday 20 August 2005 10:18, Mike Silbersack wrote:
:  :  On Fri, 19 Aug 2005, Doug Ambrisko wrote:
:  :   Flash is nice but it has some issues.  Atleast dropping it isn't one!
:  :  
:  :   Doug A.
:  : 
:  :  I'd be really happy if I could get a USB flash drive to last more than
:  :  8 months.  Luckily, I started weekly backups after the first failure. 
:  :  That helped a lot when the second failure happened.
:  :
:  : Flash drives does usually not last more than 1 writes, per bit, from
:  : what I know. Probably you need some kind of special file-system that
:  : moves the files around as the write quoute gets used up! Eventually the
:  : size of the disk will reach zero, and you have to move the files
:  : elsewhere :-) But this is probably off topic.
: 
:  Actually, 10,000 writes per bit is one or two orders of magnitude too
:  low these days.  It was more typical for the Linear Flash PCMCIA cards
:  from 10 years ago.  Today, typically flash devices are good for more
:  like 100,000 or 500,000 writes per cell, and all the fobs you'd buy
:  these days have built-in wear averaging.  I've tried three times now
:  to wear out a flash by writing an incrementing counter to a single
:  location only to give up after weeks of hammering due to external
:  factors (power failure, network failure, etc).
: 
: Are you sure that the flash drive is not caching the writes in RAM?

Yes.  I'm 100% positive.  These devices do not have RAM.

Warner
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Parking disk drive heads

2005-08-21 Thread Matthew N. Dodd

On Wed, 17 Aug 2005 [EMAIL PROTECTED] wrote:

which is the correct way to park the hd head?


The documentation will refer to this operation as Unload.

Standby (0xE2) or Standby Immediate (0xE0) would be the only way I can see 
to do this.  (Sleep performs an unload as well, but is not useful for your 
purposes.)


Some of the low power idle modes supported by the Hitachi 5k100 mention 
head retraction to the ramp position, which might be of use provided the 
feature is widely supported on new hardware.


Many drives support an Emergency Unload but it only appears to be 
activated by power failure.


Anyhow, here is a snippet that should get you going (on 6.x/CURRENT):

%%%

#include sys/ata.h
...

struct ata_ioc_request req;
int fd;

fd = open(/dev/ad0, O_RDONLY);
memset(req, 0, sizeof(struct ata_ioc_request));
req.u.ata.command = ATA_STANDBY_IMMEDIATE;
req.flags = ATA_CMD_CONTROL;
req.timeout = 5;
ioctl(fd, IOCATAREQUEST, req);
close(fd);

--
10 40 80 C0 00 FF FF FF FF C0 00 00 00 00 10 AA AA 03 00 00 00 08 00
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Parking disk drive heads

2005-08-20 Thread Mike Silbersack


On Fri, 19 Aug 2005, Doug Ambrisko wrote:


Flash is nice but it has some issues.  Atleast dropping it isn't one!

Doug A.


I'd be really happy if I could get a USB flash drive to last more than 8 
months.  Luckily, I started weekly backups after the first failure.  That 
helped a lot when the second failure happened.


The weird ways flash goes bad really makes me want to run something with 
full checksums (like ZFS) on it.  Alas, even if I hacked up UFS to support 
such features, I suspect the W2K machines at work would be unhappy with 
it. :)


I wonder if I should hack together a script that does MD5s during the 
backup process and notifies me if untouched files start changing...


Mike Silby Silbersack
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Parking disk drive heads

2005-08-20 Thread Hans Petter Selasky
On Saturday 20 August 2005 10:18, Mike Silbersack wrote:
 On Fri, 19 Aug 2005, Doug Ambrisko wrote:
  Flash is nice but it has some issues.  Atleast dropping it isn't one!
 
  Doug A.

 I'd be really happy if I could get a USB flash drive to last more than 8
 months.  Luckily, I started weekly backups after the first failure.  That
 helped a lot when the second failure happened.


Flash drives does usually not last more than 1 writes, per bit, from what 
I know. Probably you need some kind of special file-system that moves the 
files around as the write quoute gets used up! Eventually the size of the 
disk will reach zero, and you have to move the files elsewhere :-) But this 
is probably off topic.

--HPS
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Parking disk drive heads

2005-08-20 Thread M. Warner Losh
In message: [EMAIL PROTECTED]
Hans Petter Selasky [EMAIL PROTECTED] writes:
: On Saturday 20 August 2005 10:18, Mike Silbersack wrote:
:  On Fri, 19 Aug 2005, Doug Ambrisko wrote:
:   Flash is nice but it has some issues.  Atleast dropping it isn't one!
:  
:   Doug A.
: 
:  I'd be really happy if I could get a USB flash drive to last more than 8
:  months.  Luckily, I started weekly backups after the first failure.  That
:  helped a lot when the second failure happened.
: 
: 
: Flash drives does usually not last more than 1 writes, per bit, from what 
: I know. Probably you need some kind of special file-system that moves the 
: files around as the write quoute gets used up! Eventually the size of the 
: disk will reach zero, and you have to move the files elsewhere :-) But this 
: is probably off topic.

Actually, 10,000 writes per bit is one or two orders of magnitude too
low these days.  It was more typical for the Linear Flash PCMCIA cards
from 10 years ago.  Today, typically flash devices are good for more
like 100,000 or 500,000 writes per cell, and all the fobs you'd buy
these days have built-in wear averaging.  I've tried three times now
to wear out a flash by writing an incrementing counter to a single
location only to give up after weeks of hammering due to external
factors (power failure, network failure, etc).

Warner
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Parking disk drive heads

2005-08-20 Thread Eric Anderson

M. Warner Losh wrote:

In message: [EMAIL PROTECTED]
Hans Petter Selasky [EMAIL PROTECTED] writes:
: On Saturday 20 August 2005 10:18, Mike Silbersack wrote:
:  On Fri, 19 Aug 2005, Doug Ambrisko wrote:
:   Flash is nice but it has some issues.  Atleast dropping it isn't one!
:  
:   Doug A.
: 
:  I'd be really happy if I could get a USB flash drive to last more than 8
:  months.  Luckily, I started weekly backups after the first failure.  That
:  helped a lot when the second failure happened.
: 
: 
: Flash drives does usually not last more than 1 writes, per bit, from what 
: I know. Probably you need some kind of special file-system that moves the 
: files around as the write quoute gets used up! Eventually the size of the 
: disk will reach zero, and you have to move the files elsewhere :-) But this 
: is probably off topic.


Actually, 10,000 writes per bit is one or two orders of magnitude too
low these days.  It was more typical for the Linear Flash PCMCIA cards
from 10 years ago.  Today, typically flash devices are good for more
like 100,000 or 500,000 writes per cell, and all the fobs you'd buy
these days have built-in wear averaging.  I've tried three times now
to wear out a flash by writing an incrementing counter to a single
location only to give up after weeks of hammering due to external
factors (power failure, network failure, etc).


As a data point, I've been using 64mb compact flash cards (rated at 100k 
writes) in about 100 Soekris boxes (running FreeBSD) for about 4 years, 
and they are all still working, except for one.  Now, most compact flash 
cards are rated at 1 million writes.


And yes, I'm logging to the card and everything..

Eric



--

Eric AndersonSr. Systems AdministratorCentaur Technology
Anything that works is better than anything that doesn't.

___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Parking disk drive heads

2005-08-20 Thread M. Warner Losh
In message: [EMAIL PROTECTED]
Eric Anderson [EMAIL PROTECTED] writes:
: M. Warner Losh wrote:
:  In message: [EMAIL PROTECTED]
:  Hans Petter Selasky [EMAIL PROTECTED] writes:
:  : On Saturday 20 August 2005 10:18, Mike Silbersack wrote:
:  :  On Fri, 19 Aug 2005, Doug Ambrisko wrote:
:  :   Flash is nice but it has some issues.  Atleast dropping it isn't one!
:  :  
:  :   Doug A.
:  : 
:  :  I'd be really happy if I could get a USB flash drive to last more than 8
:  :  months.  Luckily, I started weekly backups after the first failure.  
That
:  :  helped a lot when the second failure happened.
:  : 
:  : 
:  : Flash drives does usually not last more than 1 writes, per bit, from 
what 
:  : I know. Probably you need some kind of special file-system that moves the 
:  : files around as the write quoute gets used up! Eventually the size of the 
:  : disk will reach zero, and you have to move the files elsewhere :-) But 
this 
:  : is probably off topic.
:  
:  Actually, 10,000 writes per bit is one or two orders of magnitude too
:  low these days.  It was more typical for the Linear Flash PCMCIA cards
:  from 10 years ago.  Today, typically flash devices are good for more
:  like 100,000 or 500,000 writes per cell, and all the fobs you'd buy
:  these days have built-in wear averaging.  I've tried three times now
:  to wear out a flash by writing an incrementing counter to a single
:  location only to give up after weeks of hammering due to external
:  factors (power failure, network failure, etc).
: 
: As a data point, I've been using 64mb compact flash cards (rated at 100k 
: writes) in about 100 Soekris boxes (running FreeBSD) for about 4 years, 
: and they are all still working, except for one.  Now, most compact flash 
: cards are rated at 1 million writes.
: 
: And yes, I'm logging to the card and everything..

The biggest failure mode of CF cards that we've seen in our boxes is
static zapage.  We get more CF cards back that didn't fsck due to a
power failure, etc than we do worn out cards, or even static zapped
ones.  The static zapping usually happens when we're popping the old
one out and a new one in...  We think we may have seen one power surge
related failure, but we're unsure.  We've fielded about 1000 CF cards
over the past 6 years...

Warner
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Parking disk drive heads

2005-08-20 Thread Eric Anderson

M. Warner Losh wrote:

In message: [EMAIL PROTECTED]
Eric Anderson [EMAIL PROTECTED] writes:
: M. Warner Losh wrote:
:  In message: [EMAIL PROTECTED]
:  Hans Petter Selasky [EMAIL PROTECTED] writes:
:  : On Saturday 20 August 2005 10:18, Mike Silbersack wrote:
:  :  On Fri, 19 Aug 2005, Doug Ambrisko wrote:
:  :   Flash is nice but it has some issues.  Atleast dropping it isn't one!
:  :  
:  :   Doug A.
:  : 
:  :  I'd be really happy if I could get a USB flash drive to last more than 8
:  :  months.  Luckily, I started weekly backups after the first failure.  
That
:  :  helped a lot when the second failure happened.
:  : 
:  : 
:  : Flash drives does usually not last more than 1 writes, per bit, from what 
:  : I know. Probably you need some kind of special file-system that moves the 
:  : files around as the write quoute gets used up! Eventually the size of the 
:  : disk will reach zero, and you have to move the files elsewhere :-) But this 
:  : is probably off topic.
:  
:  Actually, 10,000 writes per bit is one or two orders of magnitude too

:  low these days.  It was more typical for the Linear Flash PCMCIA cards
:  from 10 years ago.  Today, typically flash devices are good for more
:  like 100,000 or 500,000 writes per cell, and all the fobs you'd buy
:  these days have built-in wear averaging.  I've tried three times now
:  to wear out a flash by writing an incrementing counter to a single
:  location only to give up after weeks of hammering due to external
:  factors (power failure, network failure, etc).
: 
: As a data point, I've been using 64mb compact flash cards (rated at 100k 
: writes) in about 100 Soekris boxes (running FreeBSD) for about 4 years, 
: and they are all still working, except for one.  Now, most compact flash 
: cards are rated at 1 million writes.
: 
: And yes, I'm logging to the card and everything..


The biggest failure mode of CF cards that we've seen in our boxes is
static zapage.  We get more CF cards back that didn't fsck due to a
power failure, etc than we do worn out cards, or even static zapped
ones.  The static zapping usually happens when we're popping the old
one out and a new one in...  We think we may have seen one power surge
related failure, but we're unsure.  We've fielded about 1000 CF cards
over the past 6 years...


Cool, great info - thanks.  If I may, what are these cards doing? 
(anything cool?) - or at least, what company are you working for that 
uses this many for some purpose?  (simply curiousity)


Eric




--

Eric AndersonSr. Systems AdministratorCentaur Technology
Anything that works is better than anything that doesn't.

___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Parking disk drive heads

2005-08-20 Thread Don Lewis
On 20 Aug, Eric Anderson wrote:

 As a data point, I've been using 64mb compact flash cards (rated at 100k 
 writes) in about 100 Soekris boxes (running FreeBSD) for about 4 years, 
 and they are all still working, except for one.  Now, most compact flash 
 cards are rated at 1 million writes.
 
 And yes, I'm logging to the card and everything..

I've been using a laptop drive in my firewall and mail relay box for
noise and power consumption reasons.  The drive specs only give an
expected lifetime of a few years when running 24x7, and I just had to
replace a drive that had been in service about four years.  I've given
some thought to using flash, but I'm concerned about the number of
writes, especially since a mail relay (maybe 1K messages/day) is going
to be somewhat write intensive.  What would be nice is a flash-backed md
device that would flush its contents to flash on power fail.

___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Parking disk drive heads

2005-08-20 Thread Eric Anderson

Don Lewis wrote:

On 20 Aug, Eric Anderson wrote:


As a data point, I've been using 64mb compact flash cards (rated at 100k 
writes) in about 100 Soekris boxes (running FreeBSD) for about 4 years, 
and they are all still working, except for one.  Now, most compact flash 
cards are rated at 1 million writes.


And yes, I'm logging to the card and everything..



I've been using a laptop drive in my firewall and mail relay box for
noise and power consumption reasons.  The drive specs only give an
expected lifetime of a few years when running 24x7, and I just had to
replace a drive that had been in service about four years.  I've given
some thought to using flash, but I'm concerned about the number of
writes, especially since a mail relay (maybe 1K messages/day) is going
to be somewhat write intensive.  What would be nice is a flash-backed md
device that would flush its contents to flash on power fail.


If you are running 6.0 or 7.0-CURRENT, you should check out gjournal 
recently released from a SoC project.  It can do some of this.  Maybe 
another possible solution would be a memory backed md device unioned 
over a flash device?   Anyhow, a cheap solution would be 2 flash devices 
mirrored with gmirror.  By the time it burns up, you'll be able to swap 
it with the same size for half the price, and if you put them on 
different IDE channels or use usb, you can do it live.


Eric



--

Eric AndersonSr. Systems AdministratorCentaur Technology
Anything that works is better than anything that doesn't.

___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Parking disk drive heads

2005-08-19 Thread Bill Vermillion
Bits dont fail me now! was what
[EMAIL PROTECTED] muttered as he hastily typed
this on Fri, Aug 19, 2005 at 12:00 :

1. Re: Parking disk drive heads (Glenn Dawson)

 Message: 1
 Date: Wed, 17 Aug 2005 12:47:32 -0700
 From: Glenn Dawson [EMAIL PROTECTED]
 Subject: Re: Parking disk drive heads

 At 11:32 PM 8/16/2005, [EMAIL PROTECTED] wrote:
 Hi,

 which is the correct way to park the hd head?

 Seagate drives park the heads automatically when they are turned
 off. As far as I know, this applies to other manufacturer's
 drives as well.


To which he replied:

 Message: 2
 Date: Thu, 18 Aug 2005 08:14:47 +0200
 From: [EMAIL PROTECTED]
 Subject: Re: Parking disk drive heads

 I don't want to park them on turn off. I want to park them
 before a possible strong shock which could cause damage and
 unpark them afterwards.

The setups for parking heads pretty much went away when the move
from MFM drive to ATA technology.

And if your are worried about a shock that could damage the drive,
you will probably lose your computer at the same time.

Check the technical specs on current drives.  You will see that
most will handled well over 100G shocks when not running, and
usually far over 20G in operational mode.  Considering that
20G to the human body usually means death you aren't going to have
to worry about losing drives to operating bumps unless you have a
habit of dropping them in parachutes from airplanes. :-)

I have ruined drives with a bad bump in the past - but those
were MFM drives - and that happened in the mid-to-late 1980s.

The first HDs I saw could withstand less than 1G in shipping so
the 5.25 Shugart ST-505 drives - $25090 for 5MB [that is MegaByte]
were shipped in foam padded boxes a bit larger than the drive, and
these boxes were suspended by springs from the corners of a much
larger shipping box - in the 18x18 size category.

IOW - unless you are running some early ATA drives, shocks when
running are something you don't have to really worry about, unless
you plan to shove the entire computer off the desk when it is
running with the power on.

Bill

[The orignal post was in of freebsd-hackers Digest, Vol 126, Issue 5]



-- 
Bill Vermillion - bv @ wjv . com
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Parking disk drive heads

2005-08-19 Thread Brooks Davis
On Fri, Aug 19, 2005 at 10:11:30AM -0400, Bill Vermillion wrote:
 Bits dont fail me now! was what
 [EMAIL PROTECTED] muttered as he hastily typed
 this on Fri, Aug 19, 2005 at 12:00 :
 
 1. Re: Parking disk drive heads (Glenn Dawson)
 
  Message: 1
  Date: Wed, 17 Aug 2005 12:47:32 -0700
  From: Glenn Dawson [EMAIL PROTECTED]
  Subject: Re: Parking disk drive heads
 
  At 11:32 PM 8/16/2005, [EMAIL PROTECTED] wrote:
  Hi,
 
  which is the correct way to park the hd head?
 
  Seagate drives park the heads automatically when they are turned
  off. As far as I know, this applies to other manufacturer's
  drives as well.
 
 
 To which he replied:
 
  Message: 2
  Date: Thu, 18 Aug 2005 08:14:47 +0200
  From: [EMAIL PROTECTED]
  Subject: Re: Parking disk drive heads
 
  I don't want to park them on turn off. I want to park them
  before a possible strong shock which could cause damage and
  unpark them afterwards.
 
 The setups for parking heads pretty much went away when the move
 from MFM drive to ATA technology.
 
 And if your are worried about a shock that could damage the drive,
 you will probably lose your computer at the same time.
 
 Check the technical specs on current drives.  You will see that
 most will handled well over 100G shocks when not running, and
 usually far over 20G in operational mode.  Considering that
 20G to the human body usually means death you aren't going to have
 to worry about losing drives to operating bumps unless you have a
 habit of dropping them in parachutes from airplanes. :-)

I've ruined at least one modern ATA disk without otherwise damaging the
laptop by hitting it too hard so this is not true.

 IOW - unless you are running some early ATA drives, shocks when
 running are something you don't have to really worry about, unless
 you plan to shove the entire computer off the desk when it is
 running with the power on.

This is exactly what the origional intends to protect against.  Nearly
all good laptop vendors are adding the necessicary hardware to their
systems these days.  At the end of the day, the data on your hard drive
is much worth more then the laptop so it's perfectly rational to save
the hard drive even if the machine will be toast.  For an economic
example, my corprate laptop is worth slightly less then one week's
pre-tax income.  It would take a lot more than one week to reconstruct
the data on it if not for backups and extensive use of remote revision
control systems for anything of importance.

-- Brooks

-- 
Any statement of the form X is the one, true Y is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4


pgpcYJyqJAdMv.pgp
Description: PGP signature


Re: Parking disk drive heads

2005-08-19 Thread Julian Elischer

Bill Vermillion wrote:

Bits dont fail me now! was what
[EMAIL PROTECTED] muttered as he hastily typed
this on Fri, Aug 19, 2005 at 12:00 :



  1. Re: Parking disk drive heads (Glenn Dawson)





The setups for parking heads pretty much went away when the move
from MFM drive to ATA technology.


Well, they are obvioulsy back as the IBM and apple laptops invoke them.



And if your are worried about a shock that could damage the drive,
you will probably lose your computer at the same time.

not evennearly true, but even if it were, I'd rather lase the
laptop and be able to salvage
teh drive than lose it all.



Check the technical specs on current drives.  You will see that
most will handled well over 100G shocks when not running, and
usually far over 20G in operational mode.  Considering that
20G to the human body usually means death you aren't going to have
to worry about losing drives to operating bumps unless you have a
habit of dropping them in parachutes from airplanes. :-)




this shows a slight misunderstanding of the use of 'G' in describing
such events.

shock Gs are not the same as sustained Gs.
If you bang your hand on the table, the cells on the outer side of
your skin go from 10 km/h (~2m/s) to 0km/h in 0.01m (1/1000th of a mm).
It takes your cells, traveling at 2m/s about 1/50 the of a second to
cover that distance, so the accelleration is somethign of the order of
2/(1/50) or, about 1 million Gs. cells a couple of cells in already see 
significantly
lower shocks as the external cells distort, absobing energy, and lengthenning
the abount of time that the inner cells have to come to a stop.
it's something like an order of magnitude per cell for the first few cells.

Shock loading for a two hard objects hitting each other,
(e.g. the ground and a laptop) can be in the 100s of thousands of Gs for
parts directly attached, to hundreds of G's on indirectly attached items
to 10s of G's for shock mounted items such as the disk drive.

Moving requirements for survival from 20G to 100G by parking the
heads in flight can greatly increase the chances that the drive survives.

just placing an unmounted drive down on a hard table, even when
not running, can ruin it. We lost hundresds that way at Whistle until
we did a failure analysis. Just placing a rubber mat on the table.
fixed it and instructing the staff to always put the drives on
a soft surface made the problem go right away.




I have ruined drives with a bad bump in the past - but those
were MFM drives - and that happened in the mid-to-late 1980s.

The first HDs I saw could withstand less than 1G in shipping so
the 5.25 Shugart ST-505 drives - $25090 for 5MB [that is MegaByte]
were shipped in foam padded boxes a bit larger than the drive, and
these boxes were suspended by springs from the corners of a much
larger shipping box - in the 18x18 size category.

IOW - unless you are running some early ATA drives, shocks when
running are something you don't have to really worry about, unless
you plan to shove the entire computer off the desk when it is
running with the power on.

Bill

[The orignal post was in of freebsd-hackers Digest, Vol 126, Issue 5]





___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Parking disk drive heads

2005-08-19 Thread Doug Ambrisko
Julian Elischer writes:
| just placing an unmounted drive down on a hard table, even when
| not running, can ruin it. We lost hundreds that way at Whistle until
| we did a failure analysis. Just placing a rubber mat on the table.
| fixed it and instructing the staff to always put the drives on
| a soft surface made the problem go right away.

Not quite.  Burn-in helped more.  A few were head slaps but more was
just media that needed exercising.  It's the lands minds that bite you
more when it has swap or other critical data on it.  

A little historical correction.

Flash is nice but it has some issues.  Atleast dropping it isn't one!

Doug A.
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Parking disk drive heads

2005-08-18 Thread Glenn Dawson

At 11:32 PM 8/16/2005, [EMAIL PROTECTED] wrote:

Hi,

which is the correct way to park the hd head?


Seagate drives park the heads automatically when they are turned 
off.  As far as I know, this applies to other manufacturer's drives as well.


-Glenn



I need it for the IBM Active Protection System implementation under FreeBSD.
I got an working Accelerometer driver so far.

BSD Version downloadable at
https://sourceforge.net/project/showfiles.php?group_id=138242

thanks

maik

___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Parking disk drive heads

2005-08-18 Thread m . ehinger
I don't want to park them on turn off. I want to park them before a possible 
strong shock which could cause damage and unpark them
afterwards.

Thanks

maik





 Glenn Dawson [EMAIL PROTECTED]   
 


 17.08.2005 21:47   
 An 
   [EMAIL 
PROTECTED], freebsd-hackers@freebsd.org   

  Kopie 



  Thema 
   Re: Parking disk 
drive heads 
















At 11:32 PM 8/16/2005, [EMAIL PROTECTED] wrote:
Hi,

which is the correct way to park the hd head?

Seagate drives park the heads automatically when they are turned
off.  As far as I know, this applies to other manufacturer's drives as well.

-Glenn


I need it for the IBM Active Protection System implementation under FreeBSD.
I got an working Accelerometer driver so far.

BSD Version downloadable at
https://sourceforge.net/project/showfiles.php?group_id=138242

thanks

maik

___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]



___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Parking disk drive heads

2005-08-18 Thread Eric Anderson

[EMAIL PROTECTED] wrote:

I don't want to park them on turn off. I want to park them before a possible 
strong shock which could cause damage and unpark them
afterwards.


If it's an ata disk, you might look at ataidle in the ports collection.

Eric




--

Eric AndersonSr. Systems AdministratorCentaur Technology
Anything that works is better than anything that doesn't.

___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Parking disk drive heads

2005-08-17 Thread m . ehinger
Hi,

which is the correct way to park the hd head?

I need it for the IBM Active Protection System implementation under FreeBSD.
I got an working Accelerometer driver so far.

BSD Version downloadable at
https://sourceforge.net/project/showfiles.php?group_id=138242

thanks

maik

___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]