Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Dec 1998 12:23:26 PST
From:      "ku man" <kuman123@hotmail.com>
To:        asami@FreeBSD.ORG
Cc:        freebsd-questions@FreeBSD.ORG, freebsd-fs@FreeBSD.ORG
Subject:   Re: CCD question (FreeBSD 3.0) - can't rewrite disk label
Message-ID:  <19981223202327.961.qmail@hotmail.com>

next in thread | raw e-mail | index | archive | help
Here the log:

Script started on Wed Dec 23 12:10:13 1998
host122# disklabel /dev/wd0s3c

# /dev/wd0s3c:

type: ESDI

disk: wd0s3

label: 

flags:

bytes/sector: 512

sectors/track: 63

tracks/cylinder: 255

sectors/cylinder: 16065

cylinders: 113

sectors/unit: 1815345

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:  1815345        0    4.2BSD     1024  8192    16 	# (Cyl.    0 - 
112)

host122# 

host122# disklabel /dev/wd2s1c

# /dev/wd2s1c:

type: ESDI

disk: wd2s1

label: 

flags:

bytes/sector: 512

sectors/track: 63

tracks/cylinder: 15

sectors/cylinder: 945

cylinders: 3619

sectors/unit: 3420837

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:  3420837        0    4.2BSD     1024  8192    16 	# (Cyl.    0 - 
3619*)

host122# 

host122# disklabel /dev/ccd0c

disklabel: ioctl DIOCGDINFO: Device not configured

host122# 

host122# cat /etc/ccd.conf

ccd0 0 0 /dev/wd0s3c /dev/wd2s1c

host122# 

host122# ccdconfig -Cv

ccd0: 2 components (wd0s3c, wd2s1c), 5236150 blocks concatenated

host122# 

host122# disklabel /dev/ccd0c

# /dev/ccd0c:

type: CCD

disk: ccd

label: default label

flags:

bytes/sector: 512

sectors/track: 2048

tracks/cylinder: 1

sectors/cylinder: 2048

cylinders: 2556

sectors/unit: 5236150

rpm: 3600

interleave: 1

trackskew: 0

cylinderskew: 0

headswitch: 0		# milliseconds

track-to-track seek: 0	# milliseconds

drivedata: 0 



3 partitions:

#        size   offset    fstype   [fsize bsize bps/cpg]

  c:  5236150        0    4.2BSD        0     0     0 	# (Cyl.    0 - 
2556*)

host122# 

host122# disklabel -r /dev/ccd0c

disklabel: bad pack magic number (label is damaged, or pack is 
unlabeled)

host122# 

host122# newfs /dev/rccd0c

Warning: 2634 sector(s) in last cylinder unallocated

/dev/rccd0c:	5236150 sectors in 1279 cylinders of 1 tracks, 4096 sectors

	2556.7MB in 80 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,

 2293792, 2359328, 2424864, 2490400, 2555936, 2621472, 2687008, 2752544,

 2818080, 2883616, 2949152, 3014688, 3080224, 3145760, 3211296, 3276832,

 3342368, 3407904, 3473440, 3538976, 3604512, 3670048, 3735584, 3801120,

 3866656, 3932192, 3997728, 4063264, 4128800, 4194336, 4259872, 4325408,

 4390944, 4456480, 4522016, 4587552, 4653088, 4718624, 4784160, 4849696,

 4915232, 4980768, 5046304, 5111840, 5177376,

newfs: ioctl (WDINFO): No such process

newfs: /dev/rccd0c: can't rewrite disk label

host122# 

host122# exit

host122# exit


Script done on Wed Dec 23 12:11:59 1998



>From asami@vader.cs.berkeley.edu Tue Dec 22 20:46:53 1998
>Received: from silvia.hip.berkeley.edu (sji-ca36-72.ix.netcom.com 
[207.92.172.72]) by vader.cs.berkeley.edu (8.8.7/8.7.3) with ESMTP id 
UAA13889; Tue, 22 Dec 1998 20:45:13 -0800 (PST)
>Received: (from asami@localhost) by silvia.hip.berkeley.edu 
(8.8.8/8.6.9) id UAA11469; Tue, 22 Dec 1998 20:44:48 -0800 (PST)
>Date: Tue, 22 Dec 1998 20:44:48 -0800 (PST)
>Message-Id: <199812230444.UAA11469@silvia.hip.berkeley.edu>
>To: kuman123@hotmail.com
>CC: freebsd-questions@FreeBSD.ORG, freebsd-fs@FreeBSD.ORG
>In-reply-to: <19981222202709.15841.qmail@hotmail.com> 
(kuman123@hotmail.com)
>Subject: Re: CCD question (FreeBSD 3.0) - can't rewrite disk label
>From: asami@FreeBSD.ORG (Satoshi Asami)
>
> * Once I created the CCD using ccdconfig -CV, I tried to create a new 
file 
> * system.  Even though I have seen the above error messages, I am able 
to 
> * mount and write to the CCD.
>
>We need the entire log, with your exact commands and all the outputs
>(ok, you can delete the middle of the "superblock backups" list).
>I've never seen that one.
>
>Satoshi
>


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

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?19981223202327.961.qmail>