Backing up freebsd to 1 file?
Randal L. Schwartz
merlyn at stonehenge.com
Mon Apr 19 15:31:35 UTC 2010
>>>>> "Sergio" == Sergio de Almeida Lenzi <lenzi.sergio at 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 at 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
More information about the freebsd-questions
mailing list