From owner-freebsd-questions Sat Jan 12 4:21: 8 2002 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-31-201-166.mmcable.com [65.31.201.166]) by hub.freebsd.org (Postfix) with SMTP id CB3C237B402 for ; Sat, 12 Jan 2002 04:21:02 -0800 (PST) Received: (qmail 62621 invoked by uid 100); 12 Jan 2002 12:21:02 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15424.10797.525470.562637@guru.mired.org> Date: Sat, 12 Jan 2002 06:21:01 -0600 To: Bjarne Wichmann Petersen Cc: questions@freebsd.org Subject: Re: dump/restore strips protectionbits/modes/flags In-Reply-To: <111085419@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ From: "Mike Meyer" X-Delivery-Agent: TMDA/0.43 (Python 2.2; freebsd-4.4-STABLE-i386) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Bjarne Wichmann Petersen types: > I'm in the process on moving my FreeBSD-setup onto a larger drive. Since I'm > no expert in dump/restore so I've followed the steps outlined in > http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#NEW-HUGE-DISK > and that has worked well those other times I've tried this. > > Not this time though. In one of the filesystem moves I loose the > protectionbits(*) for everything but the owner. And all directories belongs > to root/wheel (not good for /home). And I just can't figure out why that > happens. It's impossible to diagnose the problem with the information you've given here. Did you by any chance save the process in a script? Do you still have the dump files so you can see if the problem is in dump or restore? Did you do something strange like make one of the file systems something other than UFS? > On a side note, why is dump/restore so dead slow? For a 9GB filesystem it > took the better part of 5 hours ... on 2 ATA100-drives.... Got me. I don't think speed was a critical factor when they were written, as most dumps went to open reel tapes, which are *slow*. I recall lots of hacks/patches/workarounds to make dump output to streaming tape drives actually stream. > (*) What are they called on BSD? Protectionsbit, modes or flags? Modes. They are bits, but modes is more specific. Flags are different things; see the chflags man page for more information. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message