Date: Fri, 9 Apr 2010 02:55:37 -0700 (PDT) From: Martin Badie <martinbadie@yahoo.com> To: freebsd-geom@freebsd.org Cc: rse@freebsd.org Subject: gmirror question Message-ID: <246759.92700.qm@web59906.mail.ac4.yahoo.com>
next in thread | raw e-mail | index | archive | help
Hi,=0A=0AI have a gmirror system (FreeBSD 6.3). Normally on seagate.com I c= an see that both disk (ST3250310AS=A0 and ST3250318AS) have same layout and= the sizes are equal. I have built gmirror using http://people.freebsd.org/= ~rse/mirror/=A0what I want to ask is that ad6 was broken and i have replace= d it with the new one (new ad6) both on the fdisk command output=A0 i see d= ifferent sizes (ad6 is bigger than ad4). What i want to ask is that if i re= build mirror using following command does that break OS ?=0A=0A# sysctl ker= n.geom.debugflags=3D16=0A# gmirror forget gm0=0A# dd if=3D/dev/zero of=3D/d= ev/ad6 bs=3D1k count=3D1=0A# fdisk -BI ad6=0A# bsdlabel -B -w ad6s1 auto = =0A# gmirror insert gm0 /dev/ad6s1=0A# gmirror status=0A=0A=0A=0AThe disk d= etails are like:=0A=0A=A0grep ad4 /var/run/dmesg.boot =0A=0Aad4: 238475MB <= Seagate ST3250310AS 3.AAF> at ata2-master SATA150=0AGEOM_MIRROR: Device gm0= : provider ad4s1 detected.=0AGEOM_MIRROR: Device gm0: provider ad4s1 activa= ted=0A=0Agrep ad6 /var/run/dmesg.boot =0A=0Aad6: 238475MB <Seagate ST325031= 8AS CC38> at ata3-master SATA150=0A=0ADisk layouts:=0A=0A=0Afdisk /dev/ad4= =0A******* Working on device /dev/ad4 *******=0Aparameters extracted from i= n-core disklabel are:=0Acylinders=3D484521 heads=3D16 sectors/track=3D63 (1= 008 blks/cyl)=0AFigures below won't work with BIOS for partitions not in cy= l 1=0Aparameters to be used for BIOS calculations are:=0Acylinders=3D484521= heads=3D16 sectors/track=3D63 (1008 blks/cyl)=0AMedia sector size is 512= =0AWarning: BIOS sector numbering starts with sector 1=0AInformation from D= OS bootblock is:=0AThe data for partition 1 is:=0Asysid 165 (0xa5),(FreeBSD= /NetBSD/386BSD)=0A=A0=A0=A0 start 63, size 488391057 (238472 Meg), flag 80 = (active)=0A=A0=A0=A0=A0=A0=A0=A0 beg: cyl 0/ head 1/ sector 1;=0A=A0=A0=A0= =A0=A0=A0=A0 end: cyl 162/ head 15/ sector 63=0AThe data for partition 2 is= :=0A<UNUSED>=0AThe data for partition 3 is:=0A<UNUSED>=0AThe data for parti= tion 4 is:=0A<UNUSED>=0A[root@antispam ~]# fdisk /dev/ad6=0A******* Working= on device /dev/ad6 *******=0Aparameters extracted from in-core disklabel a= re:=0Acylinders=3D484521 heads=3D16 sectors/track=3D63 (1008 blks/cyl)=0AFi= gures below won't work with BIOS for partitions not in cyl 1=0Aparameters t= o be used for BIOS calculations are:=0Acylinders=3D484521 heads=3D16 sector= s/track=3D63 (1008 blks/cyl)=0Afdisk: invalid fdisk partition table found= =0AMedia sector size is 512=0AWarning: BIOS sector numbering starts with se= ctor 1=0AInformation from DOS bootblock is:=0AThe data for partition 1 is:= =0Asysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)=0A=A0=A0=A0 start 63, size 4883= 97105 (238475 Meg), flag 80 (active)=0A=A0=A0=A0=A0=A0=A0=A0 beg: cyl 0/ he= ad 1/ sector 1;=0A=A0=A0=A0=A0=A0=A0=A0 end: cyl 168/ head 15/ sector 63=0A= The data for partition 2 is:=0A<UNUSED>=0AThe data for partition 3 is:=0A<U= NUSED>=0AThe data for partition 4 is:=0A<UNUSED>=0A=0A=0A=0A=A0gmirror stat= us=0A=A0=A0=A0=A0=A0 Name=A0=A0=A0 Status=A0 Components=0Amirror/gm0=A0 DEG= RADED=A0 ad4s1=0A=0A=0A
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?246759.92700.qm>