Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Apr 2010 08:16:21 -0700
From:      merlyn@stonehenge.com (Randal L. Schwartz)
To:        Sergio de Almeida Lenzi <lenzi.sergio@gmail.com>
Cc:        freebsd-questions <questions@freebsd.org>
Subject:   Re: Backing up freebsd to 1 file?
Message-ID:  <861veb5v7e.fsf@red.stonehenge.com>
In-Reply-To: <1271656349.4561.4.camel@localhost> (Sergio de Almeida Lenzi's message of "Mon, 19 Apr 2010 02:52:29 -0300")
References:  <4BCB07C0.8010305@sbcglobal.net> <20100418161015.f20206f0.freebsd@edvax.de> <1271601423.1287.15.camel@localhost> <4BCB258E.6050906@infracaninophile.co.uk> <1271656349.4561.4.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "Sergio" == Sergio de Almeida Lenzi <lenzi.sergio@gmail.com> writes:

>> It kills everything ungracefully and will screw up anything that needs
>> to sync state to disk -- like mysql.
>> 
>> Just use shutdown(8): it's what it's there for.
>> 
>> # shutdown now "Going single user to make backups"
>> 
>> Cheers,
>> 
>> Matthew

Sergio> Ok you are right... 

Sergio> for me worked because I never use mysql...
Sergio> but I use zfs  and I think that during shutdown, /etc/rc.d/zfs   is
Sergio> called stop
Sergio> so it unmounts all zfs partition...  (I did not tested...)...

Nope.  "shutdown" doesn't appear in /etc/rc.d/zfs keywords, so it won't
get "stop" during normal shutdown.  That must happen later.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>;
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?861veb5v7e.fsf>