Date: Sun, 12 Dec 2004 20:38:13 +0200 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: freebsd-questions@freebsd.org Subject: Re: Replaced drive Message-ID: <20041212183813.GA29603@gothmog.gr> In-Reply-To: <20041212174238.GB267@saturn.pcs.ms> References: <20041212141254.GA13582@saturn.pcs.ms> <20041212145845.GA50951@gothmog.gr> <20041212171932.GA267@saturn.pcs.ms> <20041212172551.GA16536@gothmog.gr> <20041212174238.GB267@saturn.pcs.ms>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2004-12-12 18:42, Martin Schweizer <lists_freebsd@bluewin.ch> wrote: > Am Sun, Dec 12, 2004 at 07:25:51PM +0200 Giorgos Keramidas schrieb: > > On 2004-12-12 18:19, Martin Schweizer <lists_freebsd@bluewin.ch> wrote: > > >Am Sun, Dec 12, 2004 at 04:58:45PM +0200 Giorgos Keramidas schrieb: > > >>On 2004-12-12 15:12, Martin Schweizer <lists_freebsd@bluewin.ch> wrote: > > >>> Hello list > > >>> > > >>> After I replaced my hard drive (with a larger one) I get the following > > >>> messages in dmeg.boot after reboot. Probably it's only a hint and not an > > >>> error. How I can resolve this issue? I use FreeBSD 4.10. > > >> > > >> Did you use dd(1) to move over the existing partitions and data? > > >> Judging from the following, it seems you _did_. > > >> > > >>> ad0: 39266MB <ExcelStor Technology J340> [79780/16/63] at ata0-master UDMA100 > > >>> ad2: DMA limited to UDMA33, non-ATA66 cable or device > > >>> ad2: 39266MB <ExcelStor Technology J340> [79780/16/63] at ata1-master UDMA33 > > >>> acd0: CDROM <LTN483> at ata1-slave PIO4 > > >>> Mounting root from ufs:/dev/ad0s2a > > >>> ad0s1: raw partition size != slice size > > >>> ad0s1: start 63, end 16064, size 16002 > > >>> ad0s1c: start 63, end 80405324, size 80405262 > > > > > > Hello Giorgos > > > > > > No, I used dump. > > > > Weird. Can I see the output of fdisk and disklabel for that disk? > > Here they are: > > fdisk: > > ******* Working on device /dev/ad0 ******* > parameters extracted from in-core disklabel are: > cylinders=5005 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=5005 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: > sysid 6,(Primary 'big' DOS (> 32MB)) > start 63, size 16002 (7 Meg), flag 0 > beg: cyl 0/ head 1/ sector 1; > end: cyl 0/ head 254/ sector 63 > The data for partition 2 is: > sysid 165,(FreeBSD/NetBSD/386BSD) > start 16065, size 80389260 (39252 Meg), flag 80 (active) > beg: cyl 1/ head 0/ sector 1; > end: cyl 1023/ head 254/ sector 63 Good, then you have a disk with 255*63*5005 = 80405325 sectors. > disklabel /dev/ad0: > # /dev/ad0: > type: unknown > disk: amnesiac > label: fictitious > flags: > bytes/sector: 512 > sectors/track: 63 > tracks/cylinder: 255 > sectors/cylinder: 16065 > cylinders: 5005 > sectors/unit: 80418240 > 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: 80418240 0 unused 0 0 # (Cyl. 0 - 5005*) Err, this is not right. The ad0 disk has two slices, ad0s1 and ad0s2. The ad0s1 slice is DOS, so it doesn't have a disk label. The ad0s2 slice has a label, but you need to use: # disklabel ad0s2 to see that. > disklabel /dev/ad2: This is a different disk, which may have other slices too (ad2s1, ad2s2, ...)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041212183813.GA29603>