I have a 2TB RAID5 of which 700GB is used and a 1TB empty hard drive. I'd like to image the RAID onto the drive (so I can later rebuild it using a different set of drives).
dd images the entire array, which won't fit. Is there a way to only image the used part?
dd on entire disk, but do not want empty portion lists a few ways, but there are some concerns about scalability and writing back using the image, and whether the approach works for RAID.