Date: Wed, 5 Jul 2017 08:14:58 +0300 From: Konstantin Belousov <kostikbel@gmail.com> To: Willem Jan Withagen <wjw@digiware.nl> Cc: FreeBSD Filesystems <freebsd-fs@freebsd.org> Subject: Re: newfs returns cg 0: bad magic number Message-ID: <20170705051458.GU1935@kib.kiev.ua> In-Reply-To: <c98c813c-c393-9ba5-5c70-b9575fe59553@digiware.nl>
index | next in thread | previous in thread | raw e-mail
On Wed, Jul 05, 2017 at 02:00:43AM +0200, Willem Jan Withagen wrote: > 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, Typically this error means that the drive returns wrong data, not the bytes that were written to it and expected to be read.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170705051458.GU1935>
