Jeffrey D. Fulmer | 11 Sep 22:03 2014

ERROR /dev/sda does not exist and a segmentation fault

I'm attempting to clone HP Proliant without much success. 

I booted with:   expert denymods="cciss"

And when I get to the disk layout form I get:

/dev/sda does not exist

I continued even though it said it might not work. And once it got to configuring the LVM died with a
segmentation fault.

I'm attaching the logs to this message. Any help would be greatly appreciated. I'm in a real bind here.

Jeff

Attachment (mondorestore.log): application/octet-stream, 184 KiB
Attachment (mondofdisk.log): application/octet-stream, 41 bytes
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Mondo-devel mailing list
Mondo-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mondo-devel
(Continue reading)

Riddle | 4 Sep 16:28 2014

Problem with P2V restore with Software Raid and LVM

Hi

Apologies for posting here but I've been working on converting a physical server to a VMware host using mondo rescue and I can't get it to work.

So I have successfully created a backup, and successfully restored it to the new machine. When I try and boot the machine I get the following error:



I have tried various things to try and recover grub, boot rescues, manual grub reinstallation, but none of them seem to have fixed this problem. Is anyone able to help please?

Many thanks

Riddle
------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Mondo-devel mailing list
Mondo-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mondo-devel
Vaughan Roberts | 13 Aug 08:36 2014

Mindi v2.1.7 fails on centos7

I am having trouble getting mondoarchive to work after upgrading to centos7.  I am using this command to create an iso file on a disk that has 40GB of free space:
mondoarchive -Oi -d /mnt/backup -s 4480m -p `hostname -s`-`date +%d-%b-%Y` -zNG -E "/mnt|/var/named/chroot/proc|/var/lib/BackupPC|/srv/Sources" -S/mnt/backup -T/mnt/backup

My mindi.conf file is:
#
# Example of mindi configuration file
#
# $Id$
#
# Force these modules to be loaded at restore time first, in that order:
# FORCE_MODS="cciss hpsa"
#
# Prevent these module to be loaded at all at restore time
# DENY_MODS="kqemu vxfen fdomain ipmi_si"
#
#EXTRA_SPACE=92160              # increase if you run out of ramdisk space
EXTRA_SPACE=320152              # increase if you run out of ramdisk space
#BOOT_SIZE=40960                # size of the boot disk = 2^15 + 2^13
BOOT_SIZE=262144                # size of the boot disk = 2^18
# MINDI_ADDITIONAL_BOOT_PARAMS="devfs=nomount noresume selinux=0 barrier=off udevtimeout=10 acpi=off"
MINDI_ADDITIONAL_BOOT_PARAMS="net.ifnames=0 biosdevname=0 selinux=0"
# MINDI_DEFAULT_BOOT_OPTION="interactive ipconf=eth0:10.0.0.1:255.0.0.0:10.255.255.255:10.2.3.4”

I note that the mondoarchive log file has a line:
INFO: Your boot loader is GRUB and it boots from /dev/sdb
which is wrong, the machine boots from /dev/sda1 using grub2

Attachment (mondoarchive.log.gz): application/x-gzip, 73 KiB


Help in getting this working would be very much appreciated.

Best regards,
Vaughan
mobile: 0412 122 362

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Mondo-devel mailing list
Mondo-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mondo-devel
ph.l@libertysurf.fr | 16 Aug 16:07 2014
Picon

false errors from Mindi regarding LVM partitions

Hi all,

I am not sure this is important but just to let you know:

Into the mondorescue log I can read:

running: mindi -V > /tmp/mondo.tmp.pecIMQ/mondo-run-prog-thing.tmp 2>
/tmp/mondo.tmp.pecIMQ/mondo-run-prog-thing.err
--------------------------------start of output-----------------------------
Mindi v2.1.7-r3184
Le disque /dev/mapper/data1vg-photoslv ne contient pas une table de
partitions valable
Le disque /dev/mapper/data1vg-videoslv ne contient pas une table de
partitions valable
Le disque /dev/mapper/data1vg-usrlv ne contient pas une table de
partitions valable
Le disque /dev/mapper/data1vg-graveurlv ne contient pas une table de
partitions valable
Le disque /dev/mapper/data1vg-wwwlv ne contient pas une table de
partitions valable
Le disque /dev/mapper/data1vg-baseslv ne contient pas une table de
partitions valable
Le disque /dev/mapper/data1vg-vboxlv ne contient pas une table de
partitions valable
Le disque /dev/mapper/sysvg-homelv ne contient pas une table de
partitions valable
Le disque /dev/mapper/sysvg-optlv ne contient pas une table de
partitions valable
--------------------------------end of output------------------------------

