Sleep

This forum is to find answers to problems you may be having with ZEVO Community Edition.

Moderators: jhartley, MSR734, nola

Sleep

Post by grahamperrin » Tue Apr 02, 2013 1:25 am

With apologies for the vague subject line …

Generally, since I began using ZEVO, I have sensed deep trouble very rarely.

Two recent incidents

All of the following were true:

  • in System Preferences, hard disks were allowed to sleep
  • the Mac was allowed to sleep (after maybe fifteen minutes)
  • a vdev is formed of multiple devices (I have experimented with no more than two)
  • both devices are on a hub (I recently purchased a new one, USB 2.0).

In my case both disk devices are almost certainly good – very recently scrubbed, never an error before trouble began.

Less recently

I don't always trust my MacBookPro5,2 to achieve – with combinations of external third party hardware and firmware – what's preferred in the Energy Saver pane of System Preferences.

An example: with certain disks in a dock on USB, I could use the disk for only as long as reads (or writes) were close to non-stop. After a minor break in activity, I'd 'lose' the disk as if a bus or I/O error had occurred (the volume remained in Finder but I could no longer get folder contents whilst browsing, and so on). Whether those problems were hard disk drive sleep-related I don't know, but simply: something wasn't right.

Determining whether a disk is active, idle or sleeping

Wish for something like SpindownHD (described in an answer to hdparm on OS X).

Any suggestions, people?

Generally

In the quick start guide for ZEVO Community Edition 1.1 there's no caution against USB. So whilst I appreciate that USB (2.0 in particular) can be troublesome – troublesome not only for ZFS – I lean strongly towards:

  • disallowing sleep to minimise the risk of trouble.
grahamperrin Offline

User avatar
 
Posts: 1596
Joined: Fri Sep 14, 2012 10:21 pm
Location: Brighton and Hove, United Kingdom

Re: Sleep

Post by raattgift » Tue Apr 02, 2013 2:40 am

Have you by any chance fiddled with the darkwake or serverperfmode boot options in for example .../com.apple.Boot.plist ?

Additionally, USB and other external enclosures often have their own logic for putting drives in and out of lower-power states. Sometimes that can be tuned (or disabled), but probably not by any tool shipped by any party other than the enclosure manufacturer.

Disk sleep is not a problem for me.

I have two different USB-3 raidz vdevs in two different pools, thusly:
Code: Select all
   NAME                                           STATE     READ WRITE CKSUM
   OldStuff                                       ONLINE       0     0     0
     raidz1-0                                     ONLINE       0     0     0
       GPTE_34E8A92C-...  ONLINE       0     0     0  at disk25s2
       GPTE_BB4ACBF3-...  ONLINE       0     0     0  at disk33s2
       GPTE_E311C835-...  ONLINE       0     0     0  at disk28s2

(3.0 TB Seagate Backup+ Desk)
Code: Select all
   NAME                                           STATE     READ WRITE CKSUM
   blackpool                                      ONLINE       0     0     0
     raidz1-0                                     ONLINE       0     0     0
       GPTE_E4EBFCD8-...  ONLINE       0     0     0  at disk37s2
       GPTE_1C8C8076-...  ONLINE       0     0     0  at disk33s2
       GPTE_E472F41E-...  ONLINE       0     0     0  at disk34s2

(3.0 TB WD My Book 1140)

The pools behave reasonably well, and the drives spend most of their time spun down.

(Aside: there was a DOA Seagate disk that never spun up, and a WD enclosure gives bursts of errors when doing lots of I/O on high-LBA blocks, both of which were RMAed. The latter drive would regularly be kicked out of ONLINE state. Additionally, when the WD disks are on one particular 7-port USB3 hub, they frequently attach as USB 2 devices at boot time or at wake-from-sleep time, which devastates performance and is annoying. (That hub has done that to other USB 3 devices too.))

I would not tolerate having to keep them in a high-power mode in order to keep the data on them available, even if I decided to use the performance advantages USB 3 drives have over the FW 800 devices in pools that are kept spinning pretty much continuously.

The Macs they are connected to rarely sleep, however.
raattgift Offline


 
Posts: 98
Joined: Mon Sep 24, 2012 11:18 pm

Re: Sleep

Post by grahamperrin » Tue Apr 02, 2013 3:06 pm

raattgift wrote:… fiddled with the darkwake or serverperfmode boot options in for example .../com.apple.Boot.plist ? …


Nope.

Details of my recent incident(s) will probably appear, in due course, under Unexpected resilver with neither redundancy nor replacement …
grahamperrin Offline

User avatar
 
Posts: 1596
Joined: Fri Sep 14, 2012 10:21 pm
Location: Brighton and Hove, United Kingdom

Re: Sleep

Post by mnos3c » Tue Apr 02, 2013 5:15 pm

Could you give info about exact model/manufacturer hd in usb dock that cause trouble?
I ask because some disks (who said wd green?) have the idle time setted to very low value...
mnos3c Offline


 
Posts: 33
Joined: Wed Dec 26, 2012 6:40 am

Links

Post by grahamperrin » Wed Apr 03, 2013 2:16 am

Re: my previous post, I'll add to that linked topic in due course.

Also worth noting: (2012.09.23) hibernate versus pool on USB
grahamperrin Offline

User avatar
 
Posts: 1596
Joined: Fri Sep 14, 2012 10:21 pm
Location: Brighton and Hove, United Kingdom

ST340016A

Post by grahamperrin » Sat Apr 06, 2013 7:47 am

mnos3c wrote:… some disks (who said wd green?) have the idle time setted to very low value...


Not Western Digital here.

One that was troublesome in the dock:

  • 40 GB Seagate Barracuda ATA IV, ST340016A (PDF).
grahamperrin Offline

User avatar
 
Posts: 1596
Joined: Fri Sep 14, 2012 10:21 pm
Location: Brighton and Hove, United Kingdom

Seagate Sleep Override Utility.kext

Post by grahamperrin » Sat Apr 06, 2013 2:38 pm

Re viewtopic.php?p=4601#p4601

In a Seagate forum there's a link to Seagate Sleep Override Utility for Mac OS.dmg containing Seagate Sleep Override Utility.pkg for installation of Seagate Sleep Override Utility.kext

This topic might eventually fall under the umbrella of Issues with a simple two-disk pool (tall): overview but I'll not leap to any conclusion.
grahamperrin Offline

User avatar
 
Posts: 1596
Joined: Fri Sep 14, 2012 10:21 pm
Location: Brighton and Hove, United Kingdom


Return to Troubleshooting

Who is online

Users browsing this forum: bileyqrkq, ilovezfs and 0 guests

cron