Is it possible to suspend to disk with geli+Root on ZFS installation

Ian Smith smithi at
Sun Oct 13 11:29:01 UTC 2013

On Sun, 13 Oct 2013 13:17:20 +1000, yudi v wrote:
 > On Mon, Sep 30, 2013 at 2:47 AM, Ian Smith <smithi at> wrote:
 > > In freebsd-questions Digest, Vol 486, Issue 7, Message: 5
 > > On Sat, 28 Sep 2013 16:25:33 +0200 Roland Smith <rsmith at> wrote:
 > >  > On Fri, Sep 27, 2013 at 05:37:55PM +1000, yudi v wrote:
 > >  > > Hi all,
 > >  > >
 > >  > > Is it possible to suspend to disk (hibernate) when using geli for
 > full disk
 > >  > > encryption.
 > > I must reiterate, FreeBSD does not support Suspend to Disk (state S4 aka
 > > 'hibernate') on ANY platform, except - perhaps - on machines supporting
 > > S4 in BIOS (hw.acpi.s4bios=1) which are very rarely spotted in the wild.
 > >
 > >  > And even suspend to RAM doesn't work on every machine [2].
 > >  >
 > >  > [2]:
 > >
 > > That page IS about Suspend to Disk - but only as a wishlist idea, as it
 > > has been for many years.  Someone did take it on as a Google SoC project
 > > years ago, but nothing ever came of it to my knowledge.

 > Thanks Ian for clarifying that FreeBSD does not support Suspend to Disk. I
 > just assumed all major distros supported all the suspend states. Now I am
 > looking for a UPS that cleanly shuts down the machine when there is a power
 > outage.

Hi Yudi,

you haven't said what sort of machine (desktop/server/laptop) or how 
long a mains power fail runtime you're after, so it's impossible to 
guess what sort of size UPS you might need ..

 > I am looking at a APC Power-Saving Back-UPS ES 8 Outlet 700VA 230V AS
 > 3112<>,

I don't know about that model; it makes no mention of shutdown alert / 
control at all, only 'some models' have a USB connector, and I couldn't 
find the manual for it there.  Certainly not all 'desktop' UPSes support 
what's needed to communicate and shutdown cleanly, so check carefully 
both the specs and that software (apcupsd or nut) supports the model.

I gather from your timestamp (and that model) that you may be in 
Australia, in which case you could browse from here for the APCs:

[However that page currently throws errors on the various model links of 

 > anyone know if apcupsd daemon works fine under FreeBSD or should I be
 > looking at Network UPS Tools (NUT).

I'm sure there are people here who can advise.  I've only setup Eaton 
and PowerWare UPSes, and those on a Debian linux server, using NUT.

cheers, Ian

More information about the freebsd-questions mailing list