This is due to the Mindi use of fdisk -l which doesn't properly read any
LVM structures and send these messages to stderr.

It was already found (Ticket http://trac.mondorescue.org/ticket/652 and
closed at least for ubuntu packages)

My environment is:
Gnu/Linux kernel 3.2.0-4-amd64 #1 SMP
Debian GNU/Linux 7.6 (wheezy)
mindi-busybox 1.18.5-3
Mindi v2.1.7-r3184
mondoarchive v3.0.4-r3177

Kind regards,
Philippe

------------------------------------------------------------------------------
Steve Campbell | 12 Aug 21:12 2014

Fighting what appears to be software raid on the restore

I'm not sure the problem is or isn't software raid, but attempting to 
"nuke" or "expert" restore with mount-me fails.

The nuke restores to completion but fails to boot, indicating that the 
device is not valid.

Further, using expert, and running mount-me indicates there is an 
improper filesystem, superblock, and lots of other suggested problems.

The machine has 3 'containers', md0, md1, and md2.

This is a Centos 6.5 64-bit machine.

What should I send to get assistance?

Thanks for any help.

steve campbell

------------------------------------------------------------------------------
Peter Clark | 4 Aug 01:07 2014

Mondoarchive failures

Hi,

 

I’ve been noticing a couple of things with the current beta:

 

[root <at> c3po pclark]# rpm -qa | grep mondo

mondo-3.2.020140703124333-0.fc20.x86_64

[root <at> c3po pclark]# rpm -qa | grep mindi

mindi-3.0.020140703124333-0.fc20.x86_64

mindi-busybox-1.21.120140703124333-0.fc20.x86_64

[root <at> c3po pclark]#

 

1)      If I set a size of say 4G for my iso files, occasionally I’ll get an “archive too big for the 4G iso” warning. The archived data appears incomplete at that point.

2)      My last creation attempt with default archive sizes doesn’t give me that error, but I can’t seem to get a 100% status indicator on my large files:

 

---progress-form---4--- TASK:  [*...................]   3% done; 196:36 to go

---progress-form---1--- I am now backing up all large files.

---progress-form---2--- ISO 177: [*************.......] 63% used

---progress-form---3--- Please wait. This may take some time.

---progress-form---E---

---progress-form---4--- TASK:  [*...................]   3% done; 195:28 to go

Done.

Writing any remaining data to media

Please be patient. Do not be alarmed by on-screen inactivity.

Call to mkisofs to make ISO (ISO #177) ...OK

Done.

Done.

Backup and/or verify ran to completion. Everything appears to be fine.

/var/cache/mindi/mondorescue.iso, a boot/utility CD, is available if you want it

Data archived OK.

Mondoarchive ran OK.

See /var/log/mondoarchive.log for details of backup run.

Execution run ended; result=0

Type 'less /var/log/mondoarchive.log' to see the output log

[root <at> c3po ~]#

 

There seems to be a discrepancy, 3% done yet the backup run completes with no errors? I attempt to use these archvies for a bare-metal DR test and I’m generally gigs off on the restored / filesystem.

 

Mondoarchive.log attached.

 

Thanks in advance!

 

Attachment (mondoarchive.log.gz): application/x-gzip, 400 KiB
------------------------------------------------------------------------------
_______________________________________________
Mondo-devel mailing list
Mondo-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mondo-devel
sergey | 10 Aug 12:28 2014
Picon

segmentation fault (core dumped)

Hi.
I am was trying to create backup of my hard drive.
But after the "Choose directories for backup" step i had recive this message
"segmentation fault (core dumped)"
This is my log file.
Time started: Sun Aug 10 14:21:46 2014

running: dmesg -n1 > /tmp/mondo.tmp.aANNbl/mondo-run-prog-thing.tmp 2>
/tmp/mondo.tmp.aANNbl/mondo-run-prog-thing.err
--------------------------------start of output-----------------------------
--------------------------------end of output------------------------------
...ran just fine. :-)
Mondo Archive v3.0.4-r3177 --- http://www.mondorescue.org
running x86_64 binaries
running on x86_64 architecture
-----------------------------------------------------------
NB: Mondo logs almost everything, so don't panic if you see
some error messages.  Please read them carefully before you
decide to break out in a cold sweat.    Despite (or perhaps
because of) the wealth of messages. some users are inclined
to stop reading this log. If Mondo stopped for some reason,
chances are it's detailed here.  More than likely there's a
message at the very end of this log that will tell you what
is wrong. Please read it!                          -Devteam
-----------------------------------------------------------
Zero...
[Main] mondoarchive.c->welcome_to_mondoarchive#104: One...
        [Main] mondoarchive.c->welcome_to_mondoarchive#105: Two...
                [Main] mondoarchive.c->welcome_to_mondoarchive#106: Three...
                        [Main] mondoarchive.c->welcome_to_mondoarchive#107:
Four...
        [Main]
mondoarchive.c->distro_specific_kludges_at_start_of_mondoarchive#124:
Unmounting old ramdisks if necessary
running: mount | grep cdrom | grep super >
/tmp/mondo.tmp.aANNbl/mondo-run-prog-thing.tmp 2>
/tmp/mondo.tmp.aANNbl/mondo-run-prog-thing.err
--------------------------------start of output-----------------------------
--------------------------------end of output------------------------------
...ran with res=256 
running: mount | grep floppy | grep super >
/tmp/mondo.tmp.aANNbl/mondo-run-prog-thing.tmp 2>
/tmp/mondo.tmp.aANNbl/mondo-run-prog-thing.err
--------------------------------start of output-----------------------------
--------------------------------end of output------------------------------
...ran with res=256 
[Main] libmondo-tools.c-≥mount_boot_if_necessary#1249: Started sub
                        [Main]
libmondo-tools.c-≥mount_boot_if_necessary#1250: About to set
g_boot_mountpt[0] to '\0'
                        [Main]
libmondo-tools.c-≥mount_boot_if_necessary#1252: Done. Great. Seeting command
to something
                        [Main]
libmondo-tools.c-≥mount_boot_if_necessary#1255: Cool. Command = 'grep -v ":"
/etc/fstab | grep -vE '^#.*$' | grep -E "[  ]/boot[         ]" | tr -s ' ' '       
' | cut -f1 | head -n1'
                        [Main]
libmondo-tools.c-≥mount_boot_if_necessary#1259: tmp =
'UUID=35991810-f01e-4219-976c-1e8cd175aabe'
        [Main] libmondo-tools.c-≥mount_boot_if_necessary#1261: /boot is at
UUID=35991810-f01e-4219-976c-1e8cd175aabe according to /etc/fstab
[Main] libmondo-tools.c-≥mount_boot_if_necessary#1305: Ended sub
[Main] libmondo-tools.c-≥get_kernel_version#254: g_kernel_version = 2.632000
                        [Main] libmondo-tools.c-≥insmod_crucial_modules#330:
modprobe -a msdos vfat loop &> /dev/null
running: rm -Rf /var/cache/mondo/changed.files* >
/tmp/mondo.tmp.aANNbl/mondo-run-prog-thing.tmp 2>
/tmp/mondo.tmp.aANNbl/mondo-run-prog-thing.err
--------------------------------start of output-----------------------------
--------------------------------end of output------------------------------
...ran just fine. :-)
Checking sanity of your Linux distribution
running: grep ramdisk /proc/devices >
/tmp/mondo.tmp.aANNbl/mondo-run-prog-thing.tmp 2>
/tmp/mondo.tmp.aANNbl/mondo-run-prog-thing.err
--------------------------------start of output-----------------------------
1 ramdisk
--------------------------------end of output------------------------------
...ran just fine. :-)
running: mount | grep -Ew 'vfat|fat|dos' | grep -vE "/dev/fd|nexdisk" >
/tmp/mondo.tmp.aANNbl/mondo-run-prog-thing.tmp 2>
/tmp/mondo.tmp.aANNbl/mondo-run-prog-thing.err
--------------------------------start of output-----------------------------
--------------------------------end of output------------------------------
...ran with res=256
                        [Main] libmondo-files.c-≥find_home_of_exe#369:
