Andrei, et al -- On 2022-08-09 11:01, Andrei Borzenkov wrote: % % On 09.08.2022 18:20, David T-G wrote: % > ... % > to upgrade diskfarm. It is also, coincidentally, time to add a mirror % > drive, which of course one can't do on the running system. Soooo ... % % Actually with btrfs (which is default on openSUSE) you can replace drive % with different drive, effectively moving filesystem content to different % drive, online [snip] Ah, darn. I wondered, right after sending the message, if I should have mentioned filesystem details. I'm using partitions diskfarm:~ # parted /dev/sda u MiB p Model: ATA SanDisk SD6SB1M1 (scsi) Disk /dev/sda: 122104MiB Sector size (logical/physical): 512B/512B Partition Table: gpt Disk Flags: pmbr_boot Number Start End Size File system Name Flags 1 1.00MiB 33793MiB 33792MiB linux-swap(v1) diskfarm-swap swap 2 33793MiB 66561MiB 32768MiB xfs diskfarmsuse 3 66561MiB 99329MiB 32768MiB diskfarmknop legacy_boot 4 99329MiB 122104MiB 22775MiB xfs diskfarm-ssd on a single disk with xfs diskfarm:~ # mount | egrep sda /dev/sda2 on / type xfs (rw,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota) /dev/sda4 on /mnt/ssd type xfs (rw,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota) filesystems. No btrfs here. So 1) can I upgrade to an empty target, or 2) what's the best non-dd way to copy to a different-sized partition? TIA again :-D -- David T-G See http://justpickone.org/davidtg/email/ See http://justpickone.org/davidtg/tofu.txt :-D -- David T-G See http://justpickone.org/davidtg/email/ See http://justpickone.org/davidtg/tofu.txt