home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / unix / admin / 6875 < prev    next >
Encoding:
Text File  |  1993-01-04  |  3.2 KB  |  73 lines

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