find_home_of_exe () --- Found cmp at /usr/bin/cmp
running: mindi -V > /tmp/mondo.tmp.aANNbl/mondo-run-prog-thing.tmp 2>
/tmp/mondo.tmp.aANNbl/mondo-run-prog-thing.err
--------------------------------start of output-----------------------------
Mindi v2.1.7-r3184
--------------------------------end of output------------------------------
...ran just fine. :-)
running: parted2fdisk -l 2>/dev/null | grep -i raid >
/tmp/mondo.tmp.aANNbl/mondo-run-prog-thing.tmp 2>
/tmp/mondo.tmp.aANNbl/mondo-run-prog-thing.err
--------------------------------start of output-----------------------------
--------------------------------end of output------------------------------
...ran with res=256
Done.
        [Main] libmondo-tools.c-≥setup_tmpdir#751: Purging old tmpdir
/tmp/mondo.tmp.aANNbl
        [Main] libmondo-tools.c-≥setup_scratchdir#795: Purging old
scratchdir /tmp/mondo.scratch.xIfajv
                [Main]
libmondo-devices.c-≥interactively_obtain_media_parameters_from_user#2235:
media type = iso

                [Main]
libmondo-devices.c-≥interactively_obtain_media_parameters_from_user#2686:
prefix set to mondorescue1
        [Main] libmondo-devices.c-≥which_boot_loader#3180: list_drives_cmd =
parted2fdisk -l 2>/dev/null | grep "/dev/.*:" | tr -s ':' ' ' | tr -s ' ' '
' | grep /dev/; echo /dev/mapper/VolGroup-lv_root
        [Main] libmondo-devices.c-≥which_boot_loader#3193: looking at drive
/dev/sda's MBR
        [Main] libmondo-devices.c-≥which_boot_loader#3208: 1 grubs and 0
lilos

--
View this message in context: http://mondorescue-mailing-list.679749.n3.nabble.com/segmentation-fault-core-dumped-tp4026304.html
Sent from the MondoRescue Mailing List mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Roger Chapanis | 1 Aug 23:43 2014
Picon

Fwd: Seeking a reliable backup/restore utility for Linux (Lubuntu)

I just installed Lubuntu on an old Windows/XP laptop.  And, now I want to backup the drive on which Linux is installed to a USB key so that I can restore from the backup later (if needed). 

Because I'm new to Linux, I want a foolproof GUI-based backup/restore program so that I won't have to deal with the Linux command line. (A few days ago, I tried tinkering with the command line, but my tinkering caused an unrecoverable error--requiring that I reinstall Linux.)

From various sources, I've learned that Mondorescue may have a program I can use; however, I understand very little on the Mondorescue.org web site, which seems to be written for experts--not newbies. And, I'd probably go blind or mad before I understood anything

Would you be willing to tell me what program I need to download, what steps I must follow to install it, and how to use it for a backup/restore operation? Yeah, I know that this is a lot to ask; so, if you'd rather not deal with a newbie, could you please refer me to a Linux expert who'd be glad to help?

Roger Chapanis

---------- Forwarded message ----------
From: Bruno Cornec <Bruno.Cornec <at> hp.com>
Date: Fri, Aug 1, 2014 at 1:20 PM
Subject: Re: Seeking a reliable backup/restore utility for Linux (Lubuntu)
To: Roger Chapanis <rchapanis.com <at> gmail.com>
Cc: pingouin <at> hp.com


Hello Roger,

Look at http://www.modorescue.org and repo at ftp://ftp.mondorescue.org
Use the mailing list for further questions.

Best regards,
Bruno.

Roger Chapanis said on Fri, Aug 01, 2014 at 01:18:27PM -0700:

