Subject: Re: diskslices & ccd.
To: Peter B <pb@ludd.luth.se>
From: enami tsugutomo <enami@sm.sony.co.jp>
List: tech-kern
Date: 06/18/2002 08:05:49
Peter B <pb@ludd.luth.se> writes:

> Jun 17 17:54:37 thehost /netbsd: WARNING: ccd0: total sector size in disklabel (12354624) != the size of ccd (22650144)
> 
> All discs are (sd1-sd6):
> sd1 at scsibus0 target 1 lun 0: <SEAGATE, ST11200N, 7906> SCSI2 0/direct fixed
> sd1: 1005 MB, 1872 cyl, 15 head, 73 sec, 512 bytes/sect x 2059140 sectors
> 
> /etc/ccd.conf:
> ccd0            48      none    /dev/sd1c /dev/sd2c /dev/sd3c /dev/sd4c /dev/sd5c /dev/sd6c

		:

> The size 12354624 is correct. While 22650144 is invalid. So can I safely
> disregard this warning. Or should I do something about it?

(* 2059140 6)
=> 12354840

(+ (* 2059140 6) (* 2059140 5))
=> 22650540

> I suspect that disklabels should be setup with a label that leaves
> the label intact by starting at cylinder 1, and using a partition
> other than 'c'. But as I use the whole disk. Does it really matter?

Please read ccd(4).

enami.