Sleep mode shuts off bus-powered drive; any way to recover?

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

Moderators: jhartley, MSR734, nola

Sleep mode shuts off bus-powered drive; any way to recover?

Post by gopheralex » Sun May 19, 2013 6:17 pm

Hi all,

I am using ZEVO with an external Firewire 800 dual-drive enclosure:

http://www.amazon.com/DataTale-2-Bay-Fi ... ref=sr_1_1

I have the enclosure connected via a FW800 cable and it is using bus power, so there is only one cable connected to the enclosure.

This setup was working like a champ with ZEVO on a mid-2009 MacBook Pro. When the computer slept, the drives would spin down but the enclosure would stay on. Then when it woke, the drives would spin up again.

I recently upgraded to a mid-2012 MacBook Pro. Unfortunately, it seems that this model does not provide firewire bus power while in sleep mode, so when you put it to sleep, the enclosure completely shuts off and does not turn on again when the computer wakes.

This is a problem because after waking, I have to remember to quickly turn on the enclosure, or my pool will become inaccessible:

$ sudo zpool list
no pools available

$ sudo zpool import tank
cannot import 'tank': no such pool available

At this point, the only remedy I know of is to reboot.

I know that this isn't really ZEVO's fault. I am mainly just wondering if there is a better way to recover from this kind of drive disappearance than rebooting.
gopheralex Offline


 
Posts: 1
Joined: Sun Mar 31, 2013 11:55 am

Re: Sleep mode shuts off bus-powered drive; any way to recov

Post by grahamperrin » Mon May 20, 2013 2:07 am

AFAIK with ZEVO Community Edition 1.1.1, following a hot unplug of a device it's necessary to restart the Mac before ZEVO can reuse that device.

I'm curious … when the issue occurs, does the device name entry remain?

ls -dl /dev/dsk ; ls -l /var/zfs/dsk

Reference: Disk Device Names

Side notes

With this type of disruption to a device on FireWire, you can continue to run ZFS-related commands.

With this type of disruption to a device on USB 2.0, ZFS-related commands are likely to fail (example).
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