Path: utzoo!attcan!uunet!lll-winken!ncis.llnl.gov!helios.ee.lbl.gov!pasteur!ucbvax!decwrl!labrea!rutgers!mailrus!cornell!uw-beaver!rice!sun-spots-request From: dupuy@columbia.edu (Alexander Dupuy) Newsgroups: comp.sys.sun Subject: Re: What is the best/safest way to fix a bad ND partition Message-ID: <8901162052.AA17003@cs.columbia.edu> Date: 20 Jan 89 22:07:13 GMT Sender: usenet@rice.edu Organization: The Stepstone Corporation, Sandy Hook, CT Lines: 8 Approved: Sun-Spots@rice.edu Original-Date: Mon, 16 Jan 89 15:52:18 EST X-Sun-Spots-Digest: Volume 7, Issue 114, message 8 of 18 If the ND filesystems are the same size and are on the same disk, the best way is to use dd(1) - something like "dd if=/dev/rndl1 of=/dev/rndl2 bs=126b" works well, and quickly - don't worry about the I/O error when it hits the end of the first ND partition. Otherwise you should do an rm -rf or a mkfs on the second ND partition, and then use a dump | restore pipeline. @alex