Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Apr 2023 12:51:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        fs@FreeBSD.org
Subject:   [Bug 271105] ext2fs cant mount disks with 4k native sector size
Message-ID:  <bug-271105-3630-QntUwueDZO@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-271105-3630@https.bugs.freebsd.org/bugzilla/>
References:  <bug-271105-3630@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271105

--- Comment #6 from bolvan <k@vodka.home.kg> ---
Actually it's easy to reproduce in qemu


qemu-img.exe create -f raw test.raw 1G
qemu-img.exe create -f raw test2.raw 1G

qemu-system-x86_64.exe -drive format=3Dqcow2,file=3Df.qcow2 -drive
format=3Draw,file=3Dtest.raw,id=3DD24,if=3Dnone -device
nvme,drive=3DD24,serial=3D1234,physical_block_size=3D4096,logical_block_siz=
e=3D4096=20
-drive format=3Draw,file=3Dtest2.raw,id=3DD25,if=3Dnone -device
nvme,drive=3DD25,serial=3D1235,physical_block_size=3D512,logical_block_size=
=3D512   -m
4096

f.qcow2 contains freebsd
test.raw has 4096 sector size
test2.raw has 512 sector size

mke2fs on both nvd0 and nvd1
mount first fails
mount second succeeds

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271105-3630-QntUwueDZO>