Is there any way to replicate iSCSI LUN on a storage pool directly as https://wiki.qnap.com/wiki/Replicate_iSCSI_LUN described about LUN on an existing volume?
I bought new NAS TVS-882 but it doesn't allow me to create LUN as a image file on existing volume. It forces me to create LUN directly on a storage pool.
I researched and found that "vgdisplay -v" shows what partition (/dev/vg1/lv289) represents the LUN. So, I guess what I need to do is just dd from/to that partition. What I don't understand is following two things.
- How to move sparse data to that partition? I think dd doesn't.
- How to automatically extend the partition while copying?