Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Feb 2001 13:47:41 -0800
From:      Joe Mailander <jmailand@lane.k12.or.us>
To:        freebsd-questions@FreeBSD.ORG
Subject:   restore from dump files on NFS
Message-ID:  <5.0.2.1.2.20010207131721.01995cf8@lane.k12.or.us>

next in thread | raw e-mail | index | archive | help
I have a number of identical servers, and would like to create a freebsd 
4.2-stable distribution to put on all these machines.  I set up one box the 
way I like, then successfully did a level 0 dump to an NFS filesystem on 
the network.

I bring up one of the other boxes with the idea I can:

1) newfs the filesystems
2) start a restore from the dumped files on the NFS disk

no soap.  If I boot from the 4.2-stable cdrom (or the "live-filesystem" 
cdrom), there's no /dev/da0s1a, /dev/da0s1f, etc. to newfs/mount so I can 
do the restore.  The paritions are there (disklabel output below), but 
there's no device file I can use to perform the operations above.

I've tried to create a custom bootable cdrom using a cd writer and mkisofs 
but haven't made any progress here (I get a bootable disk, but it's not 
booting my kernel, but rather whatever's in boot.flp which gets me nowhere).

I also see that you can use the menu in /stand/sysinstall (fdisk menu, 
etc.) to peform the newfs operations, but despite that I still can't mount 
the partitions once the newfs is done.

Am I  missing something obvious that would make this easier, or am I on the 
right track that I have to create my own bootable CDROM?  If the latter, 
any hints on making the disk bootable and using one's own kernel?

Thanks for any advice/help.

- Joe
jmailand@lane.k12.or.us


disklabel output:

# /dev/da0s1:
type: SCSI
disk: da0s1
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 2213
sectors/unit: 35565568
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0

8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
   a:  1024000        0    4.2BSD     1024  8192    16   # (Cyl.    0 - 63*)
   b:  2097152  1024000      swap                        # (Cyl.   63*- 194*)
   c: 35565568        0    unused        0     0         # (Cyl.    0 - 2213*)
   e:  4194304  3121152    4.2BSD     1024  8192    16   # (Cyl.  194*- 455*)
   f: 10485760  7315456    4.2BSD     1024  8192    16   # (Cyl.  455*- 1108*)
   g: 12582912 17801216    4.2BSD     1024  8192    16   # (Cyl. 1108*- 1891*)
   h:  5181440 30384128    4.2BSD     1024  8192    16   # (Cyl. 1891*- 2213*)



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.0.2.1.2.20010207131721.01995cf8>