On Sun, Jan 14, 2024 at 08:01:52AM +0000, Andy Smith wrote:
> If necessary and if there is a way, I *can* nuke off the target
> machine's "foo" volume group and recreate the RAID array if I have
> to make it 512e format. But obviously I'd like some way to move this
> disk image and have it still work without having to meddle inside it
> much — it is a VM disk.

I think I may be able to use hdparm to reformat these Ultrastar DCs
from 4kn to 512e…

hdparm --set-sector-size 512 --please-destroy-my-drive /dev/sdX

https://wiki.archlinux.org/title/Advanced_Format#Advanced_Format_hard_disk_drives

It is okay to destroy the drive contents as there's nothing working
on there yet given this initial failure.

I think that is the only way this is going to work without mounting
filesystems both sides and using an fs-aware tool like tar|ssh or
rsync… which I don't want to do.

Thoughts?

Thanks,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting

Reply via email to