search for: l2352

Displaying 6 results from an estimated 6 matches for "l2352".

Did you mean: 2352
2020 Feb 10
2
Re: [RFC] lib: allow to specify physical/logical block size for disks
..._block_size = 4096 seems to do nothing. See my thoughts on this in previous email. > (2) Setting only logical_block_size = 4096 is explicitly rejected by > virtio-scsi: > > https://git.qemu.org/?p=qemu.git;a=blob;f=hw/scsi/scsi-disk.c;h=10d0794d60f196f177563aae00bed2181f5c1bb1;hb=HEAD#l2352 > > (A similar test exists for virtio-blk) > > (3) Setting both physical_block_size = logical_block_size = 4096 > changes how parted partitions GPT disks. The partition table is > clearly using 4K sectors as you can see by examining the disk > afterwards with hexdump. > &gt...
2020 Feb 10
2
Re: [RFC] lib: allow to specify physical/logical block size for disks
...actually make a semantic difference as to how the content of the disk is accessed. > (2) Setting only logical_block_size = 4096 is explicitly rejected by > virtio-scsi: > > https://git.qemu.org/?p=qemu.git;a=blob;f=hw/scsi/scsi-disk.c;h=10d0794d60f196f177563aae00bed2181f5c1bb1;hb=HEAD#l2352 > > (A similar test exists for virtio-blk) > > (3) Setting both physical_block_size = logical_block_size = 4096 > changes how parted partitions GPT disks. The partition table is > clearly using 4K sectors as you can see by examining the disk > afterwards with hexdump. This...
2020 Feb 10
0
Re: [RFC] lib: allow to specify physical/logical block size for disks
...ted code. Here are my observations: (1) Setting only physical_block_size = 4096 seems to do nothing. (2) Setting only logical_block_size = 4096 is explicitly rejected by virtio-scsi: https://git.qemu.org/?p=qemu.git;a=blob;f=hw/scsi/scsi-disk.c;h=10d0794d60f196f177563aae00bed2181f5c1bb1;hb=HEAD#l2352 (A similar test exists for virtio-blk) (3) Setting both physical_block_size = logical_block_size = 4096 changes how parted partitions GPT disks. The partition table is clearly using 4K sectors as you can see by examining the disk afterwards with hexdump. (4) Neither setting changes MBR partitio...
2020 Feb 10
0
Re: [RFC] lib: allow to specify physical/logical block size for disks
...; difference as to how the content of the disk is accessed. > > > (2) Setting only logical_block_size = 4096 is explicitly rejected by > > virtio-scsi: > > > > https://git.qemu.org/?p=qemu.git;a=blob;f=hw/scsi/scsi-disk.c;h=10d0794d60f196f177563aae00bed2181f5c1bb1;hb=HEAD#l2352 > > > > (A similar test exists for virtio-blk) > > > > (3) Setting both physical_block_size = logical_block_size = 4096 > > changes how parted partitions GPT disks. The partition table is > > clearly using 4K sectors as you can see by examining the disk > &gt...
2020 Feb 10
0
Re: [RFC] lib: allow to specify physical/logical block size for disks
...ing. > > See my thoughts on this in previous email. > > > (2) Setting only logical_block_size = 4096 is explicitly rejected by > > virtio-scsi: > > > > https://git.qemu.org/?p=qemu.git;a=blob;f=hw/scsi/scsi-disk.c;h=10d0794d60f196f177563aae00bed2181f5c1bb1;hb=HEAD#l2352 > > > > (A similar test exists for virtio-blk) > > > > (3) Setting both physical_block_size = logical_block_size = 4096 > > changes how parted partitions GPT disks. The partition table is > > clearly using 4K sectors as you can see by examining the disk > &gt...
2020 Feb 07
8
[RFC] lib: allow to specify physical/logical block size for disks
From: Nikolay Ivanets <stenavin@gmail.com> I faced with situation where libguestfs cannot recognize partitions on a disk image which was partitioned on a system with "4K native" sector size support. In order to fix the issue we need to allow users to specify desired physical and/or logical block size per drive basis. It is definitely not a complete patch but rather a way to