Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Oct 2008 15:37:06 +0200
From:      "Alexander Leidinger" <Alexander@Leidinger.net>
To:        "Scott Lambert" <lambert@lambertfam.org>
Cc:        freebsd-jail@FreeBSD.org
Subject:   Re: Migration of Jail from one host to another?
Message-ID:  <20081001153706.169043ug9vlsaim8@webmail.leidinger.net>
In-Reply-To: <20080702202235.GA16820@sysmon.tcworks.net>
References:  <20080702202235.GA16820@sysmon.tcworks.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting "Scott Lambert" <lambert@lambertfam.org> (from Wed, 2 Jul 2008 =20
15:22:35 -0500):

> I'm probably doing this completely wrong.  I setup a couple of jails
> using simple image files because I thought that would make migration
> to another server more straightforward.  I am now trying to migrate my
> first jail.

A little bit late, but I moved 2 ezjails today (on 8-current). It was =20
setup inside a ZFS, not in an image. It worked without problems (I =20
transferred the ZFS data (zfs send | zfs receive), the fstab file, and =20
the ezjail config file).

>  /usr/local/etc/rc.d/ezjail.sh start
>  ezjailConfiguring jails:.
> Starting jails: testnetmount: /home/ezjails/migrate.jail.device : =20
> Operation not permitted

You have a problem here. You may want to look into ezjail what the =20
testnetmount is doing. I assume there's some problem with creating the =20
md device.

> df: /home/ezjails/migrate.jail/dev: No such file or directory
> mount: /home/ezjails/migrate.jail/dev: No such file or directory

I think this and the rest are followup errors of the failed mount of =20
the disk image.

Bye,
Alexander.

--=20
You may get an opportunity for advancement today.  Watch it!

http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID =3D B0063FE7
http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID =3D 72077137



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