- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Problem with mondorescue 2.2.8 restore
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2009 10:26 AM
10-21-2009 10:26 AM
I am trying to do a restore of an image to a workstation that recently had its hard drives replaced due to failure. The replacement drives are SAS types, and did not have any filesystems formatted on them when they were installed on the workstation. The .iso files total fourteen in number and each are about 650 megabytes. When I insert the first CD into the workstation's DVD/RW drive, the boot sequence commences but then hangs at the point where the message:
Freeing unused kernel memory: 236k freed
appears on-screen.
I let the system stay in that status for about five minutes before having to reboot the workstation. When an operating system CD is installed into the workstation, it is able to detect the harddrives without any difficulty.
What is going on here, and what can I do to correct it? Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2009 12:15 PM
10-21-2009 12:15 PM
Solutionmondorescue is not going to be able to detect the disk unless its the same type of disk that the system had when it was imaged.
The OS recognizes the hardware, mondorescue does not.
What you can do is:
Base OS install.
mount -o loop filename
From the iso files you should be able to extract restore information.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2009 12:24 PM
10-21-2009 12:24 PM
Re: Problem with mondorescue 2.2.8 restore
Thanks for your reply. Extracting the files is one thing, but if I want to do the actual installation of all fourteen .iso files onto the system. It seems I would I need to take to accomplish the goal of restoring the workstation to its original configuration. After extracting the files, how can I do the restoration?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2009 06:31 AM
10-22-2009 06:31 AM
Re: Problem with mondorescue 2.2.8 restore
FORCE_MODS="diskdumplib diskdump mptbase mptscsi mptspi mptsas mptscsih ata_piix crc32 mii
pcnet32 sunrpc nfs nfs_acl lockd loop"
More than likely you do not have mptsas built into your initrd for mondo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2009 06:40 AM
10-22-2009 06:40 AM
Re: Problem with mondorescue 2.2.8 restore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2009 07:11 AM
10-22-2009 07:11 AM
Re: Problem with mondorescue 2.2.8 restore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2009 09:09 AM
10-22-2009 09:09 AM
Re: Problem with mondorescue 2.2.8 restore
I tried creating a mindi boot disk on a similar system with the additions to the FORCE_MODS line that were suggested in an earlier posting. I then created the mindi boot disk, and brought it to the system in question. The same hanging situation that I described in my original posting occurred with the mindi boot disk.
If I try booting with the livecd, am I doing an install of it onto the hard drive or am I simply running it in RAM, and doing the mondorestore from there?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2009 12:23 PM
10-22-2009 12:23 PM
Re: Problem with mondorescue 2.2.8 restore
What OS cd? Also what distro are you running (version number w/ update number)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2009 12:55 PM
10-22-2009 12:55 PM
Re: Problem with mondorescue 2.2.8 restore
I had one idea: boot the system with a Knoppix LiveCD, mount the hard drive devices, and do the install that way.
That does bring up another question: Assuming that Knoppix does not come with mondorescue, how can I install or run the restore CD's?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2009 05:21 AM
10-23-2009 05:21 AM
Re: Problem with mondorescue 2.2.8 restore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2009 07:19 AM
10-23-2009 07:19 AM
Re: Problem with mondorescue 2.2.8 restore
Thanks for your reply. I will be waiting in anticipation of your test results. Suffice it to say, your efforts in this regard are greatly appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2009 09:45 AM
10-23-2009 09:45 AM
Re: Problem with mondorescue 2.2.8 restore
I just want to clarify something. The OS the the workstation was running is FC2, correct?
Also, on the other host that you used mindo to create another boot iso, is that also FC2? If so can you logon to that box and see if you can modprobe mptsas? I am wondering if FC2 doesn't have that module.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2009 10:18 AM
10-23-2009 10:18 AM
Re: Problem with mondorescue 2.2.8 restore
I just want to clarify something. The OS the the workstation was running is FC2, correct?
Also, on the other host that you used mindo to create another boot iso, is that also FC2? If so can you logon to that box and see if you can modprobe mptsas? I am wondering if FC2 doesn't have that module.
Hi there --
The OS the workstation was running is indeed the FC2 distro.
Also, I ran the modprobe command on the other host, modprobe -l |grep mpt |more, and that particular one did not have the mptsas.ko module.
I found another workstation that did have the module, and I am running mindi on that system. Once that is done I will create the iso image, and try it on the problem workstation.
I will post the results as soon as I get them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2009 10:26 AM
10-23-2009 10:26 AM
Re: Problem with mondorescue 2.2.8 restore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2009 12:44 PM
10-23-2009 12:44 PM
Re: Problem with mondorescue 2.2.8 restore
One issue I had is that I left a line in /etc/fstab that I did not create and restore during the mondorestore process. So I had to use the rescue cd to reboot and edit the file. But that is because I couldn't remember the root password. Other than that it came up fine. But I also wasn't restoring to a different disk type.
Good luck!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2009 04:34 PM
10-23-2009 04:34 PM
Re: Problem with mondorescue 2.2.8 restore
I began going through the procedure you sent, thanks by the way, and I ran into my first issue.
At the fdisk step, I identified the disk in question as /dev/sda. I ran the pvcreate, and vgcreate commands using the suggested syntax without issue.
When I got to the lvcreate command, the syntax that is shown returned an error indicating I needed to include the size of the logical volume, or -L argument in the command. When I ran the command with the -L argument, I specified the size at 271000 megabytes. The error message I got was there was not enough physical extents available.
Did I miss a step here?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2009 06:16 PM
10-23-2009 06:16 PM
Re: Problem with mondorescue 2.2.8 restore
lvcreate -n LogVol00 -L +2G VolGroup00
that will create a 2GiB lvol. Also, are you just creating a single large lvol? If so just run vgdisplay VolGroup00. Then look at the free pe line. Then use lvcreate with a -l instead and give it the free pe number from vgdisplay.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2009 07:45 PM
10-23-2009 07:45 PM
Re: Problem with mondorescue 2.2.8 restore
Sorry about my ignorance. I don't often create logical volumes on our Linux systems. Normally that honor is reserved for our HP-UX servers.
I'll pick up where we left off on Monday. Have a good weekend.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2009 06:25 AM
10-26-2009 06:25 AM
Re: Problem with mondorescue 2.2.8 restore
I went through the procedure this morning, and everything appeared to work fine until the reboot, or lack of it, took place.
When I did some further investigating, somehow everything got put on /dev/sdb instead of /dev/sda. I am positive that I typed everything in correctly. How this happened I do not know.
I am going to some additional work on my end, but I wante to see if you had any ideas? Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2009 06:37 AM
10-26-2009 06:37 AM
Re: Problem with mondorescue 2.2.8 restore
And since you don't have the correct module for your drive added to your initrd from the mondobackup, I would not expect it to boot. You will need to use an fc2 install cd and run linux rescue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2009 12:10 PM
10-26-2009 12:10 PM
Re: Problem with mondorescue 2.2.8 restore
I tried several more times to recover the system without any success. I have no choice at this point than to rebuild the system from scratch.
After that is done I am going to have to rethink how the backups are done using mondo in order for this incident not to occur again.
Thanks anyway for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2009 12:17 PM
10-26-2009 12:17 PM
Re: Problem with mondorescue 2.2.8 restore
If anything, just do a fresh load of fc2, and them load mondorescue. Then use mondorestore to restore all the users data. That should work fine. My suggestion would be to not use mondo to backup your whole machine. I only use it to backup the main system directories. Then I use normal backups for everything else.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2009 12:40 PM
10-26-2009 12:40 PM
Re: Problem with mondorescue 2.2.8 restore
I posted the question as part of the mondo-devel users group, and one suggestion that was made was to use the following syntax at the boot prompt of the mondo restoration cd:
denymods=fdomain
At the risk of sounding like an idiot, how would I go about determining the name of the kernel to enter at the prompt in conjunction with the above parameter?
Also, why would fdomain be causing the system to hang at freeing unused kernel memory?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2009 12:45 PM
10-26-2009 12:45 PM
Re: Problem with mondorescue 2.2.8 restore
nuke denymods=fdomain
I am not sure if that will work, but it's worth a shot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2009 05:23 AM
10-27-2009 05:23 AM
Re: Problem with mondorescue 2.2.8 restore
The nuke value at the boot prompt refers to the name of the kernel. If I knew the name of the kernel, I could insert that along with the denymods=fdomain argument.
I have a system that is the same model and operating system of the problem workstation. Is it possible to reference that system to get a clue to the name of the kernel?