Date: Mon, 7 Oct 2024 12:59:01 +0200 From: Polytropon <freebsd@edvax.de> To: Andrea Venturoli <ml@netfence.it> Cc: freebsd-questions@freebsd.org Subject: Re: USB storage key error Message-ID: <20241007125901.8810b1bd.freebsd@edvax.de> In-Reply-To: <df29cace-c44f-4f13-94b3-8c1b11d46732@netfence.it> References: <df29cace-c44f-4f13-94b3-8c1b11d46732@netfence.it>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 5 Oct 2024 13:17:58 +0200, Andrea Venturoli wrote: > I'm getting this: > > kernel: UFS /dev/da0 (/mnt/HD) cylinder checkhash failed: cg 18, cgp: = 0x5b68e98 !=3D bp: 0x352516c > > Does it mean the USB key is broken and I can throw it away? Quite possible. I recently had a similar problem - stick went to "no write" mode after having multiple fsck errors and system crashes, including damaged binaries... > I can write to it, unmount it, but when I try to mount it again it gives= : > > mount: /dev/da0: R/W mount on /mnt/HD denied. Filesystem is not clean = - run fsck.: Operation not permitted Run fsck manually, two or three times. Also try to re-initalize the file system. Also perform a dd or tar test with the stick. If any test fails, it's designed to be thrown away. Any mount operation (except "mount -r") will intendedly (!) fail if the file system is not in a clean state. So performing # fsck -yf /dev/da0 is needed, as mentioned maybe multiple times. =2D- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20241007125901.8810b1bd.freebsd>