From owner-freebsd-questions@FreeBSD.ORG Mon Feb 24 18:34:39 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E780CF58 for ; Mon, 24 Feb 2014 18:34:39 +0000 (UTC) Received: from mail-ie0-x235.google.com (mail-ie0-x235.google.com [IPv6:2607:f8b0:4001:c03::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B8B1D1735 for ; Mon, 24 Feb 2014 18:34:39 +0000 (UTC) Received: by mail-ie0-f181.google.com with SMTP id rl12so3851457iec.12 for ; Mon, 24 Feb 2014 10:34:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=3KWegtPUfjKaz07LFYsIGyZOOuD2YFjcV2YeWY3UKro=; b=UaZKfUHa2XXEpHN1NpIJeiuMUPTtZY8eKj6Hzm/5CCI9tRMmBX/aq7EIlDISQx9blS KGvYET07xvi4mpM4i86fwlZsvqiEOe8slNsv2uAO2Z0vSQYpXFKL4+SQPig7tG/N5e2o PT0kw1gc1CO0GVjHE7RVd9aqUCylxxk2c0UBWGGxEla8f3gk7z5MqETKZKxfJuZk6PQC cCOu7ll3ubnz44gyDe7AhN4aYR/IPBFLHx0PK8yApt8cm7usQ2JfRR47DRm90vrJTFhJ ck25QL8OvA7OzByS8fsP6pEy4PJ1XhzTntjSdgbzf6C1yjPxidDM0WWZeSMGksgWOTR0 FywA== MIME-Version: 1.0 X-Received: by 10.50.253.12 with SMTP id zw12mr15172743igc.28.1393266878702; Mon, 24 Feb 2014 10:34:38 -0800 (PST) Received: by 10.43.157.66 with HTTP; Mon, 24 Feb 2014 10:34:38 -0800 (PST) Date: Mon, 24 Feb 2014 10:34:38 -0800 Message-ID: Subject: gptids are not symlinks to /dev/da* From: Chris Stankevitz To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Feb 2014 18:34:40 -0000 Hello, Can you help fill in some detail for the questions I list below? Thank you! Facts: 1. zpool status shows "gptids" like so: gptid/affd7a1f-9c50-11e3-a81e-002590caf078 2. gptids are located under /dev/gptid/ and /dev 3. smartctl does not like gptids but does like /dev/da* "smartctl -a /dev/gptid/affd7a1f-9c50-11e3-a81e-002590caf078" 4. "man gptid" comes up blank 5. the freebsd handbook does not describe gptid 6. google "freebsd gptid" returns a bunch of random stuff Questions: Q1: What is a gptid? A1: It's some kind of system by which drives have the same device name across reboots Q2: How does FreeBSD know which drive corresponds to which gptid? When is the gptid assigned? A2: gptids are written to the first block of the disk during manufacture. Q3: Can I use it like a regular /dev/da? device? A3: No. For example, smartctl takes /dev/da* but not /dev/gptid/* Q4: So gptid is not like the linux symlinks called /dev/disk/by-uuid/* Q4. Apparently not. Q5: Why am I unable to figure out what is a gptid even after attempting to read documentation/google? A5: Maybe you aren't trying hard enough. Thank you! Chris