You are not logged in.
Pages: 1
Hi, I wanted to change my default BS (512) to 1M due to performance reasons.
FS (BTRFS)
Disk /dev/sda: 111.8 GiB, 120034123776 bytes, 234441648 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: Axxx
Device Start End Sectors Size Type
/dev/sda1 2048 104859647 104857600 50G Linux filesystem
/dev/sda2 104859648 234440703 129581056 61.8G Linux filesystem
/dev/sda3 34 2047 2014 1007K BIOS boot
Partition table entries are not in disk order.Now I just wanted to double check the procedure.
I wanted to copy the whole disk to an external disk via dd
than I check if the external disk boots
If so, I delete the partitions and create new ones with larger BS
copy the files back and update(reinstall) grub, check fstab UUID's
Is there anything what I can improve or something I haven't thought of??
thx
Last edited by blackout (2016-09-01 08:19:46)
Offline
I figured it out.
It doesn't matter what information is provided by tools like fdisk and similar.
BTRFS uses blocksize(sectorsize) of the pagefile size, which is 4k.
changing to a larger sectorsize would require a larger pagesize which is non-tivial and is more effort than performance gain.
so this idea has been dropped.
Offline
Pages: 1