Re: suspend/resume versus OpenZFS on USB

From: Graham Perrin <grahamperrin_at_gmail.com>
Date: Sat, 12 Sep 2020 04:41:54 +0100
On 12/09/2020 03:09, Graham Perrin wrote:
> … If the pool is ONLINE and imported at suspend time – and if not 
> actively writing to the device at suspend time …

Testing more aggressively (still with a low spec USB flash drive), 
attempting to suspend _immediately after_ writes to the file system.

Second test:

----

root_at_momh167-gjp4-8570p:~ # date ; uptime ; uname -v ; zfs version
Sat Sep 12 04:13:07 BST 2020
  4:13AM  up 8 mins, 5 users, load averages: 0.95, 0.60, 0.30
FreeBSD 13.0-CURRENT #64 r365364: Sun Sep  6 01:38:18 BST 2020 
root_at_momh167-gjp4-8570p:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG
zfs-0.8.0-1
zfs-kmod-0.8.0-1
root_at_momh167-gjp4-8570p:~ # zpool status usb ; zfs get mountpoint usb
   pool: usb
  state: ONLINE
   scan: scrub repaired 0B in 00:00:01 with 0 errors on Sat Sep 12 
03:20:51 2020
config:

         NAME        STATE     READ WRITE CKSUM
         usb         ONLINE       0     0     0
           da0p1     ONLINE       0     0     0

errors: No known data errors
NAME  PROPERTY    VALUE         SOURCE
usb   mountpoint  /Volumes/usb  local
root_at_momh167-gjp4-8570p:~ # du -hs 
/usr/home/grahamperrin/Videos/palmtree.mp4
  68M    /usr/home/grahamperrin/Videos/palmtree.mp4
root_at_momh167-gjp4-8570p:~ # gdd status=progress bs=1M 
if="/usr/home/grahamperrin/Videos/palmtree.mp4" 
of="/Volumes/usb/palmtree.mp4" ; date ; acpiconf -s3

----

In both tests: suspend failed, it was necessary to force off the computer.

Photographs of the second test: 
<https://photos.app.goo.gl/5WRVrCRioCEwnmUg6>
Received on Sat Sep 12 2020 - 01:41:58 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:25 UTC