[linux-lvm] Mounting a Partition Image of LM partition?

Michael D. Setzer II mikes at kuentos.guam.net
Fri Jun 20 13:57:16 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have a system that is currently 7 timezones away that failed to reboot after 
a long power outage. Don't get back till end of July.  The systems doesn't 
even seem to see the drive in the BIOS, but booting from a g4l live cd, I can 
see the disk, and mount /boot partition with no problem. The system isn't 
critical, but has a few scripts I could put on other systems. Being that the / is 
an LVM partition, the g4l doesn't have the ability to mount it, and I am vncing 
into a local machine and then telnetting into the machine. If I was there, I 
could boot from a rescue cd, and get access to the files.

I save some messages on using losetup and I also found some web pages 
with info. I have a compressed disk image of the 250G drive, and also have 
a compressed partition image of the partitions with the LVM partition. I was 
able to copy this partition to my home machine taking about 11 hours, and 
was able to uncompress the lzop image. I was then able to use losetup 
/dev/loop0 to load the image, and pvscan then shows it, but it has the same 
name  as the regular LVM volumne on the machine. 

The message in this list talked about kpartx and using a disk image, but 
unfortuantely, I don't have enough space on the system to expanded the 
250GB compressed disk image.

Any ideals?
Thanks.

+----------------------------------------------------------+
  Michael D. Setzer II -  Computer Science Instructor      
  Guam Community College  Computer Center                  
  mailto:mikes at kuentos.guam.net                            
  mailto:msetzerii at gmail.com
  http://www.guam.net/home/mikes
  Guam - Where America's Day Begins                        
+----------------------------------------------------------+

http://setiathome.berkeley.edu (Original)
Number of Seti Units Returned:  19,471
Processing time:  32 years, 290 days, 12 hours, 58 minutes
(Total Hours: 287,489)

BOINC at HOME CREDITS
SETI 5,629,888.149690 | EINSTEIN 1,697,233.415700 | ROSETTA 
529,338.410477


-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8 -- QDPGP 2.61c
Comment: http://community.wow.net/grt/qdpgp.html

iQA/AwUBSFsqnizGQcr/2AKZEQL7NgCbBtGV5GV8hR0IZ4RxcguBRyvak8AAnAwa
TrXGGn/2SQIBL9ac/IYYNFyE
=gNa/
-----END PGP SIGNATURE-----




More information about the linux-lvm mailing list