From owner-freebsd-fs@freebsd.org Wed Jul 5 00:00:54 2017 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0A5D2D9D9F9 for ; Wed, 5 Jul 2017 00:00:54 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from smtp.digiware.nl (smtp.digiware.nl [176.74.240.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C6B30675F2 for ; Wed, 5 Jul 2017 00:00:52 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from router.digiware.nl (localhost.digiware.nl [127.0.0.1]) by smtp.digiware.nl (Postfix) with ESMTP id 289C94486A; Wed, 5 Jul 2017 02:00:44 +0200 (CEST) X-Virus-Scanned: amavisd-new at digiware.com Received: from smtp.digiware.nl ([127.0.0.1]) by router.digiware.nl (router.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Q81mEf0cy8VE; Wed, 5 Jul 2017 02:00:43 +0200 (CEST) Received: from [192.168.10.67] (opteron [192.168.10.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.digiware.nl (Postfix) with ESMTPSA id 8EB2544869 for ; Wed, 5 Jul 2017 02:00:43 +0200 (CEST) To: FreeBSD Filesystems From: Willem Jan Withagen Subject: newfs returns cg 0: bad magic number Message-ID: Date: Wed, 5 Jul 2017 02:00:43 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jul 2017 00:00:54 -0000 Hi, I'm able to create a Ceph RBD backed ggate disk, in /dev/ggate0. It looks like I can: run dd on it gpart the disk create a zpool on it But when I try to create a UFS file system on it, newfs complains straight from the bat. # sudo newfs -E /dev/ggate0p1 /dev/ggate0p1: 1022.0MB (2093056 sectors) block size 32768, fragment size 4096 using 4 cylinder groups of 255.53MB, 8177 blks, 32768 inodes. Erasing sectors [128...2093055] super-block backups (for fsck_ffs -b #) at: 192, 523520, 1046848, 1570176 cg 0: bad magic number Googling returns that this is on and off a problem with new devices, but there is no generic suggestion on how to debug this.... Any/all suggestions are welcome, --WjW