Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Apr 1999 15:04:24 +0200 (MET DST)
From:      Martin Machacek <mm@i.cz>
To:        freebsd-questions@freebsd.org
Subject:   copying stuff onto an 'a' partition
Message-ID:  <XFMail.990413150424.mm@i.cz>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.990413150424.mm>