From owner-freebsd-questions@FreeBSD.ORG Mon Dec 29 08:29:56 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 33F2C709 for ; Mon, 29 Dec 2014 08:29:56 +0000 (UTC) Received: from mail-lb0-x234.google.com (mail-lb0-x234.google.com [IPv6:2a00:1450:4010:c04::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A981164E8C for ; Mon, 29 Dec 2014 08:29:55 +0000 (UTC) Received: by mail-lb0-f180.google.com with SMTP id l4so10710584lbv.11 for ; Mon, 29 Dec 2014 00:29:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=DUm4QkoqqAM9LSR8EbTsSbBDzCYIN8QzLg79dx7qxOM=; b=yDPxw7DM/lyqzwEh0ZmFn7l7paJrORCo8uB0GLnOAOF/ojC1Yx7qMFVgFn0Z1OH7Sz 5nBYdyaSsjzN6ODIOZA9syLKFVlj0xNbzqBMwLMjdgBlEO0juFEj3ReFO0yLX8MS4UvF bHjP6x1z36hNBUdVz04aiYW/ogqRoZoJAOXhS60HVpVDxSWrmEzkXctQqUDgUMi0IrGg aalynfzstSLHfpgvQO4fEjoYrw4QzTTzFmVchdz8CGYUilNNTce9b8Ebo12t9H7RbY2n sYjirnWqw9/sYMicr0Wl7U9u724clAcbcFTXBnknKsSM9xtD1KdQpCFqj4l8QXjqQxPS mmmg== X-Received: by 10.112.169.34 with SMTP id ab2mr55077103lbc.77.1419841793731; Mon, 29 Dec 2014 00:29:53 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.35.199 with HTTP; Mon, 29 Dec 2014 00:29:13 -0800 (PST) From: Odhiambo Washington Date: Mon, 29 Dec 2014 11:29:13 +0300 Message-ID: Subject: Backing Up a journaled FS To: User Questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Dec 2014 08:29:56 -0000 I hope everyone enjoyed their foods & drinks during Christmas:) Now, being new to 10-RELEASE, things continue to amaze me, but I attribute that to my slowness in understanding 10. I have been used to 8.x and below so much that when changes started getting into 9.x and into 10.x I was simply overwhelmed. Now it's biting. I have a server I installed with two identical disks. I used BSD labels instead of GPT and I had it a little rough creating my slices, because I am used to a situation where I only created / amd swap for such servers because it made life easy for me during backup. I would completely wipe all data on the second disk every Saturday, via a cron, and write it with data from the primary/running/active disk as a means of backup. Not so dandy but works quite fine anyway. Now I have gotten to a point where I am stopped in my tracks because I cannot do dump/restore on a journaled fs: root@mail:/ # mount /dev/ada0a on / (ufs, local, journaled soft-updates) devfs on /dev (devfs, local, multilabel) /dev/ada1a on /disk2 (ufs, local, journaled soft-updates) fdescfs on /dev/fd (fdescfs) root@mail:/ # df -h Filesystem Size Used Avail Capacity Mounted on /dev/ada0a 446G 6.5G 403G 2% / devfs 1.0K 1.0K 0B 100% /dev /dev/ada1a 446G 32M 410G 0% /disk2 fdescfs 1.0K 1.0K 0B 100% /dev/fd root@mail:/ # ls -al /disk2/ total 32840 drwxr-xr-x 3 root wheel 32768 Dec 22 16:28 . drwxr-xr-x 20 root wheel 1024 Dec 26 16:30 .. drwxrwxr-x 2 root operator 512 Dec 22 16:28 .snap -r-------- 1 root wheel 33554432 Dec 22 16:28 .sujournal root@mail:/ # grep dump /scripts/backup_primary_disk.sh /sbin/dump -L0af - / | (cd /disk2/; restore -rf - ) root@mail:/ # /sbin/dump -L0af - / | (cd /disk2/; restore -rf -) mksnap_ffs: Cannot create snapshot //.snap/dump_snapshot: /: Snapshots are not yet supported when running with journaled soft updates: Operation not supported dump: Cannot create //.snap/dump_snapshot: No such file or directory Tape is not a dump tape root@mail:/ # So, do I have to disable the journaling option from the FS, or is there a better way to achieve the same result with journaling still on? -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 "I can't hear you -- I'm using the scrambler."