Date: Tue, 19 Feb 2008 00:10:52 +0300 From: Michael Monashev <softsearch@gmail.com> To: freebsd-geom@freebsd.org Subject: Synchronization request failed (error=1) Message-ID: <15910342939.20080219001052@gmail.com>
next in thread | raw e-mail | index | archive | help
Hi. I did: >gmirror forget root >gmirror list root Geom name: root State: COMPLETE Components: 1 Balance: split Slice: 4096 Flags: NONE GenID: 7 SyncID: 1 ID: 1926374852 Providers: 1. Name: mirror/root Mediasize: 134217216 (128M) Sectorsize: 512 Mode: r1w1e1 Consumers: 1. Name: da1s1a Mediasize: 134217728 (128M) Sectorsize: 512 Mode: r1w1e1 State: ACTIVE Priority: 0 Flags: NONE GenID: 7 SyncID: 1 ID: 600760959 >gmirror insert root /dev/da0s1a and got nothing: >gmirror list root Geom name: root State: COMPLETE Components: 1 Balance: split Slice: 4096 Flags: NONE GenID: 7 SyncID: 1 ID: 1926374852 Providers: 1. Name: mirror/root Mediasize: 134217216 (128M) Sectorsize: 512 Mode: r1w1e1 Consumers: 1. Name: da1s1a Mediasize: 134217728 (128M) Sectorsize: 512 Mode: r1w1e1 State: ACTIVE Priority: 0 Flags: NONE GenID: 7 SyncID: 1 ID: 600760959 and some errors in /var/log/messages: Feb 17 18:17:03 host2 kernel: GEOM_MIRROR: Device root: provider da0s1a detected. Feb 17 18:17:03 host2 kernel: GEOM_MIRROR: Device root: rebuilding provider da0s1a. Feb 17 18:17:05 host2 kernel: GEOM_MIRROR: Synchronization request failed (error=1). da0s1a[WRITE(offset=0, length=131072)] Feb 17 18:17:05 host2 kernel: GEOM_MIRROR: Device root: provider da0s1a disconnected. Feb 17 18:17:05 host2 kernel: GEOM_MIRROR: Device root: rebuilding provider da0s1a stopped. How to correct this error and insert da0s1a into the root? >bsdlabel /dev/da0s1a # /dev/da0s1a: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 262144 63 4.2BSD 2048 16384 16392 b: 33554432 262207 swap c: 976768002 63 unused 0 0 # "raw" part, don't edit d: 524288 33816639 4.2BSD 2048 16384 32776 e: 41943040 34340927 4.2BSD 2048 16384 28528 f: 4194304 76283967 4.2BSD 2048 16384 28528 g: 41943040 80478271 4.2BSD 2048 16384 28528 h: 854346754 122421311 4.2BSD 2048 16384 28528 partition a: partition extends past end of unit partition b: offset past end of unit partition b: partition extends past end of unit partition c: partition extends past end of unit bsdlabel: partition c doesn't start at 0! bsdlabel: partition c doesn't cover the whole unit! bsdlabel: An incorrect partition c may cause problems for standard system utilities partition d: offset past end of unit partition d: partition extends past end of unit partition e: offset past end of unit partition e: partition extends past end of unit partition f: offset past end of unit partition f: partition extends past end of unit partition g: offset past end of unit partition g: partition extends past end of unit partition h: offset past end of unit partition h: partition extends past end of unit >bsdlabel /dev/da1s1a # /dev/da1s1a: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 262144 63 4.2BSD 0 0 0 c: 46781217 63 unused 0 0 # "raw" part, don't edit d: 524288 262207 4.2BSD 0 0 0 e: 41800481 4980799 4.2BSD 0 0 0 f: 4194304 786495 4.2BSD 0 0 0 partition a: partition extends past end of unit partition c: partition extends past end of unit bsdlabel: partition c doesn't start at 0! bsdlabel: partition c doesn't cover the whole unit! bsdlabel: An incorrect partition c may cause problems for standard system utilities partition d: offset past end of unit partition d: partition extends past end of unit partition e: offset past end of unit partition e: partition extends past end of unit partition f: offset past end of unit partition f: partition extends past end of unit -- Michael
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15910342939.20080219001052>