Date: Sat, 17 Oct 1998 18:42:38 -0700 From: Ulf Zimmermann <ulf@Alameda.net> To: current@FreeBSD.ORG Subject: newfs problems, more information: Message-ID: <19981017184238.A26929@Alameda.net>
next in thread | raw e-mail | index | archive | help
I have a machine with BETA from 0930 installed:
FreeBSD PacHell.TelcoSucks.org 3.0-19980930-BETA FreeBSD 3.0-19980930-BETA #2: Sun Oct 4 05:12:58 PDT 1998 root@PacHell.TelcoSucks.org:/usr/src/sys/compile/PACHELL i386
The system has several disks, two of them are configured like this:
PacHell root / # fdisk da2
******* Working on device /dev/rda2 *******
parameters extracted from in-core disklabel are:
cylinders=1109 heads=255 sectors/track=63 (16065 blks/cyl)
Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=1109 heads=255 sectors/track=63 (16065 blks/cyl)
Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
<UNUSED>
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
start 1, size 17816084 (8699 Meg), flag 80 (active)
beg: cyl 0/ sector 2/ head 0;
end: cyl 1023/ sector 63/ head 254
PacHell root / # fdisk da3
******* Working on device /dev/rda3 *******
parameters extracted from in-core disklabel are:
cylinders=1109 heads=255 sectors/track=63 (16065 blks/cyl)
Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=1109 heads=255 sectors/track=63 (16065 blks/cyl)
Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
<UNUSED>
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
start 1, size 17816084 (8699 Meg), flag 80 (active)
beg: cyl 0/ sector 2/ head 0;
end: cyl 1023/ sector 63/ head 254
PacHell root / # disklabel da2
# /dev/rda2c:
type: SCSI
disk: da2s4
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 1108
sectors/unit: 17816084
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: 17816084 0 unused 0 0 # (Cyl. 0 - 1108*)
e: 17816084 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 1108*)
PacHell root / # disklabel da3
# /dev/rda3c:
type: SCSI
disk: da3s4
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 1108
sectors/unit: 17816084
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: 17816084 0 unused 0 0 # (Cyl. 0 - 1108*)
e: 17816084 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 1108*)
Then these two disks are configured as ccd0:
PacHell root / # cat /etc/ccd.conf
ccd0 16 none /dev/da2s4e /dev/da3s4e
Doing a newfs on it:
PacHell root / # newfs /dev/ccd0c
newfs: /dev/ccd0c: not a character-special device
Warning: 3072 sector(s) in last cylinder unallocated
/dev/ccd0c: 35632128 sectors in 8700 cylinders of 1 tracks, 4096 sectors
17398.5MB in 544 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,
....
35389472, 35455008, 35520544, 35586080,
newfs: ioctl (WDINFO): No such process
newfs: /dev/ccd0c: can't rewrite disk label
PacHell root / # strings /sbin/newfs | grep newfs.c
$Id: newfs.c,v 1.25 1998/09/30 07:53:52 grog Exp $
--
Regards, Ulf.
---------------------------------------------------------------------
Ulf Zimmermann, 1525 Pacific Ave., Alameda, CA-94501, #: 510-769-2936
Alameda Networks, Inc. | http://www.Alameda.net | Fax#: 510-521-5073
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981017184238.A26929>
