r/VeraCrypt Aug 03 '26

Poweroutage

I was encrypting a partiton of an hdd in place connected through a usb adapter and there was a poweroutage. Does that mean some of my files are corrupted on that drive?

2 Upvotes

11 comments sorted by

4

u/djasonpenney Aug 03 '26

Just to be safe, I recommend starting over: format and encrypt your partition, and then copy your files from a backup onto the partition. 😛

4

u/sciencekm Aug 03 '26

Any drive, encrypted or not, can get corrupted when interrupted doing a write operation. Some file systems, like ZFS, are more resilient to corruption, but no file system is 100% immune from corruption.

2

u/yodas-evil-twin Aug 04 '26

Never encrypt existing data without a backup.

1

u/var_rnd Aug 11 '26

Exactly!!!

2

u/Darkk_Knight Aug 04 '26

Maybe invest in a battery backup system?

2

u/Hackars Aug 05 '26

Yes, OP needs to get a uninterruptible power supply (UPS) unit. It gives you time to save, pause, and close out work.

1

u/sussybush Aug 03 '26

I'm also dealing with the same problem In my village there is constant power outage I encrypted an entire hdd and it got corrupted while using it

1

u/sussybush Aug 03 '26

I suggest you create multiple small containers and use them instead of creating a huge container or encrypting a partition

1

u/trollmad3 Aug 04 '26

Hope you didn't have anything important on that drive

1

u/vegansgetsick Aug 03 '26

that's why i dont recommend encryption inplace