Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jul 2017 02:00:43 +0200
From:      Willem Jan Withagen <wjw@digiware.nl>
To:        FreeBSD Filesystems <freebsd-fs@freebsd.org>
Subject:   newfs returns cg 0: bad magic number
Message-ID:  <c98c813c-c393-9ba5-5c70-b9575fe59553@digiware.nl>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c98c813c-c393-9ba5-5c70-b9575fe59553>