Created attachment 874 [details] the dmesg kernel log Description of problem: install A guest os (xfs) will be failed when the disk file is in a ocfs2(cluster size 1M ) of a host (the host os pagesize 64K ) Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1: hostos aarch64 environment, pagesize 64K 2: mkfs.ocfs2 -b 4k -C 1M -L V1637060513 -N 32 -F -x /dev/sdi4 this issue just happen when clustersize is not 4k(default) 3: mount /dev/sdi4 /mnt/ 4: qemu-img create -f qcow2 /mnt/ocfs2issue 20G 5: use the /mnt/ocfs2issue file as a disk image to install a OS. 6: when the default filesystem is xfs, and format the disk, it will report some error Actual results: the install failed Expected results: the install successed Additional info:
Created attachment 875 [details] Kylin-Server-10-SP1-Release-Build20-20210518-aarch64.iso install log
(In reply to cybertan from comment #0) > Created attachment 874 [details] > the dmesg kernel log > > Description of problem: > > install A guest os (xfs) will be failed when the disk file is in a > ocfs2(cluster size 1M ) of a host (the host os pagesize 64K ) > > > Version-Release number of selected component (if applicable): > > > How reproducible: > > > Steps to Reproduce: > > > 1: hostos aarch64 environment, pagesize 64K > 2: mkfs.ocfs2 -b 4k -C 1M -L V1637060513 -N 32 -F -x /dev/sdi4 > this issue just happen when clustersize is not 4k(default) > 3: mount /dev/sdi4 /mnt/ > 4: qemu-img create -f qcow2 /mnt/ocfs2issue 20G > 5: use the /mnt/ocfs2issue file as a disk image to install a OS. > 6: when the default filesystem is xfs, and format the disk, it will report > some error > > > Actual results: > > the install failed > > Expected results: > the install successed > > Additional info: What's your kernel version?
(In reply to josephqi from comment #2) > (In reply to cybertan from comment #0) > > Created attachment 874 [details] > > the dmesg kernel log > > > > Description of problem: > > > > install A guest os (xfs) will be failed when the disk file is in a > > ocfs2(cluster size 1M ) of a host (the host os pagesize 64K ) > > > > > > Version-Release number of selected component (if applicable): > > > > > > How reproducible: > > > > > > Steps to Reproduce: > > > > > > 1: hostos aarch64 environment, pagesize 64K > > 2: mkfs.ocfs2 -b 4k -C 1M -L V1637060513 -N 32 -F -x /dev/sdi4 > > this issue just happen when clustersize is not 4k(default) > > 3: mount /dev/sdi4 /mnt/ > > 4: qemu-img create -f qcow2 /mnt/ocfs2issue 20G > > 5: use the /mnt/ocfs2issue file as a disk image to install a OS. > > 6: when the default filesystem is xfs, and format the disk, it will report > > some error > > > > > > Actual results: > > > > the install failed > > > > Expected results: > > the install successed > > > > Additional info: > > What's your kernel version? i have test the host kernel 4.19.90 and 5.10 (the lastest openeuleros 20-03-LTS and 22-03-LTS)
1: The x86 default page size is 4k , and i have not meet this issue. 2: the aarch64 default pagesize is 64K, centos8, kylinos, openeuleros ..., when the ocfs2 filesystem clustersize is 1M. and the guest os use xfs, and this issue will reproduce always. 3: i have not test the lastest kernel, i just have phytium2500 cpu, and maybe cherry some special patch on the laster kernel for host boot. and i will do this test later.
why you raised a issue of openeuler on openanolis bugzilla?
(In reply to gaoxiang from comment #5) > why you raised a issue of openeuler on openanolis bugzilla? sorry, it is my mistake. i will use the laster openanolis kernel to test. maybe reopen it if we can reproduce it.
(In reply to cybertan from comment #6) > (In reply to gaoxiang from comment #5) > > why you raised a issue of openeuler on openanolis bugzilla? > > sorry, it is my mistake. > i will use the laster openanolis kernel to test. maybe reopen it if we can > reproduce it. currently openanolis aarch64 default page size is 4k.
(In reply to cybertan from comment #4) > 1: The x86 default page size is 4k , and i have not meet this issue. > > 2: the aarch64 default pagesize is 64K, centos8, kylinos, openeuleros ..., > when the ocfs2 filesystem clustersize is 1M. > and the guest os use xfs, and this issue will reproduce always. > > 3: i have not test the lastest kernel, i just have phytium2500 cpu, and > maybe cherry some special patch on the laster kernel for host boot. > and i will do this test later. It seems that ocfs2 doesn't support page size 64k, I'll confirm it when I'm free.
When gusest os use xfs filesystem, i have the same problem. ocfs2 doesn't support page size 64k?