Bitcoin Forum
April 24, 2024, 10:32:28 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Entire Bitcoin on a USB 3.0 Stick / Problem while downloading Blocks  (Read 836 times)
alocacoc (OP)
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
July 11, 2012, 04:23:52 AM
 #1

I did try to install Bitoin ( with -datadir parameter) in hidden truecrypt container on a USB 3.0 Stick.

While donwloading / updating the blocks the transmission was interrupted and i got two times the "22dbrunrecoveryexception" error message. After then, it was not possible to continue  at that point.

Now, i start the procedure at new, but installed bitcoin on the HDD. It looks, that the transmission runs much faster. After this is done, i plan to move the folder to the USB Stick.

Is it not recommend to run bitcoin on a USB Stick? Or what could be the the reason of the issue?

Another thing: I guess, the transmission get more slowly as progress comes closer to the end.
1713954748
Hero Member
*
Offline Offline

Posts: 1713954748

View Profile Personal Message (Offline)

Ignore
1713954748
Reply with quote  #2

1713954748
Report to moderator
1713954748
Hero Member
*
Offline Offline

Posts: 1713954748

View Profile Personal Message (Offline)

Ignore
1713954748
Reply with quote  #2

1713954748
Report to moderator
1713954748
Hero Member
*
Offline Offline

Posts: 1713954748

View Profile Personal Message (Offline)

Ignore
1713954748
Reply with quote  #2

1713954748
Report to moderator
The forum strives to allow free discussion of any ideas. All policies are built around this principle. This doesn't mean you can post garbage, though: posts should actually contain ideas, and these ideas should be argued reasonably.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713954748
Hero Member
*
Offline Offline

Posts: 1713954748

View Profile Personal Message (Offline)

Ignore
1713954748
Reply with quote  #2

1713954748
Report to moderator
Stephen Gornick
Legendary
*
Offline Offline

Activity: 2506
Merit: 1010


View Profile
July 11, 2012, 05:27:41 AM
 #2

I did try to install Bitoin ( with -datadir parameter) in hidden truecrypt container on a USB 3.0 Stick.

While donwloading / updating the blocks the transmission was interrupted and i got two times the "22dbrunrecoveryexception" error message. After then, it was not possible to continue  at that point.

Now, i start the procedure at new, but installed bitcoin on the HDD. It looks, that the transmission runs much faster. After this is done, i plan to move the folder to the USB Stick.

The disk i/o that the Bitcoin client does to verify each block as the blockchain gets downloaded is immense.  Having that i/o occur on an encrypted filesystem (the truecrypt container) will degrade performance.

Another thing: I guess, the transmission get more slowly as progress comes closer to the end.

Yes, each block has more data, stating in April, thanks somewhat to a widening interest in Bitcoin for speculation and commerce, but more significantly due to SatoshiDICE.

The Bitcoin client now supports passphrase encryption so there may be less necessity to hold the wallet.dat on an encrypted filesystem.  You could also keep the wallet.dat on the encrypted filesystem but keep everything else on disk and use a symlink for the wallet.dat to point to the wallet.dat on the encrypted filesystem.

You specifically mention a hidden container, which would likely mean you want plausible deniability.

One option might be to keep a several GB partition on the flash media as a staging area and before launching the client, temporarily copy the two blockchain data files (but not the wallet.dat, which you use a symlink to the wallet.dat that remains on the encrypted filesystem) to the staging area.  Launch with -datadir= the staging area.

That way you still never have any Bitcoin files on the hard drive, yet the blockchain data isn't being written to the encrypted filesystem while the app is running.  After shutdown of the Bitcoin client, then move the two blockchain datafiles back to the encrypted filesystem for use the next time.

Unichange.me

            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █


alocacoc (OP)
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
July 11, 2012, 06:04:13 AM
 #3

Thank you for the explanations. It is very helpful.

I just installed the lightweight client "Multibit". It looks, that it don't need to download all the blockchains. So far, i didn't notice any negative comments on this client.

After i received a small free amount from "Bitcoin Faucet", i think about to use this client.
RandomQ
Hero Member
*****
Offline Offline

Activity: 826
Merit: 500



View Profile
July 16, 2012, 11:33:48 PM
 #4

I did try to install Bitoin ( with -datadir parameter) in hidden truecrypt container on a USB 3.0 Stick.

While donwloading / updating the blocks the transmission was interrupted and i got two times the "22dbrunrecoveryexception" error message. After then, it was not possible to continue  at that point.

Now, i start the procedure at new, but installed bitcoin on the HDD. It looks, that the transmission runs much faster. After this is done, i plan to move the folder to the USB Stick.

The disk i/o that the Bitcoin client does to verify each block as the blockchain gets downloaded is immense.  Having that i/o occur on an encrypted filesystem (the truecrypt container) will degrade performance.

Another thing: I guess, the transmission get more slowly as progress comes closer to the end.

Yes, each block has more data, stating in April, thanks somewhat to a widening interest in Bitcoin for speculation and commerce, but more significantly due to SatoshiDICE.

The Bitcoin client now supports passphrase encryption so there may be less necessity to hold the wallet.dat on an encrypted filesystem.  You could also keep the wallet.dat on the encrypted filesystem but keep everything else on disk and use a symlink for the wallet.dat to point to the wallet.dat on the encrypted filesystem.

You specifically mention a hidden container, which would likely mean you want plausible deniability.

One option might be to keep a several GB partition on the flash media as a staging area and before launching the client, temporarily copy the two blockchain data files (but not the wallet.dat, which you use a symlink to the wallet.dat that remains on the encrypted filesystem) to the staging area.  Launch with -datadir= the staging area.

That way you still never have any Bitcoin files on the hard drive, yet the blockchain data isn't being written to the encrypted filesystem while the app is running.  After shutdown of the Bitcoin client, then move the two blockchain datafiles back to the encrypted filesystem for use the next time.

I'm going to try this method, I've used an encrypted USB in the past with everything on the drive. I didn't notice any performance issues(USB 3.0 & 6 core cpu) but i did have trouble with getting corrupted wallet.dat but I always had other encrypted backups.
exotime
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
July 17, 2012, 05:45:12 PM
 #5

If encrypting the data is you're bottleneck, you desperately need to upgrade your CPU Wink

The linux tool `dstat` will help you identify what your bottleneck is.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!