Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752722AbbFHITD (ORCPT ); Mon, 8 Jun 2015 04:19:03 -0400 Received: from tama50.ecl.ntt.co.jp ([129.60.39.147]:51635 "EHLO tama50.ecl.ntt.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751296AbbFHISy (ORCPT ); Mon, 8 Jun 2015 04:18:54 -0400 Message-ID: <55754FDA.10406@lab.ntt.co.jp> Date: Mon, 08 Jun 2015 17:18:34 +0900 From: Ryusuke Konishi Organization: NTT OSS Center User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Heinz Diehl CC: linux-kernel@vger.kernel.org, linux-nilfs@vger.kernel.org Subject: Re: NILFS2: double uuid References: <20150608064314.GA3172@fritha.org> In-Reply-To: <20150608064314.GA3172@fritha.org> X-TagToolbar-Keys: D20150608171834871 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-TM-AS-MML: disable Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2021 Lines: 67 (CCed to linux-nilfs@vger.kernel.org) Hi Heinz, On 2015/06/08 15:43, Heinz Diehl wrote: > Hi, > > a nilfs2 formatted disk fails to mount via fstab due to double uuid's. > See lsblk output below. The logs indicate that the system attempts to > mount /dev/sdb rather than /dev/sdb1, which of course fails. In > addition, /dev/sdb should not have any uuid at all. Don't know why > that happens. > > The phenomenon is easily reproducible: format a partition with nilfs2, > register it with the proper uuid in fstab and reboot. Tried both with > USB memory and real HDD. > > [root@keera ~]# lsblk -f > NAME FSTYPE LABEL UUID MOUNTPOINT > sdb ff17dda9-fcae-42e7-a438-9087de58902e > `-sdb1 xfs ff17dda9-fcae-42e7-a438-9087de58902e > > Thanks, > Heinz On 2015/06/08 15:49, Heinz Diehl wrote: > On 08.06.2015, Heinz Diehl wrote: > >> [root@keera ~]# lsblk -f >> NAME FSTYPE LABEL UUID MOUNTPOINT >> sdb ff17dda9-fcae-42e7-a438-9087de58902e >> `-sdb1 xfs ff17dda9-fcae-42e7-a438-9087de58902e > > Copy error: replace xfs with nilfs2. Sorry! I couldn't reproduce the issue (in a CentOS 7 environment). Could you tell us the version information of distro, lsblk, libblkid, nilfs-utils, and kernel you are using ? The following is an example of mine: $ lsblk -f NAME FSTYPE LABEL UUID MOUNTPOINT sda └─sda1 nilfs2 9dcd01c0-2bc8-41bf-a400-8ad8755aac6a $ lsblk --version lsblk from util-linux 2.23.2 $ lscp -V lscp (nilfs-utils 2.2.3) $ rpm -q libblkid util-linux libblkid-2.23.2-22.el7_1.x86_64 util-linux-2.23.2-22.el7_1.x86_64 $ uname -r 4.1.0-rc7 Regards, Ryusuke Konishi -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/