Hi If I have the wrong list please feel free to redirect me. I'm running 7.0-RELEASE-p4 and trying to backup to an external USB drive. I'm using the following command dump -a0Lf /backup/diskimages/root /dev/mfid0s1a Where df: Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/mfid0s1a 507630 208436 258584 45% / /dev/da1s1d 709513458 9853800 642898582 2% /backup The following processes start 75399 p0 I+ 0:00.04 dump -a0Lf /backup/diskimages/root /dev/mfid0s1a (dump) 75402 p0 S+ 0:00.71 dump: /dev/mfid0s1a: pass 4: 77.05% done, finished in 0:00 at Wed Oct 8 08:25:06 2008 (dump) 75403 p0 S+ 0:00.85 dump -a0Lf /backup/diskimages/root /dev/mfid0s1a (dump) 75404 p0 S+ 0:00.96 dump -a0Lf /backup/diskimages/root /dev/mfid0s1a (dump) 75405 p0 S+ 0:00.86 dump -a0Lf /backup/diskimages/root /dev/mfid0s1a (dump) But it just stops at a random percentage, the system continues to run and the processes are killable? Perhaps I'm using dump incorrectly if anyone could help would be greatly appreciated. Regards -- David Peall :: IT Manager e-Schools' Network :: http://www.esn.org.za/ <http://www.esn.org.za/> Phone +27 (021) 674-9140
On Wed, Oct 08, 2008 at 10:29:00AM +0200, David Peall wrote:> Hi > > If I have the wrong list please feel free to redirect me. > > I'm running 7.0-RELEASE-p4 and trying to backup to an external USB > drive. > > I'm using the following command > > dump -a0Lf /backup/diskimages/root /dev/mfid0s1a > > Where df: > > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/mfid0s1a 507630 208436 258584 45% / > /dev/da1s1d 709513458 9853800 642898582 2% /backup > > The following processes start > > 75399 p0 I+ 0:00.04 dump -a0Lf /backup/diskimages/root /dev/mfid0s1a (dump) > 75402 p0 S+ 0:00.71 dump: /dev/mfid0s1a: pass 4: 77.05% done, finished in 0:00 at Wed Oct 8 08:25:06 2008 (dump) > 75403 p0 S+ 0:00.85 dump -a0Lf /backup/diskimages/root /dev/mfid0s1a (dump) > 75404 p0 S+ 0:00.96 dump -a0Lf /backup/diskimages/root /dev/mfid0s1a (dump) > 75405 p0 S+ 0:00.86 dump -a0Lf /backup/diskimages/root /dev/mfid0s1a (dump) > > But it just stops at a random percentage, the system continues to run > and the processes are killable? > > Perhaps I'm using dump incorrectly if anyone could help would be greatly > appreciated.This is a known problem with dump on UFS2 filesystems. See "dump/restore" here: http://wiki.freebsd.org/JeremyChadwick/Commonly_reported_issues There is no fix, AFAIK. My recommendation is to use something else. I'm particularly fond of rsnapshot, but be aware that rsync will cause file atimes to be lost (on the source) when copying; this can impact classic UNIX mail spools (mbox), where people use clients like mutt/pine which utilise atimes to determine if there's new mail or not. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |
On Wed, Oct 08, 2008, David Peall wrote:> I'm running 7.0-RELEASE-p4 and trying to backup to an external USB > drive. > > I'm using the following command > > dump -a0Lf /backup/diskimages/root /dev/mfid0s1a[...]> But it just stops at a random percentage, the system continues to run > and the processes are killable?This is a know bug which mainly affects multi-core CPU systems. It is fixed in RELENG_7, see also PR bin/121684 [1] where the relevant patch is referenced. [1] http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/121684 -cs
On Fri, Oct 10, 2008 at 11:06:04AM +0100, Pete French wrote:> > Did you do the following before running csup on the supfile with > > the RELENG_7 tag? > > > > rm -fr /usr/src/* > > rm -fr /var/db/sup/src-all > > This is the second time I have seen this mentioned, but on none > of the machines that I csup on do I haave a "/var/db/sup" at all. > Is this a hangover from cvsup and not necessary for csup ?No. cvsup (in the base system) stores in /usr/sup. Here, let me make an outline tree: csup (in base system): stores CVS data in /var/db/sup cvsup (in ports system): stores CVS data in /usr/sup csup (in ports): not sure where it stores the CVS data All of this assumes the user DOES NOT override the defaults. Further proof: $ which csup /usr/bin/csup $ ls -l /var/db/sup total 4 drwxr-xr-x 2 root wheel 512 2 Oct 01:38 ports-all/ drwxr-xr-x 2 root wheel 512 8 Oct 01:33 src-all/ -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |
On Fri, Oct 10, 2008 at 03:41:17AM -0700, Jeremy Chadwick wrote:> On Fri, Oct 10, 2008 at 11:06:04AM +0100, Pete French wrote: > > > Did you do the following before running csup on the supfile with > > > the RELENG_7 tag? > > > > > > rm -fr /usr/src/* > > > rm -fr /var/db/sup/src-all > > > > This is the second time I have seen this mentioned, but on none > > of the machines that I csup on do I haave a "/var/db/sup" at all. > > Is this a hangover from cvsup and not necessary for csup ? > > No. cvsup (in the base system) stores in /usr/sup. Here, let me make^^^^^^^^^^^^^^^^^^^^^^^^^^ This should have read: "in ports system" -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |