Application crashes when the connected hard disk drive gets disconnected #12176

issue DrakonAlpha openend this issue on January 13, 2018
  1. DrakonAlpha commented at 11:23 am on January 13, 2018: none
    Application crashes when the connected hard disk drive gets disconnected. Error message would be ok, but crash ist inacceptable.
  2. MarcoFalke added the label Block storage on Jan 13, 2018
  3. bolekC commented at 10:33 pm on January 13, 2018: none
    Any more details? Which application crashes? What is kept on the hard disk that is disconnected? Which system you are running?
  4. DrakonAlpha commented at 3:08 pm on January 14, 2018: none
    I’m sorry for giving so few information. English is difficult for me. ;) Bitcoin-qt for Windows crashes. Bitcoin-qt itself runs on the internal disk while the blockchain and all related files run on the external drive. Is this what you wanted to know?
  5. MarcoFalke commented at 10:05 pm on January 14, 2018: member
    Similar issue for MacOs: #11569
  6. bolekC commented at 10:17 pm on January 14, 2018: none
    Just avoid disconnecting the drive or keep all data on internal disk. Even if it would not crash and just give error message then you might loose data anyway. I don’t see an easy way to fix it.
  7. DrakonAlpha commented at 1:06 pm on January 16, 2018: none
    I know this. Thank you. Just one question: Why is it impossible to keep a consistent state while the drive gets disconnected unexpectedly?
  8. bolekC commented at 9:12 pm on January 16, 2018: none
    If you disconnect unexpectedly then you might be in the middle of write operation and you can get only part of the file written. If that is blockchain files then no problem but if you get corruption on wallet file then have fun.
  9. jnewbery commented at 6:26 pm on April 2, 2018: member

    Quoting @TheBlueMatt from #11569:

    Bitcoin Core can’t handle its datadir dissapearing out from under it well, and there isn’t much to be done about that (without implementing some full freeze-the-whole-app-until-its-back logic). It would be nice if we didn’t wholesale crash, but you should consider running with -prune on your internal disk instead. @DrakonAlpha - are you happy to close this issue?

  10. DrakonAlpha commented at 3:45 pm on April 4, 2018: none
    I’m not happy but I close it anyway. Thanks.
  11. DrakonAlpha closed this on Apr 4, 2018

  12. MarcoFalke locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-23 06:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me