6 freebsd-ufs (12G)
#
What I want is to mirror the whole of the boot disk to da1, which
is identical to da0, but following Marcel's advice, will apply
gmirror per partition.
So starting with efi partition:
First I create GPT scheme on da1
# gpart create -s gpt da1
da1 created
# gpart show
On Jul 3, 2009, at 12:12 PM, Anton Shterenlikht wrote:
now to mirror root partition.
My problem is that root is mounted and cannot (?) be unmounted,
unlike /efi,
on the live system.
# gpart add -b 819234 -s 1048576 -t freebsd-ufs da1
da1p2 added
#
# gmirror label -vb round-robin root
On Fri, Jul 03, 2009 at 01:18:28PM +0200, Alban Hertroys wrote:
On Jul 3, 2009, at 12:12 PM, Anton Shterenlikht wrote:
now to mirror root partition.
My problem is that root is mounted and cannot (?) be unmounted,
unlike /efi,
on the live system.
# gpart add -b 819234 -s 1048576
On Wed, Jul 01, 2009 at 10:00:54PM +0200, Wojciech Puchar wrote:
It's better to use gmirror per partition.
Like this?
# gmirror label -vb round-robin root /dev/da0p2
gmirror: Can't store metadata on /dev/da0p2: Operation not permitted.
isn't that partition accessed by other process
# gmirror label -vb round-robin root /dev/da0p2
gmirror: Can't store metadata on /dev/da0p2: Operation not permitted.
isn't that partition accessed by other process or mounted?
should it not be mounted?
yes it should not, no matter what architecture.
to use gmirror per partition.
Like this?
# gmirror label -vb round-robin root /dev/da0p2
gmirror: Can't store metadata on /dev/da0p2: Operation not permitted.
#
I've read some boot disk gmirror examples, e.g.
http://people.freebsd.org/~rse/mirror
however, all examples I've seen are for i386
It's better to use gmirror per partition.
Like this?
# gmirror label -vb round-robin root /dev/da0p2
gmirror: Can't store metadata on /dev/da0p2: Operation not permitted.
isn't that partition accessed by other process or mounted?
___
freebsd