Date: Sat, 12 Sep 2020 04:41:54 +0100 From: Graham Perrin <grahamperrin@gmail.com> To: FreeBSD Current <freebsd-current@freebsd.org>, Matthew Macy <mmacy@freebsd.org>, Ryan Moeller <freqlabs@FreeBSD.org> Cc: Hans Petter Selasky <hps@selasky.org> Subject: Re: suspend/resume versus OpenZFS on USB Message-ID: <82bf782c-c848-66a5-ae52-433531d6dab9@gmail.com> In-Reply-To: <7ced4903-cf1f-19d1-f2b3-61336992ed11@gmail.com> References: <a0cfead4-bcce-f4ff-662d-a186b19c7a37@gmail.com> <6824e9f5-0496-a9ba-9cf2-01a6c8b34a4e@selasky.org> <24c4f60d-d937-7763-9cea-697de75109a6@gmail.com> <7cd8c682-0c4b-c332-c6de-d17dccbd9672@selasky.org> <bcbaeb5e-82c0-9f3d-7906-ac4d4a1cdfd6@gmail.com> <7ced4903-cf1f-19d1-f2b3-61336992ed11@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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@momh167-gjp4-8570p:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG zfs-0.8.0-1 zfs-kmod-0.8.0-1 root@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@momh167-gjp4-8570p:~ # du -hs /usr/home/grahamperrin/Videos/palmtree.mp4 68M /usr/home/grahamperrin/Videos/palmtree.mp4 root@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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?82bf782c-c848-66a5-ae52-433531d6dab9>