Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Nov 1999 08:42:56 -0600
From:      "Bruce DeVault" <internal@intechsoft.net>
To:        <freebsd-questions@freebsd.org>
Cc:        "Mike Tancsa" <mike@sentex.net>
Subject:   re: Adding a large hard drive post-install
Message-ID:  <005701bf3b41$31347e20$0c01a8c0@wkbruce>

next in thread | raw e-mail | index | archive | help
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

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2920.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>If&nbsp;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:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>su-2.03# disklabel wd2<BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I see:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2># /dev/rwd2c:<BR>type: ESDI<BR>disk:=20
wd2s1<BR>label:<BR>flags:<BR>bytes/sector: 512<BR>sectors/track:=20
63<BR>tracks/cylinder: 255<BR>sectors/cylinder: 16065<BR>cylinders:=20
4159<BR>sectors/unit: 66830337<BR>rpm: 3600<BR>interleave: =
1<BR>trackskew:=20
0<BR>cylinderskew: 0<BR>headswitch:=20
0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #=20
milliseconds<BR>track-to-track seek: 0&nbsp; # =
milliseconds<BR>drivedata:=20
0</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>8=20
partitions:<BR>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
size&nbsp;&nbsp;=20
offset&nbsp;&nbsp;&nbsp; fstype&nbsp;&nbsp; [fsize bsize =
bps/cpg]<BR>&nbsp; c:=20
66830337&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;=20
unused&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
0&nbsp;&nbsp;&nbsp;&nbsp;=20
0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # =
(Cyl.&nbsp;&nbsp;&nbsp; 0 -=20
4159*)<BR>&nbsp; e: 66830337&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
0&nbsp;&nbsp;&nbsp; 4.2BSD&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
0&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; #=20
(Cyl.&nbsp;&nbsp;&nbsp; 0 - 4159*)<BR>su-2.03#</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>but then, if i was to repeat what =
/stand/sysinstall=20
did, with:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>newfs -b 8192 -f 1024 =
/dev/rwd2s1e</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I see:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>/dev/rwd2s1e:&nbsp;&nbsp; 66830336 =
sectors in 16316=20
cylinders of 1 tracks, 4096=20
sectors<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 32632.0MB in 1020 =
cyl=20
groups (16 c/g, 32.00MB/g, 7936 i/g)<BR>super-block backups (for fsck -b =
#)=20
at:<BR>&nbsp;32, 65568, 131104, 196640, 262176, 327712, 393248, 458784, =
524320,=20
589856,<BR>&nbsp;655392, 720928, 786464, 852000, 917536, 983072, =
1048608,=20
1114144, 1179680,<BR>&nbsp;1245216, 1310752, 1376288, 1441824, 1507360, =
1572896,=20
1638432, 1703968,<BR>&nbsp;1769504, 1835040, 1900576, 1966112, 2031648, =
2097184,=20
2162720, 2228256,<BR>(deleted a bunch)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;64749600, 64815136, 64880672, =
64946208,=20
65011744, 65077280, 65142816,<BR>&nbsp;65208352, 65273888, 65339424, =
65404960,=20
65470496, 65536032, 65601568,<BR>&nbsp;65667104, 65732640, 65798176, =
65863712,=20
65929248, 65994784, 66060320,<BR>&nbsp;66125856, 66191392, 66256928, =
66322464,=20
66388000, 66453536, 66519072,<BR>&nbsp;66584608, 66650144, 66715680,=20
66781216,<BR>write error: 0<BR>newfs: wtfs: Read-only file=20
system<BR>su-2.03#<BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Bleah.<BR></DIV></FONT></BODY></HTML>

------=_NextPart_000_0054_01BF3B0E.E645FAB0--



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?005701bf3b41$31347e20$0c01a8c0>