Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!howland.reston.ans.net!sol.ctr.columbia.edu!startide.ctr.columbia.edu!wpaul From: wpaul@ctr.columbia.edu (Bill Paul) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: dump and nfs Date: 19 Jun 1996 14:18:41 GMT Organization: Columbia University Center for Telecommunications Research Lines: 59 Message-ID: <4q9281$2uv@sol.ctr.columbia.edu> References: <Pine.BSF.3.91.960619031535.3691A-100000@tyger.inna.net> NNTP-Posting-Host: startide.ctr.columbia.edu X-Newsreader: TIN [version 1.2 PL2] Daring to challenge the will of the almighty Leviam00se, Jamie Bowden (jamie@tyger.inna.net) had the courage to say: : I am nfs mounting remote partitions on the host with my tape drive for : the purposes of backups. I was using rdump, but wanted to see if nfs : mounting to dump would be faster. NFS is working fine, I can mount and : unmount filesystems with no problems. Here's my problem: : dump -0fB /dev/nrst0 4096000 /tygerusr : DUMP: Date of this level 0 dump: Wed Jun 19 02:10:25 1996 : DUMP: Date of last level 0 dump: the epoch : DUMP: Dumping tyger:/rusr (/tygerusr) to /dev/nrst0 : DUMP: Cannot open tyger:/rusr : The fstab entry for this fs is: : tyger:/usr /tygerusr nfs ro,noauto - - : I can change field 5 to 1 if necessary, but my immediate problem is dump : insists on inserting the extraneous 'r' in front of usr. Is this a bug, : or have I done something wrong. You have done something wrong. You cannot dump an NFS filesystem. Or, to quote my Standard Phone Support Answer #5: "That's not how it works." Think about it for a minute. What does dump(8) do? It opens the raw device for a given filesystem (/dev/rwd0a for /, for example), parses the inodes and disk blocks all by itself (without help from the filesystem code in the kernel) and writes everything to tape. An NFS filesystem is a remote filesystem mounted on your local machine: it has no corresponding raw device that dump(8) can open locally. You have to use rdump if you want to do backups in dump(8) format and your machine has no local tape drive. What you _can_ use are backup utilities that just read the files out of the filesystem normally instead of groping through the raw disk device. This means you can use tar or cpio to backup an NFS filesystem, but not dump(8). : I get the same error with field 5 set to : one also. Any help is greatly appreciated. Like I said: think about it for a minute. : Jamie Bowden : Network Administrator, TBI, Ltd. -Bill -- ============================================================================= -Bill Paul (212) 854-6020 | System Manager, Master of Unix-Fu Work: wpaul@ctr.columbia.edu | Center for Telecommunications Research Home: wpaul@skynet.ctr.columbia.edu | Columbia University, New York City ============================================================================= "If you're ever in trouble, go to the CTR. Ask for Bill. He will help you." =============================================================================