when the problem just happened,the filer log showed:
filer_server.go:25] Can not start filer in
dir/weedfs/filer/: /S/24/D7 should be have id 30531 instead of 30534!
then i tried two ways.
1: i manually add some lines mentioned above between the lines 30530 and 30534. but the filer server still can not be started and it has same error info.
2: i manually changed the direcotry ids based on the infomations from the errorlog. for example:
the lines before changing:
...
add /S/20/C0 30530
add /S/24/D7 30534
add /S/04/90 30535
...
the lines after changed
...
add /S/20/C0 30530
add /S/24/D7 30531
add /S/04/90 30532
...
the lines followed by the lines 30532 gradually increased untile the lines 30546. But starting the filer server still failed.
Then i tried to add some lines between the lines 30546 and 30550 as followed:
the old lines before changing:
...
add /S/26/A1 30546
add /S/37/49 30550
add /S/11/83 30551
...
the lines after changed
...
add /S/26/A1 30546
add /S/26/R1 30547
add /S/26/S1 30548
add /S/26/T1 30549
add /S/37/49 30550
add /S/11/83 30551
...
And the filer server still failed...