From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,f25dcf57b6959738 X-Google-Attributes: gidfee84,public From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Subject: Re: dump utility Date: 1999/05/11 Message-ID: <7h9nfg$upl$1@nntpd.lkg.dec.com>#1/1 X-Deja-AN: 476659073 Distribution: world References: <373707ad.5430639@192.9.200.16> Organization: Digital Equipment Corporation Reply-To: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Newsgroups: comp.unix.osf.osf1 In article <373707ad.5430639@192.9.200.16>, john.allen@geonet-tech.com (John Allen) writes: >I've been using dump to backup data on my Alphastation running DU >V4.0e. Occasionally, the system will hang when I'm performing a dump >during work hours(ie, when users are accessing files). > >I know that dump was originally intended to backup data in filesystems >which are not mounted, and from single-user mode. Does this still >hold true? Or, is there something I can do to run dump on mounted >filesystems, while the system is in multi-user mode? Running dump on an active file system will certainly contribute to the overall I/O load. The extra load may be enough to starve the file system(s) on that disk from getting their fair share of I/O, which is causing the pauses. It could also be a very dirty cache that's being written when the hangs happen or processes swapping. If dump is pushing the file system over some threshold where file system I/O is taking much longer, any backup utility will probably add enough I/O to cause the same problem. Some may add more. While dump isn't especially fast, it avoids doing some I/O that other utilities do cause. Because it works behind the back of the file system (so to speak) it doesn't cause update of file access or inode modification times. On a file system with lots of small files this can cause a lot of extra I/O for backup utilities that go through the file system interface. At the other end of the file size spectrum, large files may get the benefit of the file system doing read-ahead when other utilities are used. Dump just works away at a steady pace for small and large files. So other utilities may cause worse I/O problems than dump. To their advantage, these other utilities take advantage of the buffer cache and simply won't do some I/O that dump has to. Of course this uses more buffer cache, which takes pages away from other processes that will have to page more and thus cause even more I/O. I suspect the problem is not as much dump, but just doing backups when the file system is already busy. Still, other utilities you might try are: vdump - Intended for AdvFS, but works fine on UFS. tar - More for archiving files than for backup, but it does the essential work. cpio - Same as for tar. >Further, does anyone have any other suggestions for backup solutions >for a small LAN? Preferably, apps which allow backup of mounted >filesystems, and filesystems on other hosts in the LAN. Legato has Networker. Veritas may have something. IBM's ADSM may do network backups. Also, to the person suggesting clones if this is AdvFS... Since is using dump to backup the file system, it can't be AdvFS. Dump is specific to UFS. > >Thanks, > >John A. > > -- Alan Rollow alan@nabeth.cxo.dec.com