Port-i386 archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Mounting a dump file
On Wed, 10 Apr 2013, Ray Phillips wrote:
<snip>
However mounting the file system in the dump file fails:
# vnconfig -vcr vnd0 *
/dev/rvnd0d: 2434641920 bytes on tstdmp-dump-2013-04-10
# vnconfig -l
vnd0: /usr/dumps (/dev/wd0e) inode 4496136
vnd1: not in use
vnd2: not in use
vnd3: not in use
# mount /dev/vnd0d /mnt
mount_ffs: /dev/vnd0d on /mnt: incorrect super block
#
I was hoping to be able to mount the the dump file then restore its contents
to an empty partition as a way of doing a bare metal restore of the source
machine if it dies. Could someone point out where I'm going wrong please?
Don't try to mount(8) the output from dump(8) - that output is a file,
and not a filesystem!
Instead, just try to use restore(8) on it:
restore -i -f tstdmp-dump-2013-04-10
-------------------------------------------------------------------------
| Paul Goyette | PGP Key fingerprint: | E-mail addresses: |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer | | pgoyette at netbsd.org |
-------------------------------------------------------------------------
Home |
Main Index |
Thread Index |
Old Index