> When my Linux (Lubuntu) computer crashed recently, I had no way of
> restoring to a sound installation because I did not have one.  I
> desperately need a GUI-based linux program with which I can back up my
> entire hard disk and then restore from the backup (if it's needed).
>
> Browsing the Ubuntu forums, I came upon mention of "Mondo Rescue"--along
> with an email link to Hewlett Packard (re: your email address above).
>
> If you know of a reliable, Linux, GUI-based program that I can use for
> backup and recovery of an entire hard drive, would you be willing to tell
> me what it is and how I can learn more about it? (I'm desperate for a
> solution.)
>
> Roger Chapanis
> (425) 557-5387

--
Open Source Profession, Linux Community Lead WW http://opensource.hp.com
EMEA EG Open Source Technology Strategist       http://hpintelco.net
FLOSS projects:     http://mondorescue.org     http://project-builder.org
Musique ancienne? http://www.musique-ancienne.org http://www.medieval.org

------------------------------------------------------------------------------
_______________________________________________
Mondo-devel mailing list
Mondo-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mondo-devel
Picon

RAID

Hi guys

I am sure this has been asked a thousand times.

Is it possible to backup a software RAID system in Ubuntu with mondo ??

On any single drive systems I do use mondo along with clonezilla, but it
seems the moment you bring RAID into it, it can't be done.

Any advice appreciated.

Mike

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
Roger Chapanis | 8 Aug 01:35 2014
Picon

Fwd: Seeking a reliable backup/restore utility for Linux (Lubuntu)


When my Linux (Lubuntu) computer crashed recently, I had no way of restoring to a sound installation because I did not have one.  I desperately need a GUI-based linux program with which I can back up my entire hard disk and then restore from the backup (if needed).

Browsing the Ubuntu forums, I came upon mention of "Mondo Rescue." If you know of a reliable, Linux, GUI-based program that I can use for backup and recovery of an entire hard drive, would you be willing to tell me what it is and how I can learn more about it? (I'm desperate for a solution.)

Roger Chapanis
(425) 557-5387

------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Mondo-devel mailing list
Mondo-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mondo-devel
Peter Clark | 4 Aug 15:18 2014

Fedora 20 fails to backup/restore large files properly

Hi,

Having had some more time to play around with this, I've found that I
can't backup/restore large files properly under Fedora 20. Earlier I had
found that my restores were coming up multiple gigs shorter than my
original filesystem, and I thought it might have something to do with
large files, during backups the large file section would stop showing a 3%
complete status bar and exiting anyway, believing it's 100% done and
returning a 0 exit code.

So, looking at the restored system closer I found that every large file I
had on the original system was truncated on the restored system to 16MB in
size.

To test this theory I made a directory, /home/pclark/mondotest and put one
file in it, a Debian ISO:

[root <at> c3po mondotest]# ls -la
total 3846512
drwxrwx---+   2 root   root         4096 Aug  4 08:51 .
drwxrwxrwx+ 101 pclark pclark      12288 Aug  4 08:54 ..
-rw-rw----+   1 root   root   3938795520 Aug  4 08:51
debian-7.5.0-amd64-DVD-1.iso
[root <at> c3po mondotest]#

I ran mondoarchive interactive mode and backed up the file. The run said
it exited successfully:
Execution run ended; result=0
Type 'less /var/log/mondoarchive.log' to see the output log

However, the sole output file from this multi-gig input file:
[root <at> c3po mondotest]# ls -lah /mnt/mondotest/
total 207M
drwxr-xr-x. 2 root root 4.0K Aug  4 09:02 .
drwxr-xr-x. 8 root root 4.0K Aug  4 08:50 ..
-rw-r--r--. 1 root root 207M Aug  4 09:02 mondorescue-1.iso
[root <at> c3po mondotest]#

was only 207MB.

Doing a mondorestore against this file:

[pclark <at> c3po ~]$ ls -lah /restoretest/home/pclark/mondotest/
total 17M
drwxrwx---+ 2 root root 4.0K Aug  4 09:03 .
drwxr-xr-x. 3 root root 4.0K Aug  4 09:03 ..
-rw-rw----+ 1 root root  16M Aug  4 08:51 debian-7.5.0-amd64-DVD-1.iso
[pclark <at> c3po ~]$

Created a 16MB file.

Log for create and restore attached, I don't think it's me, but something
seems to be not quite right here.

[root <at> c3po mondotest]# rpm -qa | grep mondo
mondo-3.2.020140703124333-0.fc20.x86_64
[root <at> c3po mondotest]# rpm -qa | grep mindi
mindi-3.0.020140703124333-0.fc20.x86_64
mindi-busybox-1.21.120140703124333-0.fc20.x86_64
[root <at> c3po mondotest]#

On a different note, I still cannot restore uncompressed (-0) archives.

Attachment (mondorun.log.tgz): application/octet-stream, 90 KiB
------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Mondo-devel mailing list
Mondo-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mondo-devel

Gmane