szatmary / PlotFS

a fuse filesystem for efficiently storage of Chia plot files
MIT License
50 stars 9 forks source link

Re-adding device with same path formats device without --force #21

Open benengele opened 2 years ago

benengele commented 2 years ago

Steps:

  1. Add device
  2. Add plots
  3. Add device again
  4. Repeat 3

Expected: Warning will be issued that device is already in geometry

Actual: Device will be re-formatted (presumably) corrupting plots already added to the device. Inconsistent behaviour when repeated multiple times: Warning: This looks like a PlotFS partition, but it is not registered. Same device registered multiple times.

benengele commented 2 years ago

Probably caused by not unmounting the device wiping out the signature.

szatmary commented 1 year ago

I believe this happens when the device is formatted as a plots drive, but its id is not in the geometry file.