From owner-freebsd-questions@FreeBSD.ORG Mon Apr 19 15:31:35 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E1EF1065677 for ; Mon, 19 Apr 2010 15:31:35 +0000 (UTC) (envelope-from merlyn@stonehenge.com) Received: from red.stonehenge.com (red.stonehenge.com [208.79.95.2]) by mx1.freebsd.org (Postfix) with ESMTP id 0C8138FC22 for ; Mon, 19 Apr 2010 15:31:34 +0000 (UTC) Received: by red.stonehenge.com (Postfix, from userid 1001) id BC7512177; Mon, 19 Apr 2010 08:16:21 -0700 (PDT) From: merlyn@stonehenge.com (Randal L. Schwartz) To: Sergio de Almeida Lenzi 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> x-mayan-date: Long count = 12.19.17.5.3; tzolkin = 2 Akbal; haab = 16 Pop Date: Mon, 19 Apr 2010 08:16:21 -0700 In-Reply-To: <1271656349.4561.4.camel@localhost> (Sergio de Almeida Lenzi's message of "Mon, 19 Apr 2010 02:52:29 -0300") Message-ID: <861veb5v7e.fsf@red.stonehenge.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions Subject: Re: Backing up freebsd to 1 file? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Apr 2010 15:31:35 -0000 >>>>> "Sergio" == Sergio de Almeida Lenzi 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 Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion