From owner-freebsd-questions Wed Feb 7 13:45:47 2001 Delivered-To: freebsd-questions@freebsd.org Received: from isosceles.lane.k12.or.us (isosceles.lane.k12.or.us [163.41.62.90]) by hub.freebsd.org (Postfix) with ESMTP id 18C7837B6A9 for ; Wed, 7 Feb 2001 13:45:28 -0800 (PST) Received: from TOSHIBA-F17NGY0.lane.k12.or.us ([163.41.61.66]) by isosceles.lane.k12.or.us (8.9.3+Sun/8.9.3) with ESMTP id NAA23829 for ; Wed, 7 Feb 2001 13:43:53 -0800 (PST) Message-Id: <5.0.2.1.2.20010207131721.01995cf8@lane.k12.or.us> X-Sender: jmailand@lane.k12.or.us X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Wed, 07 Feb 2001 13:47:41 -0800 To: freebsd-questions@FreeBSD.ORG From: Joe Mailander Subject: restore from dump files on NFS Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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