home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.admin
- Path: sparky!uunet!gatech!destroyer!caen!uwm.edu!spool.mu.edu!agate!doc.ic.ac.uk!cc.ic.ac.uk!imperial.ac.uk!vulture
- From: vulture@imperial.ac.uk (Thomas Sippel - Dau)
- Subject: Re: Backup while device busy!
- Message-ID: <1993Jan4.123743.27958@cc.ic.ac.uk>
- Sender: vulture@carrion.cc.ic.ac.uk (Thomas Sippel - Dau)
- Nntp-Posting-Host: cscgc
- Reply-To: cmaae47@imperial.ac.uk
- Organization: Imperial College of Science, Technology and Medicine
- References: <61800001@acf3.NYU.EDU>
- Date: Mon, 4 Jan 93 12:37:43 GMT
- Lines: 59
-
- In article <61800001@acf3.NYU.EDU>, zhangd@acf3.NYU.EDU (zhangd) writes:
- -
- - Hi, there:
- -
- - When I am doing backup ... I prefer to umount the filesystem
- - and then mount readonly thereafter.
- .....
- -
- - Questions:
- - 1. how dangerous to backup a partition ( dump ) with some file opening on it?
- - could this only corrupt those files or the whole filesystem in some special case?
-
- RTFN (read network news ...), to quote from another message:
- ==================
- buck@siswat.hou.tx.us (Lester Buck) quotes:
- - In article <1992Dec31.174549.677@mav.com> toddi@mav.com (Todd Inch) writes:
- - >>Because users may change files while they are being backed up, and you may
- - >>end up with an inconsistent copy on the tape - say a random access file is
- - >>keeping pointers to records at its end, and the data at the beginning.
-
- Hey, that was me ...
-
- - >And likewise two separate files may be interdependant, such as detail
- - >and header records in a database, or a data file and its accompanying
- - >hashed-key file.
-
- - Veritas sells a file system which supports creation of one file system
- - which is an atomic snapshot of another file system. The snapped
- - filesystem is then free to change, though writes to it are slowed
- - somewhat. The only problem is to quiesce the applications for a moment
- - while the snapshot is being made, maybe for a minute. The Veritas file
- - system is used in SVR4.2, I think.
- ===================
-
- If you backup -files-, then only information in files can be corrupted by a
- dodgy backup procedure. The Unix file systems generally keep their information
- (inodes, pointer blocks) outside files, unless you count Lost+Found as
- file system information. This information is regenerated when the files
- are restored from the backup medium.
-
- - 2. if there is a way to find out all opening files on a partition and close them
- - forcefully? ( mount, showmount...)
-
- Reboot the system without nfs daemons ... guaranteed to close all files :-)
-
- - 3. Could other backup commands ( like TAR ) handle this situation better?
-
- AFS (Andrew file System) and its OSF follow-on, DCE (Distributed Computing
- Environment) also address the problem. They create a new file whenever you
- change (open for write or append) a file, the backup process would dump the
- old, closed, and therefore reliable, version.
-
-
- --
- *** This is the operative statement, all previous statements are inoperative.
- * email: cmaae47 @ ic.ac.uk (Thomas Sippel - Dau) (uk.ac.ic on Janet)
- * voice: +44 71 589 5111 x4937 or 4934 (day), or +44 71 823 9497 (fax)
- * snail: Imperial College of Science, Technology and Medicine
- * The Center for Computing Services, Kensington SW7 2BX, Great Britain
-