From owner-freebsd-fs@FreeBSD.ORG Wed Aug 21 06:18:22 2013 Return-Path: Delivered-To: freebsd-fs@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 F2F34E1D for ; Wed, 21 Aug 2013 06:18:21 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-ob0-f170.google.com (mail-ob0-f170.google.com [209.85.214.170]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BA2092974 for ; Wed, 21 Aug 2013 06:18:21 +0000 (UTC) Received: by mail-ob0-f170.google.com with SMTP id eh20so10052obb.29 for ; Tue, 20 Aug 2013 23:18:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=ZmK/2DTE7dxWqo0p6IXup4GNRDuZj/wp0o8zptUCJe4=; b=hFDJ+ux2tYHtqO6afPF8tbwlNF4FJq7ey5k98VNvDwNY2hz7An10FM9hMbzArNlmRi OnUuflzcWrSx3At9uHdvSJj/JK59doE/2xOG66CHUeBqfVfTunpHIwrimq970jjR1O/K 1tPIs7kOaprT5HVsuNpf4v/iUCzIlAfXsr6jC9PBd7UFVk9r0pzHCXqNpm6pVRrVXrW7 salmPkhSrovOE9nufG5+o4PLcy81DECeH0nnjeZlFGuiCQ9Joik1CZPmbU1gtgULycE0 JbMZetn+GUZotGxyORhkhmyis7Uksc1udmvUYkVIYhW4io55otCerar7HI7+qoHDYykA lVxQ== X-Gm-Message-State: ALoCoQlaOK38qKOdyAk+6wLc47+SLJGwxeat5FJMjK1vHUNbFeqH0EPyLR9gjytJeBTXuGK9rkV9 X-Received: by 10.60.45.65 with SMTP id k1mr6047787oem.48.1377065895588; Tue, 20 Aug 2013 23:18:15 -0700 (PDT) Received: from 53.imp.bsdimp.com (50-78-194-198-static.hfc.comcastbusiness.net. [50.78.194.198]) by mx.google.com with ESMTPSA id hl3sm8168629obb.0.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 20 Aug 2013 23:18:14 -0700 (PDT) Sender: Warner Losh Subject: Re: UUID in fstab. Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: Date: Wed, 21 Aug 2013 00:18:12 -0600 Content-Transfer-Encoding: 7bit Message-Id: <503E443D-BC48-4284-8FC4-22B0A50DF147@bsdimp.com> References: To: varanasi sainath X-Mailer: Apple Mail (2.1085) Cc: freebsd-fs@freebsd.org, freebsd-drivers@freebsd.org, freebsd-questions@freebsd.org X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Aug 2013 06:18:22 -0000 /dev/gptid/$UID maybe what you are looking for? Warner On Aug 21, 2013, at 12:16 AM, varanasi sainath wrote: > Hello, > > How to find UUID's for Disk volumes. > > I have used sysctl -a | grep uuid and was able to find > freebsd-swap > b55ff220-dcdd-11e2-a324-00155d55b20c > > freebsd-ufs > b55762fc-dcdd-11e2-a324-00155d55b20c > > are these the corresponding UUID's for swap and ufs. > > I din't find /dev/ufsid folder to get the UUID's > > I have used glabel and was able to create labels, system boots well, > everything works fine but I don't want to use labels (operating constraint: > to create labels I have to boot into single user mode, is there a way to > create labels on mounted partitions (I hope not)). > > I found gptid folder which has boot UUID can this be used? > > How to use UUID's in fstab? > > I have tried using > # Device Mountpoint FStype Options Dump > Pass# > uuid=b55762fc-dcdd-11e2-a324-00155d55b20c / ufs rw 1 1 > > that din't work. > > I found (from a post) /dev/ufsid/ should be used in fstab but I don't > see ufsid in /dev. Do we need to create this or does the system does it? > > Note: > Using FreeBSD 9.1. created partitions using the guided partition tool. > > Reason: using a SCSI storage driver which changes the drive name > accordingly but freebsd installer (boot) is unable to find the drives which > results in boot failure. > > Thanks, > Sainath.* > * > * > * > *"Learning is the key to excellence".* > _______________________________________________ > freebsd-drivers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-drivers > To unsubscribe, send any mail to "freebsd-drivers-unsubscribe@freebsd.org"