Date: Wed, 27 Apr 2016 13:35:39 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> To: Palle Girgensohn <girgen@FreeBSD.org>, freebsd-fs@freebsd.org Subject: Re: Moved disks to new machine. Zfs won't boot Message-ID: <5720A40B.2070305@quip.cz> In-Reply-To: <0E6A1067-B066-4C73-8D9C-BFA95C6FA338@FreeBSD.org> References: <0E6A1067-B066-4C73-8D9C-BFA95C6FA338@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Palle Girgensohn wrote on 04/27/2016 12:53: > Hi, > > We had a faulty machine and thought the simple solution to get our systems online would be to move the disks to another identical box. > > But now the ZFS will not boot. > > I booted as USB stick and I can see the zfs pool after importing it with > > zpool import -o altroot=/mnt -f tank > > after this, I can see the pool and the file systems, but a reboot will not see the disk in BIOS, and I have my root there... :-/ > > gpart bootcode is installed (again, should really have been there already) > > > > The machines are HP DL380 G7 woth P410i. > > any ideas? zpool.cache? I think altroot disabled refreshing of zpool.cache. So you need to export and import pool without altroot option or you can manually copy this file. (I did something like this few years ago so I don't remember it well) The next problem can be the RAID controller. Was this same controller on an old machine too? There are some controllers that does not show all attached drives at boot time so RAIDZ configurations cannot boot on it. Miroslav Lachman
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5720A40B.2070305>
