Re: Bug#595790: hostid: useless unless fixed
- To: Carlos Alberto Lopez Perez <clopez@igalia.com>, 595790@bugs.debian.org
- Cc: Bob Proulx <bob@proulx.com>, martin f krafft <madduck@debian.org>, pkg-zfsonlinux-devel@lists.alioth.debian.org, Debian GNU/kBSD <debian-bsd@lists.debian.org>
- Subject: Re: Bug#595790: hostid: useless unless fixed
- From: Michael Stone <mstone@debian.org>
- Date: Wed, 20 Feb 2013 19:49:46 -0500
- Message-id: <[🔎] 188299ba-7bc0-11e2-85e0-001cc0cda50c@msgid.mathom.us>
- Mail-followup-to: Michael Stone <mstone@debian.org>, Carlos Alberto Lopez Perez <clopez@igalia.com>, 595790@bugs.debian.org, Bob Proulx <bob@proulx.com>, martin f krafft <madduck@debian.org>, pkg-zfsonlinux-devel@lists.alioth.debian.org, Debian GNU/kBSD <debian-bsd@lists.debian.org>
- In-reply-to: <[🔎] 51256560.7010701@igalia.com>
- References: <20100906173518.GA22201@piper.oerlikon.madduck.net> <51242E84.6000307@igalia.com> <51252C1A.3060704@igalia.com> <20130220213825.GA16789@hysteria.proulx.com> <8b6ba8a4-7bb1-11e2-894e-001cc0cda50c@msgid.mathom.us> <[🔎] 51256560.7010701@igalia.com>
On Thu, Feb 21, 2013 at 01:08:00AM +0100, Carlos Alberto Lopez Perez wrote:
When you create a ZFS pool the value of the hostid is stored inside it.
When the system is going to import a pool it checks if the hostid stored
inside the pool matches the current host hostid. If it don't matches it
refuses to import the pool.
Not suprising: sunos is one of those legacy systems where old scripts
tend to assume hostid is a system serial number. :)
We are working on packaging ZoL (ZFS on Linux native with DKMS) [1] for
Debian and we are checking how we can solve this issue.
I'd suggest an application-specific UUID incorporating the hostname.
Mike Stone
Attachment:
signature.asc
Description: Digital signature
Reply to: