I have a external storage device that I use for local network storage. It had a single LVM volume on it with some data on it this morning. I've been working on transferring the data off the LVM storage onto a new set of drives. After my backup operation finished, I unplugged the new storage and formatted the LVM partition using the command mkfs.ext4 /dev/mapper/vg_001-lv_001. Everything finished and when I plugged my new drive back in, I realized that two of the directories that I has in my backup job had not been copied over. Since the format, I made a single directory on the new LVM drive. Once I realized I didn't have all the data on my new drive, I unmounted it and turned it off. Since I haven't written a lot to the drive, I imagine most of my data is probably intact, but I am not sure how to proceed with data recovery.
I read a few blog posts and stackexchange questions on the testdisk utility, but not sure if that is the right tool to use with a LVM volume. Does anyone have some pointers on how I can go about trying to recover my data?