From owner-freebsd-questions Tue Apr 13 6: 7: 3 1999 Delivered-To: freebsd-questions@freebsd.org Received: from kamna.i.cz (kamna.i.cz [193.85.255.30]) by hub.freebsd.org (Postfix) with SMTP id BC08F14CA9 for ; Tue, 13 Apr 1999 06:06:53 -0700 (PDT) (envelope-from mm@i.cz) Received: (qmail 28870 invoked from network); 13 Apr 1999 13:07:27 -0000 Received: from woody.i.cz (@193.85.255.60) by kamna.i.cz with SMTP; 13 Apr 1999 13:07:27 -0000 Content-Length: 1162 Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Tue, 13 Apr 1999 15:04:24 +0200 (MET DST) Reply-To: mm@i.cz From: Martin Machacek To: freebsd-questions@freebsd.org Subject: copying stuff onto an 'a' partition Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I've got a (maybe) stupid question. Is there anything special with the 'a' patition on a disk? I've tried folllowing command on a system running in singleuser (i.e. the source partition was mounted read-only): dd if=/dev/rda0s1a of=/dev/rda1s1a And receveived error message saying: /dev/rda1s1a: Read-only file system (i.e it says that the target partition - which was not mounted anywhere - is read-only) The da1s1a partition has been newfs'ed just before attempting the dd (which was probably not neccessary). If I try to mount /dev/da1s1a the mount succeeds and the mounted filesystem is writable. If I try to dd the block device (/dev/da0s1a) I receive an error message saying that /dev/da0s1a is busy (which is true because it is mounted on / ). The interesting part is that if I try to dd /dev/rsda0s1a on say /dev/rda1s1f it works as expected. However I need to be able to copy /dev/da0s1a to /dev/da1s1a in order to have a completely mirorred disk (everything else is being mirrored using ccd). What I'm doing wrong? Please, mail me directly or Cc me as I'm not subscribed to the freebsd-questions list. Martin --- [PGP KeyID F3F409C4] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message