Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jun 1998 16:26:28 +1000
From:      Robert Chalmers <robert@chalmers.com.au>
To:        djv@bedford.net, freebsd-questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: FINNALY - Re: Continuing the sd1 disklabel/disktab do-it-by-hand saga
Message-ID:  <358B5614.135ACFA4@chalmers.com.au>
References:  <199806200051.UAA16384@lucy.bedford.net> <358B4FEC.ACF56300@chalmers.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
Sorry,
Not quite finished...

It lies. The 4158234 that disklabel returns, does not work with the disklabel
last entry, e. You have to make the last partition fit inside the boundary of
the original 4110000 that scsiformat returned.
I believe that this may be because of the spare cylinders that the system keeps
for bad tracks etc, in reserve. VERY tricky.

only the LAST partition size need be changed. Indeed, ifyou make partition c
the smaller size, 4110000 then you run out on the partition e. You have to make
c the bigger, and e the smaller. It ends at 4110000, not 4158234.

I'm going for a drink!!!

bob

New disklable returned;
# /dev/rsd1c:
type: SCSI
disk: c2490a
label: sd1s1
flags:
bytes/sector: 512
sectors/track: 107
tracks/cylinder: 18
sectors/cylinder: 1926
cylinders: 2159
sectors/unit: 4158234
rpm: 6400
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0		# milliseconds
track-to-track seek: 0	# milliseconds
drivedata: 0 

5 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a:  2055000        0    4.2BSD     1024  8192     0 	# (Cyl.    0 - 1066*)
  b:   336640  2055000      swap                    	# (Cyl. 1066*- 1241*)
  c:  4158234        0    unused     1024  8192       	# (Cyl.    0 - 2158)
  d:   894873  2391640    4.2BSD     1024  8192     0 	# (Cyl. 1241*- 1706*)
  e:   823487  3286513    4.2BSD     1024  8192     0 	# (Cyl. 1706*- 2133*)


new disktab;
#
c2490a|Compaq C2490A SCSI:\
	:ty=winchester:rm#6400:dt=SCSI:ns#107:nt#18:nc#2159:\
	:se#512:\
	:oa#0:pa#2055000:ba#8192:fa#1024:ta=4.2BSD:\
	:ob#2055000:pb#336640:bb#8192:fb#1024:tb=swap:\
	:oc#0:pc#4158234:bc#8192:fc#1024:\
        :od#2391640:pd#894873:bd#8192:fd#1024:td=4.2BSD:\
	:oe#3286513:pe#823487:be#8192:fe#1024:te=4.2BSD:





---

  Support Whirled Peas.       Business in China?    China House
  robert@chalmers.com.au      ph:61 7 49440357 fx:61 7 49578425 
   China House Uses Webposition to ensure Top Spot in Searches      
   http://www.chalmers.com.au/ChinaHouse/Business/webposition

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?358B5614.135ACFA4>