From owner-freebsd-current@FreeBSD.ORG Fri Mar 9 10:13:27 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2BA71106566B; Fri, 9 Mar 2012 10:13:27 +0000 (UTC) (envelope-from cochard@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id EF1978FC16; Fri, 9 Mar 2012 10:13:26 +0000 (UTC) Received: by dald2 with SMTP id d2so1485234dal.13 for ; Fri, 09 Mar 2012 02:13:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type; bh=4oE0VYu1eJ1tpGsN3EVYUL6cBYlhQmzZPceC+ewwB6o=; b=blcTeUcqrWVferAFUqlrhXsIOQ0Z0yBT+Rl1PWc2GlV5lLVSnU2Wm5ExU+uKXzXcyp Ufyfk8i9ihOq4w1ayJpAsvejLLagvThj5Yrr8fSHw/5MzowOjFNNEiO5VOorKWmYsrgB FyJPjjoRGTetfoYO8tmA+RMicQWk3Chvt8hj7g//3NHHv0fCe6Lap+0CA13r6zqg67pb vuXW2QbpvSA5m2eb1A23ZUfxFuTlo0xYXm4e8yFxI2/+lkAwltAIVcXxIWV19X4QyUzD 1wdzeKxReCt/v/4Kc65AzsS4JLwdm6X4azf/8jljFt6JpWMVPnZ3PdpDQzcGHTKUJfgE a2fQ== Received: by 10.68.239.195 with SMTP id vu3mr3522338pbc.49.1331286284295; Fri, 09 Mar 2012 01:44:44 -0800 (PST) MIME-Version: 1.0 Sender: cochard@gmail.com Received: by 10.143.58.4 with HTTP; Fri, 9 Mar 2012 01:44:24 -0800 (PST) From: =?ISO-8859-1?Q?Olivier_Cochard=2DLabb=E9?= Date: Fri, 9 Mar 2012 10:44:24 +0100 X-Google-Sender-Auth: pntLUA-N5Usc016rAObpnvFfHeI Message-ID: To: freebsd-current@freebsd.org, freebsd-fs@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: growfs remove ufs/label and can't reset it with tunefs X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2012 10:13:27 -0000 Hi all, once run growfs on a partition that had an UFS label, this label is removed and it's no more possible to re-set it with tunefs. Here is how to reproduce (tested on 8.3 and 9.0): mdconfig -a -t malloc -s 10MB gpart create -s mbr /dev/md0 gpart add -t freebsd -s 5MB /dev/md0 newfs -L THELABEL /dev/md0s1 glabel status | grep THELABEL => Label is present, now we resize the slice: gpart resize -i 1 /dev/md0 glabel status | grep THELABEL => Label is still present, now we growfs the slice: growfs /dev/md0s1 glabel status | grep THELABEL => UFS label disapear ! Ok, I will try to re-set it: tunefs -L THELABEL /dev/md0s1 glabel status | grep THELABEL => Still no label !?! Should I create a PR about this problem ? Regards, Olivier