[sheepdog-users] [sheepdog-user] dog cluster format doesn't remove .stale
Valerio Pachera
sirio81 at gmail.com
Thu Dec 4 11:54:03 CET 2014
2014-12-04 10:15 GMT+01:00 Jinzhi Chen <nxtjinzhi at gmail.com>:
> it’s actually first removed, then created.
> during cluster format, it first removes the .stale dir.
> then call the init process of backend store, which creates the .stale dir.
Should .stale directory be present on each of devices ?
dog node md info --all
Id Size Used Avail Use% Path
Node 0:
0 202 GB 0.0 MB 202 GB 0% /mnt/sheep/0
1 217 GB 0.0 MB 217 GB 0% /mnt/sheep/1
Node 1:
0 205 GB 0.0 MB 205 GB 0% /mnt/sheep/0
1 217 GB 0.0 MB 217 GB 0% /mnt/sheep/1
Node 2:
0 205 GB 0.0 MB 205 GB 0% /mnt/sheep/0
1 278 GB 0.0 MB 278 GB 0% /mnt/sheep/1
Node 3:
0 205 GB 0.0 MB 205 GB 0% /mnt/sheep/0
1 278 GB 0.0 MB 278 GB 0% /mnt/sheep/1
In my case I should have 8 .stale directories, right?
Well, this is what I have right after a cluster format
parallel-ssh -i -H 'test004 test005 test006 test007' "find /mnt/sheep/
-type d -name '.stale'"
[1] 11:52:24 [SUCCESS] test005
/mnt/sheep/1/.stale
[2] 11:52:24 [SUCCESS] test004
/mnt/sheep/1/.stale
[3] 11:52:24 [SUCCESS] test006
/mnt/sheep/1/.stale
/mnt/sheep/0/.stale
[4] 11:52:24 [SUCCESS] test007
/mnt/sheep/0/.stale
More information about the sheepdog-users
mailing list