- Had a 4 bay QNAP, hardware failure (wouldn't power on), so I bought a new 9-bay unit.
- Put the 4 drives from the old QNAP into the new unit and... nothing...
- Tried all the GUI system options to restore the previous array (Raid 5), no luck
- Switched to the trust command line (via SSH) and was able to fix the partition tables, rebuild the array (using madam) and identify the LUKS partition (thanks to much of the guidance I found digging around this forum
- After getting everything up and running, I had trouble getting the LUKS partition to mount, did some more digging, and realized that it was a crypto_LUKS volume (I had forgotten that I had enabled encryption when setting up the original array)
- Now, I am trying to mount crypto_LUKS volume and have two problems:
1. It seems like there may actually be two logical volumes that contain my data, tp1 or lv1, I am not sure which one I should be mounting. Here is the readout of lvdisplay:
Code: Select all
--- Logical volume --- LV Name tp1 VG Name vg1 LV UUID oLwYMf-EcbY-l1N0-sPFS-Vi7S-i1yJ-fQczt6 LV Write Access read/write LV Creation host, time NAS067324, 2018-07-15 22:34:47 -0400 LV Pool metadata tp1_tmeta LV Pool data tp1_tierdata_0 LV Status available # open 2 LV Size 16.14 TiB Allocated pool data 99.99% Allocated pool chunks 33849344 Allocated metadata 1.61% Current LE 4231433 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 6144 Block device 252:6 --- Logical volume --- LV Path /dev/vg1/lv1 LV Name lv1 VG Name vg1 LV UUID Y3lBli-GA48-FY0s-IJUI-9MuT-Coba-njezio LV Write Access read/write LV Creation host, time NAS067324, 2018-07-15 22:35:43 -0400 LV Pool name tp1 LV Status available # open 0 LV Size 16.14 TiB Mapped size 100.00% Mapped sectors 34661728256 Current LE 4231168 Segments 1 Allocation inherit Read ahead sectors 8192 Block device 252:8
2. I have been trying to mount both tp1 and lv1 using the command "cryptsetup luksOpen /dev/vg1/tp1 VAULT" but I keep getting the error "No key available with this passphrase." Obviously, I am assuming that I simple forgot my password, although that is surprising since this was only a few years ago. I've been going through all the passwords that I used historically and trying them out (I have a running list on a sheet of paper next to my laptop), but, if I am simply SOL on the password front, I have this question: Can I clone the logical volume (assuming I can figure out the right one to clone) to a backup drive and trying and mount it again later? In other words, is it possible to image/dd-write the unmounted logical volume to an external drive? To make things more complicated, if I can image/copy, I only have an empty 14tb external, will it be a problem that I am trying to image a 16.14 tb volume to a 14tb drive (is compression a possibility?).
If I can copy/clone the logical volume (that I can't mount because of the lost password) then I can at least wipe the drives and get my new unit up and running, and hope that someday I can remember the password so I can mount that old array/volume and recover some important files.
If you got this far, thank you for reading and a BIG thanks to any ideas or suggestions.