szatmary / PlotFS

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

warning: failed to open device: / #19

Closed benengele closed 1 year ago

benengele commented 1 year ago

Reported multiple times when adding a plot.

warning: failed to open device: /
warning: failed to open device: /
warning: failed to open device: /
warning: plot block not found in freespace
warning: plot block not found in freespace
warning: plot block not found in freespace
warning: plot block not found in freespace
warning: plot block not found in freespace

Not sure how to end up with a device path / that is not reported when listing devices even assuming there is an inconsistency in the geometry file?

/ # plotfs --list_devices
1c312c5a28012bef807530f2becd02553e7472fef175d5950a592bc8af28a32b 1077195705586/2000398932992 47% /dev/disk/by-id/scsi-SHGST_HMRP2000S5xnN7.2_P6J579SV
2c92672f7398864aa0ee7bc3f49c54128d8d809cfdf812f657121f4449f03002 615957135138/2000398932992 70% /dev/disk/by-id/scsi-SHGST_HMRP2000S5xnN7.2_P6J1LL8V
ff5d0d3090ea042cce67c719f34bd95edc02c36e647d66ae120fdac8fcd8ca0c 1077104675642/2000398932992 47% /dev/disk/by-id/scsi-SHGST_HMRP2000S5xnN7.2_P6HB926V
82ccde9e4cb0d9772c8e53416ad70e525fbf620bdb6087019a801113dba6b8a0 1429974496299/2000398932992 29% /dev/disk/by-id/scsi-SHGST_HMRP2000S5xnN7.2_P5HDP7XV
a32eabb4600a1d0f54ef5b05a1546981000fd3767e02a808ec7228f01103ca7e 1539003398463/2000398932992 24% /dev/disk/by-id/scsi-SHGST_HMRP2000S5xnN7.2_P5HDPA1V
c2266000362d3c3ff7ddadbbf9ec02dc0adcf588356fd28203a30c2a7ee35dc6 1077261698865/2000398932992 47% /dev/disk/by-id/scsi-SHGST_HMRP2000S5xnN7.2_P6KYPY0V
4a0966e2cc39c95a8abe3771b1b9c2ae72bfae27bf900f471788bf79801d8b4c 1077249439320/2000398932992 47% /dev/disk/by-id/scsi-SHGST_HMRP2000S5xnN7.2_P5G7PNGV
4ca5fc39c97fe576222ec911616c23c62c2db741587e94d0b34a7332326f728b 1154557889680/3000592980992 62% /dev/disk/by-id/scsi-SSEAGATE_ST33000650SS_Z2941F8V
benengele commented 1 year ago

Most likely the disk was still mounted when being added to PlotFS eventually resulting in overwriting of the signature (at least I found XFS... something in the actual signature).