From owner-freebsd-questions@FreeBSD.ORG Mon Aug 26 04:06:23 2013 Return-Path: Delivered-To: freebsd-questions@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, Warner Losh , freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions 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 .. .. *