*BSD News Article 75089


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!news.uoknor.edu!news.nodak.edu!netnews3.nwnet.net!netnews.nwnet.net!news.u.washington.edu!uw-beaver!uhog.mit.edu!netnews.com!udel-eecis!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: disklabel for ST15230N under 2.1.x-RELEASE
Date: 30 Jul 1996 21:29:40 GMT
Organization: Private BSD site, Dresden
Lines: 29
Message-ID: <4tlus4$c0o@uriah.heep.sax.de>
References: <4tjfo1$o6p@overload.lbl.gov>
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

jin@gracie.lbl.gov (Jin Guojun[ITG]) wrote:

> Did any one have experience on labelling on Seagate 4.3 GB SCSI disk
> (ST15230N)?  Also, where is the disk-label stored at?  Below is the
> two SCSI disks.  They are same type of disks. disklabel does not
> work, so I use dd to duplicate the entire disk, but the label is not
> duplicated.

The label will be duplicated if you actually copy the entire disk:

	dd if=/dev/rsd0 of=/dev/rsd1 bs=64k

Of course, this assumes number_of_blocks(sd1) >= number_of_blocks(sd0).

``disklabel does not work'', well that's like ``my car doesn't go''.
Can you perhaps be slightly more verbose?

If you wanna re-label the disk, and have a drive fully dedicated to
BSD, try this:

	disklabel -Brw sd1
	disklabel -e sd1

-- 
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. ;-)