Re: Mondo Restore
Brad Burt <[email protected]>
| Newsgroups | gmane.linux.mondo.devel |
|---|---|
| Message-ID | <CACnZhtRVLwqB+ic3O1WPCU9up3M-1vrAV+cO2fUUz5BNrCQiTw@mail.gmail.com> |
Hi Bruno, is there any documention on how to "adapt the file /tmp/i-want-my-lvm so sizes of LVs are correct", and also make it see my Network Attached Storage, the SCSI device sdb: 1432576000 512-byte hdwr sectors (733479 MB)? Is there any documentation on how to adjust the mount list, this may also help. I went from RAID 0 to RAID 5 on the physical server, and the RAID changed on my Network Attached Storage as well. I'm familiar with VI tool, so just need to know the files to adjust, and what to put in there to get this restore to work. Thanks for your help. Best regards, Brad Burt On Wed, Feb 14, 2018 at 2:32 AM, Bruno Cornec <[email protected]> wrote: > 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/open > source > 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 > _______________________________________________ > Mondo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mondo-devel > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Mondo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mondo-devel