I found many similar posts but nothing that quite fits my situation:
- HW: 64bit (dual-code atom on mini itx)
- OS: CentOS 5.2 64 bit
- Issue: Upgrade (Install) to Fedora 10
Base System on partitioned disk using lvm. Can be blown away, no problem here!
Problem: I have about 1 terabyte of data in a software raid-1 disk which forms a large volume group (vg01) with one logical volume consuming the whole volume group. I can unmount this any time. It is not part of the OS.
- I would like to detach the 2 terabyte drives that form the volume group.
- I would then re-OS with Fedora 10.
- Finally I would re-add the 2 drives.
I realize however that I would probably loose all my data.
Losing the data would be really, really bad!
I thought about breaking the mirror. I did that. I removed the superblock from the removed drive and then tried to mount it at a different mount point.
I did not work, :-( I assume this has to do with the fact that I had layered lvm over top of the software raid.
Are their any recipes out there for doing this?
If I had to do this again I would stay away from lvm, especially since I allocated the whole disk to one logical volume.