From owner-freebsd-drivers@FreeBSD.ORG Mon Aug 26 04:06:23 2013 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D1CDED46; Mon, 26 Aug 2013 04:06:23 +0000 (UTC) (envelope-from varanasisai@gmail.com) Received: from mail-vb0-x235.google.com (mail-vb0-x235.google.com [IPv6:2607:f8b0:400c:c02::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 569592618; Mon, 26 Aug 2013 04:06:23 +0000 (UTC) Received: by mail-vb0-f53.google.com with SMTP id i3so1652318vbh.26 for ; Sun, 25 Aug 2013 21:06:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=nN3B7dMMvkjRdC/YcUrIEeVj99c9ANCcayP3XXZh1Ks=; b=aHMVif+i8uqfaltDV8xKahFA0s89mt1z20RqHc5EfpqmPoZeYaB7Vo3Uuus67SBckS TE5HuRHKimwQslrG8QC+a+uWXtaG6w7Q9L/sergs1Yb+M0r/ILppbIXiAcFClScNGrQ6 t4C834Phl8RJMrDUYBsD6E8YGv1jA79fNW7KtnxeRmRw5WhcnEMRel3IJqBLOt0OsFPc 6iGiVn/llg3XYOMeVLVmKCMdYxjlul9hX9xEZFSC6UCSxTpzeGISL/km3nlTRI2UOQWn JsHUJ6kR1zcUBhdOvLl0AH+FEEtLJdi7PPtkrXqI0/SL9R75Az64qztEU+ZDvCnEuVG4 HPwA== MIME-Version: 1.0 X-Received: by 10.58.100.234 with SMTP id fb10mr12965808veb.5.1377489981141; Sun, 25 Aug 2013 21:06:21 -0700 (PDT) Received: by 10.52.233.4 with HTTP; Sun, 25 Aug 2013 21:06:21 -0700 (PDT) In-Reply-To: <201308231444.15353.jhb@freebsd.org> References: <503E443D-BC48-4284-8FC4-22B0A50DF147@bsdimp.com> <201308231444.15353.jhb@freebsd.org> Date: Mon, 26 Aug 2013 09:36:21 +0530 Message-ID: Subject: Re: UUID in fstab. From: varanasi sainath To: John Baldwin Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-fs@freebsd.org, freebsd-drivers@freebsd.org, freebsd-questions@freebsd.org X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Aug 2013 04:06:23 -0000 Thanks John, I have tried as you suggested using a Live CD and yes the partitions uuid's are present in gptid .. I found the UUID's in /dev/gptid - how do I determine which uid corresponds to which partition (ufs or swap or boot) (I used glabel status and after some trial and error I found them) edited the fstab accordingly and everything is working now .. Is there a way to have both the /dev/XXXpYY and /dev/gptid/ present in /dev/ Thanks again for your support. On Sat, Aug 24, 2013 at 12:14 AM, John Baldwin wrote: > On Wednesday, August 21, 2013 4:38:00 pm varanasi sainath wrote: > > Thanks for the support. > > > > I want to use the uuid's found using sysctl -a in fstab. > > /dev/gptid/ has only uuid for boot partition. > > You probably have the other GPT paritions already mounted via > another name which removes the names in /dev/gptid. Try > booting an install CD or USB stick such that you use an > alternate root fs and don't mount any of the partitions on > your drive. Then you should be able to see the entries in > /dev/gptid and update your fstab appropriately. If you > console access you could also try to update your fstab to > use /dev/gptid/ directly instead of /dev/XXXpYY and > reboot. If it works I believe the /dev/XXXpYY names will > now be gone from /dev and the /dev/gptid names present > instead. > > -- > John Baldwin > -- Sainath Varanasi Hyderabad 09000855250 *My Website : http://s21embedded.webs.com **Linked In Profile : http://in.linkedin.com/pub/sainathvaranasi .. .. * From owner-freebsd-drivers@FreeBSD.ORG Mon Aug 26 14:17:50 2013 Return-Path: Delivered-To: freebsd-drivers@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 ESMTP id EF46D61C for ; Mon, 26 Aug 2013 14:17:50 +0000 (UTC) (envelope-from PCullen@attotech.com) Received: from NOTESERV1.attotech.com (sw.attotech.com [208.69.85.34]) by mx1.freebsd.org (Postfix) with ESMTP id CA9FD273F for ; Mon, 26 Aug 2013 14:17:50 +0000 (UTC) Subject: AUTO: Peter Cullen is out of the office. (returning 08/30/2013) Auto-Submitted: auto-generated From: PCullen@attotech.com To: freebsd-drivers@freebsd.org Message-ID: Date: Mon, 26 Aug 2013 10:01:27 -0400 X-MIMETrack: Serialize by Router on NOTESERV1/SERV/ATTO(Release 9.0|March 08, 2013) at 08/26/2013 10:16:41 AM MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Aug 2013 14:17:51 -0000 I am out of the office until 08/30/2013. I will respond to your message when I return. Note: This is an automated response to your message "freebsd-drivers Digest, Vol 248, Issue 1" sent on 8/26/2013 8:00:25 AM. This is the only notification you will receive while this person is awa= y.= From owner-freebsd-drivers@FreeBSD.ORG Mon Aug 26 18:27:47 2013 Return-Path: Delivered-To: freebsd-drivers@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 ESMTP id E0BBBCBB; Mon, 26 Aug 2013 18:27:47 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id AC026263C; Mon, 26 Aug 2013 18:27:47 +0000 (UTC) Received: from jhbbsd.localnet (unknown [38.105.238.108]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 528FFB941; Mon, 26 Aug 2013 14:27:46 -0400 (EDT) From: John Baldwin To: varanasi sainath Subject: Re: UUID in fstab. Date: Mon, 26 Aug 2013 10:24:03 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p28; KDE/4.5.5; amd64; ; ) References: <201308231444.15353.jhb@freebsd.org> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201308261024.03553.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Mon, 26 Aug 2013 14:27:46 -0400 (EDT) Cc: freebsd-fs@freebsd.org, freebsd-drivers@freebsd.org, freebsd-questions@freebsd.org X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Aug 2013 18:27:48 -0000 On Monday, August 26, 2013 12:06:21 am varanasi sainath wrote: > Thanks John, I have tried as you suggested using a Live CD and yes the > partitions uuid's are present in gptid .. > I found the UUID's in /dev/gptid - how do I determine which uid corresponds > to which partition (ufs or swap or boot) (I used glabel status and after > some trial and error I found them) edited the fstab accordingly and > everything is working now .. The other way would be to examine the kern.geom.confxml output directly as I think you can probably use that to map between them. > Is there a way to have both the /dev/XXXpYY and /dev/gptid/ present > in /dev/ Not currently. freebsd-geom@ is probably the best place to ask that question. -- John Baldwin From owner-freebsd-drivers@FreeBSD.ORG Mon Aug 26 19:10:15 2013 Return-Path: Delivered-To: freebsd-drivers@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 ESMTP id 31ED4A31; Mon, 26 Aug 2013 19:10:15 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email2.allantgroup.com (email2.emsphone.com [199.67.51.116]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id EAC4E2929; Mon, 26 Aug 2013 19:10:14 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [172.17.17.101]) by email2.allantgroup.com (8.14.5/8.14.5) with ESMTP id r7QJ28BZ024646 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 26 Aug 2013 14:02:08 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.7/8.14.6) with ESMTP id r7QJ28hI051455 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 26 Aug 2013 14:02:08 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.7/8.14.7/Submit) id r7QJ28ge051454; Mon, 26 Aug 2013 14:02:08 -0500 (CDT) (envelope-from dan) Date: Mon, 26 Aug 2013 14:02:08 -0500 From: Dan Nelson To: John Baldwin Subject: Re: UUID in fstab. Message-ID: <20130826190208.GA15654@dan.emsphone.com> References: <201308231444.15353.jhb@freebsd.org> <201308261024.03553.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201308261024.03553.jhb@freebsd.org> X-OS: FreeBSD 9.1-STABLE User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.97.8 at email2.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (email2.allantgroup.com [172.17.19.78]); Mon, 26 Aug 2013 14:02:09 -0500 (CDT) X-Spam-Status: No, score=-3.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on email2.allantgroup.com X-Scanned-By: MIMEDefang 2.73 Cc: freebsd-fs@freebsd.org, freebsd-drivers@freebsd.org, freebsd-questions@freebsd.org X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Aug 2013 19:10:15 -0000 In the last episode (Aug 26), John Baldwin said: > On Monday, August 26, 2013 12:06:21 am varanasi sainath wrote: > > Thanks John, I have tried as you suggested using a Live CD and yes the > > partitions uuid's are present in gptid .. > > I found the UUID's in /dev/gptid - how do I determine which uid > > corresponds to which partition (ufs or swap or boot) (I used glabel > > status and after some trial and error I found them) edited the fstab > > accordingly and everything is working now .. "gpart list" will show detailed info for each provider, including the uuid for each GPT partition. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-drivers@FreeBSD.ORG Tue Aug 27 07:19:10 2013 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A8BD6726; Tue, 27 Aug 2013 07:19:10 +0000 (UTC) (envelope-from varanasisai@gmail.com) Received: from mail-vc0-x22e.google.com (mail-vc0-x22e.google.com [IPv6:2607:f8b0:400c:c03::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2DF822149; Tue, 27 Aug 2013 07:19:10 +0000 (UTC) Received: by mail-vc0-f174.google.com with SMTP id gd11so2686031vcb.5 for ; Tue, 27 Aug 2013 00:19:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=xVRbdNYq6HH8EFMX/SRn/kLoCJxJKJbKby+BXxbYK0A=; b=c6z4j5wm13LOmtT+gkX9O1OQhCUWu3hiOlUonUBC1p2OMq/PgEQ9nrcuuOvzJSrPBr mkH95tH9X1PEkQ/3cBHdl2DF6GhkrWeUB0vaXn0oBFJi11nxnODCAKuTzbUvxJ2ru7Hj WgkPUIdmKsmSd4lc2Ri3VWY9iElK3LJ8+oHrQzf2hLT8YReD4ncG6MQYR3O9PrzhXKVc 47AMiSvV0D9o4E234lOBtvbNAyEF9CDJpK7IMY6bqfzHJLTcuVDR2MKoePsxDsIY9udA f67tIGpZcK3mv/hKTen0z6m44pDGZTrHCUHWkMoTaSY5Mt+mViQZonqssOHEcOICfu2i ZxjA== MIME-Version: 1.0 X-Received: by 10.220.16.73 with SMTP id n9mr83412vca.24.1377587949289; Tue, 27 Aug 2013 00:19:09 -0700 (PDT) Received: by 10.52.233.4 with HTTP; Tue, 27 Aug 2013 00:19:09 -0700 (PDT) In-Reply-To: <20130826190208.GA15654@dan.emsphone.com> References: <201308231444.15353.jhb@freebsd.org> <201308261024.03553.jhb@freebsd.org> <20130826190208.GA15654@dan.emsphone.com> Date: Tue, 27 Aug 2013 12:49:09 +0530 Message-ID: Subject: Re: UUID in fstab. From: varanasi sainath To: Dan Nelson Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-fs@freebsd.org, freebsd-drivers@freebsd.org, freebsd-questions@freebsd.org X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Aug 2013 07:19:10 -0000 Hi Dan, Thank you, gpart list does exactly what I needed. I will write a script which will list uuids, type and name of the device. Thanks. On Tue, Aug 27, 2013 at 12:32 AM, Dan Nelson wrote: > In the last episode (Aug 26), John Baldwin said: > > On Monday, August 26, 2013 12:06:21 am varanasi sainath wrote: > > > Thanks John, I have tried as you suggested using a Live CD and yes the > > > partitions uuid's are present in gptid .. > > > I found the UUID's in /dev/gptid - how do I determine which uid > > > corresponds to which partition (ufs or swap or boot) (I used glabel > > > status and after some trial and error I found them) edited the fstab > > > accordingly and everything is working now .. > > "gpart list" will show detailed info for each provider, including the uuid > for each GPT partition. > > -- > Dan Nelson > dnelson@allantgroup.com > -- Sainath Varanasi Hyderabad 09000855250 *My Website : http://s21embedded.webs.com **Linked In Profile : http://in.linkedin.com/pub/sainathvaranasi .. .. *