PlotFS
PlotFS copied to clipboard
Gracefully moving whole sets of disks between machines?
Hi there,
I have a machine with a number of plots in some direct attached disks (currently 3 disks). The machine itself is running Proxmox and has the disks passed through, which gives them a different /dev/disk/by-id path than they would have if the disks were, say, attached to a running Ubuntu server instance.
My question basically boils down to - how does PlotFS handle "renaming" disks? Can I, in theory, "unplug" all the disks from the VM, back up plotfs.bin, then get rid of Proxmox and install Ubuntu Server with the disks directly attached, and turn PlotFS back on?
Yes.
Backup the bin file.
Transfer the bin file to the new instance
Attach the disks. (I don't mount them)
Mount plotfs:
mount.plotfs /farm
Run ls on your plot directly to check for files.
ls /farm
Yes.
Backup the bin file.
Transfer the bin file to the new instance
Attach the disks. (I don't mount them)
Mount plotfs:
mount.plotfs /farm
Run ls on your plot directly to check for files.
ls /farm
@Zorlin Did this help you move your disks?
Hi @johnathon-b,
Unfortunately I'm in the process of moving away from PlotFS so I don't know. I'm heading back to XFS disks with MergerFS per-host so that I can colocate MooseFS bricks on the disks.
I have the same problem. I replaced ubuntu by debian and disk names changed from /dev/disk/by-id/scsi-XXXXXX to /dev/disk/by-id/ata-XXXXXX. How to replace disk links inside plotfs.bin? I tried to add the same device and received message "This looks like a PlotFS partition, but it is not registered."
Is it possible to fix this without rebuilding all from start?