Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!news.mathworks.com!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news From: j@uriah.heep.sax.de (J Wunsch) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Hard Disk Maintenance Date: 19 Apr 1997 17:52:21 GMT Organization: Private BSD site, Dresden Lines: 58 Message-ID: <5jb0ol$h5d@uriah.heep.sax.de> References: <5j8r78$r4l$1@nntp2.ba.best.com> Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) NNTP-Posting-Host: localhost.heep.sax.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: knews 0.9.6 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:39379 haggis@cesium.com (John R. Haggis) wrote: > I have a 4.4BSD manual, but some of the commands (format, scsiformat) > don't appear to be in FreeBSD. scsiformat(8) is there, although we've thrown away the old 4.4BSD code, and replaced it by a shell script. :) But you don't need it anyway. > 1. Read the old partition size info, so I know how to partition the > new disk (fdisk doesn't do it; just shows one big partition). disklabel > 2. Partition the new disk (including sub-partitions?). disklabel > 3. Do I need to format the partitions, or is that what newfs does? newfs does. > 4. Do I even need to newfs, if I'm doing dump | restore? You need. > 1. I seem to automagically have a /dev/rst0 device. Is that the > right one for this tape drive? I have no other st devices in /dev. Yep, it's the right one. There should be more devices like /dev/rst0.1 etc. They are subdevices for different densities, but you don't need them on DAT. > 2. How do I format the DAT tapes? (No "format" command on my > system.) You don't format a DAT medium at all. Only cheap tapes need to be formatted. > 3. If I dump "/", will it dump my other mounted partitions, or do I > have to dump them separately? Since dump works on a per-filesystem basis (and by reading the raw device), it'll only dump the / filesystem. > 4. If separately, how do I dump multiple partitions onto one tape? > (I have 2GB tapes; no problem with space.) You use the non-rewind device, /dev/nrst0. After this, type ``mt rewoffl'', and the tape will be rewound and ejected. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)