*BSD News Article 74979


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!usenet.eel.ufl.edu!news-res.gsl.net!news.gsl.net!news.mathworks.com!newsfeed.internetmci.com!info.ucla.edu!agate!overload.lbl.gov!gracie.lbl.gov!jin
From: jin@gracie.lbl.gov (Jin Guojun[ITG])
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: disklabel for ST15230N under 2.1.x-RELEASE
Date: 29 Jul 1996 22:59:13 GMT
Organization: Lawrence Berkeley Laboratory
Lines: 109
Message-ID: <4tjfo1$o6p@overload.lbl.gov>
NNTP-Posting-Host: gracie.lbl.gov

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.

Would someone please help on this?

Thanks in advance.

******************** /etc/disktab **************
st15230n|Seagate HAWK 4 Family 4.2GB SCSI:\
        :dt=SCSI:ty=winchester:se#512:nt#64:ns#32:nc#4094:rm#5411: \
        :pa#8192:oa#0:ta=4.2BSD:ba#4096:fa#512: \
        :pc#8386528:oc#0: \
        :pe#8378336:oe#8192:te=4.2BSD:be#4096:fe#512:
 
ST15230N|Seagate HAWK 4 Family 4.2GB SCSI:\
        :dt=SCSI:ty=winchester:se#512:nt#19:ns#110:nc#4011:rm#5411: \
        :pa#8192:oa#0:ta=4.2BSD:ba#4096:fa#512: \
        :pc#8384970:oc#0: \
        :pe#8376778:oe#8192:te=4.2BSD:be#4096:fe#512:

**************************************************
# disklabel sd0
# /dev/rsd0c:
type: SCSI
disk: sd0s1
label: 
flags:
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 64
sectors/cylinder: 2048
cylinders: 4094
sectors/unit: 8386528
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]
  b:     8192        0      swap                        # (Cyl.    0 - 3)
  c:  8386528        0    unused        0     0         # (Cyl.    0 - 4094*)
  e:  8378336     8192    4.2BSD        0     0     0   # (Cyl.    4 - 4094*)
-------------
# disklabel sd1
# /dev/rsd1c:
type: SCSI
disk: sd1s1
label: 
flags:
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 64
sectors/cylinder: 2048
cylinders: 4094
sectors/unit: 8386528
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]
  b:     8192        0      swap                        # (Cyl.    0 - 3)
  c:  8386528        0    unused        0     0         # (Cyl.    0 - 4094*)
---------------
# dd if=/dev/rsd0 of=/dev/rsd1 bs=8192
524170+1 records in
524170+1 records out
4294007296 bytes transferred in 1665 secs (2578983 bytes/sec)

# disklabel sd1
# /dev/rsd1c:
type: SCSI
disk: sd1s1
label: 
flags:
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 64
sectors/cylinder: 2048
cylinders: 4094
sectors/unit: 8386528
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]
  b:     8192        0      swap                        # (Cyl.    0 - 3)
  c:  8386528        0    unused        0     0         # (Cyl.    0 - 4094*)

--
/-------------- Jin Guojun ------------ v ---- Internet: g_jin@lbl.gov ----\
|	Imaging & Distributed Computing | Usenet: ucbvax!g_jin@lbl.gov	   |
|	Lawrence Berkeley Laboratory	| Bitnet:	--		   |
|	50B-2239, Berkeley, CA 94720	-  jin%george.lbl.gov@Csa3.LBL.Gov |