From owner-freebsd-questions@FreeBSD.ORG Mon Dec 21 07:23:32 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 91818106566B for ; Mon, 21 Dec 2009 07:23:32 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email1.allantgroup.com (email1.emsphone.com [199.67.51.115]) by mx1.freebsd.org (Postfix) with ESMTP id 229108FC0C for ; Mon, 21 Dec 2009 07:23:31 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email1.allantgroup.com (8.14.0/8.14.0) with ESMTP id nBL7NVsR069587 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 21 Dec 2009 01:23:31 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.3/8.14.3) with ESMTP id nBL7NVpR090996 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 21 Dec 2009 01:23:31 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.3/8.14.3/Submit) id nBL7NUKh090995; Mon, 21 Dec 2009 01:23:30 -0600 (CST) (envelope-from dan) Date: Mon, 21 Dec 2009 01:23:30 -0600 From: Dan Nelson To: kes-kes@yandex.ru Message-ID: <20091221072330.GC98917@dan.emsphone.com> References: <1163675609.20091220201912@yandex.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1163675609.20091220201912@yandex.ru> X-OS: FreeBSD 7.2-STABLE User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: ClamAV version 0.94.1, clamav-milter version 0.94.1 on email1.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (email1.allantgroup.com [199.67.51.78]); Mon, 21 Dec 2009 01:23:31 -0600 (CST) X-Scanned-By: MIMEDefang 2.45 Cc: freebsd-questions@freebsd.org Subject: Re: Interesting hostid X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Dec 2009 07:23:32 -0000 In the last episode (Dec 20): > Why hostid is so simpel? > Dec 20 19:54:15 vpn_shadow kernel: Setting hostuuid: 11111111-1111-1111-1111-111111111111. It's probably reading the value from your BIOS, and older ones don't actually put a unique value in there. If you run "kenv smbios.system.uuid", what does it print? The hostid is currently only used by the zfs module to ensure that you don't accidentally mount the wrong pools if you move disks from machine to machine. The file /etc/hostid overrides the bios value, so you can run "uuidgen > /etc/hostid" to set a new one if you have two machines like this. If you only have one, then you don't need to bother. -- Dan Nelson dnelson@allantgroup.com