View previous topic :: View next topic |
Author |
Message |
Barvinok n00b
Joined: 29 Sep 2013 Posts: 34 Location: Ukraine
|
Posted: Mon Apr 21, 2014 7:00 pm Post subject: [SOLVED] Help Reconstructing LVM array |
|
|
Hi,
My home NAS was built from some "scrap details" such as two 250 GB IDE drives + one 1 TB SATA drive.
All drives used GPT and were LVMed in RAID0 manner to form single joined ~1.5TB partition. All worked well.
Now the mobo had died. The drives are fine though.
The replacement mobo came without an IDE interface. I've got an IDE-to-USB adapter and now I'm slowly dumping the GPT partitions from both IDE drives to some other SATA drives as binary image files.
By tomorrow, I'll have the system booted from LiveCD, seeing the aforementioned 1TB SATA natively and seeing two images of the drives used to form LVM array with the big one.
My goal is to reconstruct the LVM array to be able to copy some sensitive data which may (and will) span all three drives.
So, how do I tell LVM to use the drive image files instead of an actual drive? _________________ Unlike reality, stupidity is inescapable
Last edited by Barvinok on Wed Apr 23, 2014 5:39 pm; edited 1 time in total |
|
Back to top |
|
|
djdunn l33t
Joined: 26 Dec 2004 Posts: 810
|
Posted: Mon Apr 21, 2014 8:04 pm Post subject: |
|
|
if you want to continue to use the IDE disks, you can get ide/sata adaptors to plug an ide drive into a sata motherboard for about 10$USD each _________________ “Music is a moral law. It gives a soul to the Universe, wings to the mind, flight to the imagination, a charm to sadness, gaiety and life to everything. It is the essence of order, and leads to all that is good and just and beautiful.”
― Plato |
|
Back to top |
|
|
Barvinok n00b
Joined: 29 Sep 2013 Posts: 34 Location: Ukraine
|
Posted: Mon Apr 21, 2014 8:09 pm Post subject: |
|
|
djdunn wrote: | if you want to continue to use the IDE disks, you can get ide/sata adaptors to plug an ide drive into a sata motherboard for about 10$USD each |
I thought I was pretty clear on what I want. Deliberately inserting the bottleneck into disk subsystem on a multimedia server is not it. _________________ Unlike reality, stupidity is inescapable
Last edited by Barvinok on Mon Apr 21, 2014 8:41 pm; edited 1 time in total |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54224 Location: 56N 3W
|
Posted: Mon Apr 21, 2014 8:39 pm Post subject: |
|
|
Barvinok,
Your kernel will need loop support.
Now you can use losetup to get a /dev entry for each partition in the image files.
I don't know if vgchange -ay will see the loop devices though. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Barvinok n00b
Joined: 29 Sep 2013 Posts: 34 Location: Ukraine
|
Posted: Wed Apr 23, 2014 5:39 pm Post subject: |
|
|
NeddySeagoon wrote: | Barvinok,
Your kernel will need loop support.
Now you can use losetup to get a /dev entry for each partition in the image files.
I don't know if vgchange -ay will see the loop devices though. |
Well it did see them and worked the way I expected.
Thank you _________________ Unlike reality, stupidity is inescapable |
|
Back to top |
|
|
|