From owner-freebsd-questions Tue Nov 30 6:43: 4 1999 Delivered-To: freebsd-questions@freebsd.org Received: from fw.intechsoft.net (okcds1-blk1-hfc-0251-d1db0faa.rdc1.ok.coxatwork.com [209.219.15.170]) by hub.freebsd.org (Postfix) with ESMTP id DDC40158F5 for ; Tue, 30 Nov 1999 06:42:57 -0800 (PST) (envelope-from internal@intechsoft.net) Received: from wkbruce ([192.168.1.12]) by fw.intechsoft.net (8.9.3/8.9.3) with SMTP id IAA04833; Tue, 30 Nov 1999 08:42:57 -0600 (CST) (envelope-from internal@intechsoft.net) Message-ID: <005701bf3b41$31347e20$0c01a8c0@wkbruce> From: "Bruce DeVault" To: Cc: "Mike Tancsa" Subject: re: Adding a large hard drive post-install Date: Tue, 30 Nov 1999 08:42:56 -0600 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0054_01BF3B0E.E645FAB0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_0054_01BF3B0E.E645FAB0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable If I use /stand/sysinstall to fdisk it and disklabel it, disklabel gets = so far as writing out the changes, executing a "newfs -b 8192 -f 1024 = /dev/rwd2s1e" and that itself fails, returning a mount error when = /stand/sysinstall tries to mount the drive. Upon exit from this = situation, if I do: su-2.03# disklabel wd2 I see: # /dev/rwd2c: type: ESDI disk: wd2s1 label: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 4159 sectors/unit: 66830337 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] c: 66830337 0 unused 0 0 # (Cyl. 0 - = 4159*) e: 66830337 0 4.2BSD 0 0 0 # (Cyl. 0 - = 4159*) su-2.03# but then, if i was to repeat what /stand/sysinstall did, with: newfs -b 8192 -f 1024 /dev/rwd2s1e I see: /dev/rwd2s1e: 66830336 sectors in 16316 cylinders of 1 tracks, 4096 = sectors 32632.0MB in 1020 cyl groups (16 c/g, 32.00MB/g, 7936 i/g) super-block backups (for fsck -b #) at: 32, 65568, 131104, 196640, 262176, 327712, 393248, 458784, 524320, = 589856, 655392, 720928, 786464, 852000, 917536, 983072, 1048608, 1114144, = 1179680, 1245216, 1310752, 1376288, 1441824, 1507360, 1572896, 1638432, 1703968, 1769504, 1835040, 1900576, 1966112, 2031648, 2097184, 2162720, 2228256, (deleted a bunch) 64749600, 64815136, 64880672, 64946208, 65011744, 65077280, 65142816, 65208352, 65273888, 65339424, 65404960, 65470496, 65536032, 65601568, 65667104, 65732640, 65798176, 65863712, 65929248, 65994784, 66060320, 66125856, 66191392, 66256928, 66322464, 66388000, 66453536, 66519072, 66584608, 66650144, 66715680, 66781216, write error: 0 newfs: wtfs: Read-only file system su-2.03# Bleah. ------=_NextPart_000_0054_01BF3B0E.E645FAB0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
If I use /stand/sysinstall to = fdisk it and=20 disklabel it, disklabel gets so far as writing out the changes, = executing a=20 "newfs -b 8192 -f 1024 /dev/rwd2s1e" and that itself fails, returning a = mount=20 error when /stand/sysinstall tries to mount the drive. Upon exit from = this=20 situation, if I do:
 
su-2.03# disklabel wd2
I see:
 
# /dev/rwd2c:
type: ESDI
disk:=20 wd2s1
label:
flags:
bytes/sector: 512
sectors/track:=20 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders:=20 4159
sectors/unit: 66830337
rpm: 3600
interleave: = 1
trackskew:=20 0
cylinderskew: 0
headswitch:=20 0           #=20 milliseconds
track-to-track seek: 0  # = milliseconds
drivedata:=20 0
 
8=20 partitions:
#        = size  =20 offset    fstype   [fsize bsize = bps/cpg]
  c:=20 66830337        0   =20 unused        = 0    =20 0         # = (Cyl.    0 -=20 4159*)
  e: 66830337       =20 0    4.2BSD       =20 0     0     0   #=20 (Cyl.    0 - 4159*)
su-2.03#
 
but then, if i was to repeat what = /stand/sysinstall=20 did, with:
 
newfs -b 8192 -f 1024 = /dev/rwd2s1e
 
I see:
 
/dev/rwd2s1e:   66830336 = sectors in 16316=20 cylinders of 1 tracks, 4096=20 sectors
        32632.0MB in 1020 = cyl=20 groups (16 c/g, 32.00MB/g, 7936 i/g)
super-block backups (for fsck -b = #)=20 at:
 32, 65568, 131104, 196640, 262176, 327712, 393248, 458784, = 524320,=20 589856,
 655392, 720928, 786464, 852000, 917536, 983072, = 1048608,=20 1114144, 1179680,
 1245216, 1310752, 1376288, 1441824, 1507360, = 1572896,=20 1638432, 1703968,
 1769504, 1835040, 1900576, 1966112, 2031648, = 2097184,=20 2162720, 2228256,
(deleted a bunch)
 64749600, 64815136, 64880672, = 64946208,=20 65011744, 65077280, 65142816,
 65208352, 65273888, 65339424, = 65404960,=20 65470496, 65536032, 65601568,
 65667104, 65732640, 65798176, = 65863712,=20 65929248, 65994784, 66060320,
 66125856, 66191392, 66256928, = 66322464,=20 66388000, 66453536, 66519072,
 66584608, 66650144, 66715680,=20 66781216,
write error: 0
newfs: wtfs: Read-only file=20 system
su-2.03#
Bleah.
------=_NextPart_000_0054_01BF3B0E.E645FAB0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message