Date: Sun, 9 Oct 2016 12:59:44 +0200 From: "Terrence Koeman" <terrence@darkness-reigns.com> To: <freebsd-geom@freebsd.org> Cc: "'Pawel Jakub Dawidek'" <pjd@FreeBSD.org> Subject: RE: fsck geom geli volume? Message-ID: <46ad01d2221c$3e0aa780$ba1ff680$@darkness-reigns.com> In-Reply-To: <20161009071639.GA26588@garage.freebsd.pl> References: <467301d221ea$f3d6f320$db84d960$@darkness-reigns.com> <20161009071639.GA26588@garage.freebsd.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
[snip] > > Please start by running: > > # ktrace fsck -t ufs -pf /dev/vtbd1.eli > > and see where exactly it is failing and with what error (run kdump and > look for attempts to open /dev/vtbd1.eli device). Unfortunately, I don't have KTRACE compiled in on this machine. However, I found that fsck would work when I commented the attempt at mounting & rebooted. I investigated and I found that when I only run "geli attach" I can run fsck, but when I attach and then try to mount (which fails due to dirty fs) then fsck thinks the fs is read-only. Whether I then detach and attach again doesn't matter, fsck will think /dev/vtbd1.eli is read-only until reboot. -- Regards, Terrence Koeman, PhD/MTh/BPsy Darkness Reigns (Holding) B.V. Please quote relevant replies.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46ad01d2221c$3e0aa780$ba1ff680$>