Re: Mondo Restore
Bruno Cornec <[email protected]>
| Newsgroups | gmane.linux.mondo.devel |
|---|---|
| Message-ID | <[email protected]> |
Brad Burt said on Sat, Feb 10, 2018 at 06:42:21PM -0600: >Hello, I'm trying to restore a crashed server that was running RHEL 5, can >anyone tell me what may be the issue here. I believe the restore program is >having an issue with the LVM. It seems one of your 2 HDD is not seen ? >megaraid: 2.20.5.1 (Release Date: Thu Nov 16 15:32:35 EST 2006) > Vendor: DELL Model: VSF Rev: 0123 > Type: Direct-Access ANSI SCSI revision: 05 > Vendor: DELL Model: VCD Rev: 0133 > Type: CD-ROM ANSI SCSI revision: 05 Your RAID ctrl is detected it seems > Vendor: MegaRAID Model: LD 0 RAID5 699G Rev: 522A > Type: Direct-Access ANSI SCSI revision: 02 >SCSI device sdb: 1432576000 512-byte hdwr sectors (733479 MB) One disk is found,but ir's sdb. In your LVM conf you also had a sda which is not detected: >Here is my /tmp/mountlist.txt >/dev/sda1 lvm lvm -1 >/dev/sdb2 lvm lvm 859437337 >/dev/VolGroup00/LogVol00 / ext3 lvm 96cea972-ee68-4b68-ae58-3e2ccee38525 >/dev/sdb1 /boot ext3 104391 /boot >/dev/VolGroup00/LogVol01 swap swap lvm /dev/VolGroup00/LogVol01: TYPE="swap" >DBG1: [Main] libmondo-devices.c->get_phys_size_of_drive#966: Error getting size of /dev/sda: No medium found >DBG1: [Main] libmondo-devices.c->get_phys_size_of_drive#988: Failed to open /dev/sda for reading: No medium found >DBG2: [Main] ../src/mondorestore/mondo-prep.c->resize_drive_proportionately_to_suit_new_drives#2211: Not resizing to match /dev/sda - can't find drive Here is the problem... >INFO: Disk /dev/sdb was 839396 MB; is now 699500 MB; Proportionally resizing partitions (factor ~= 0.83334) Also if you shrinked the size of HDD, you may have to adapt the file /tmp/i-want-my-lvm so sizes of LVs are correct. Now if what you need is your data quickly, then consider http://trac.mondorescue.org/wiki/Documentation#Manualrestoration HTH, Bruno. -- HPE WW FLOSS Technology Strategist http://www.hpe.com/engage/opensource Open Source Profession, WW Linux Community Lead http://github.com/bcornec FLOSS projects: http://mondorescue.org http://project-builder.org Musique ancienne? http://www.musique-ancienne.org http://www.medieval.org ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot