Date: Thu, 25 Mar 2010 14:14:54 +0100 From: Marco Steinbach <coco@executive-computing.de> To: freebsd-geom@freebsd.org Subject: 7.2/i386: newfs: wtfs: 512 bytes at sector 1917873520: No such file or directory Message-ID: <4BAB61CE.9070101@executive-computing.de>
next in thread | raw e-mail | index | archive | help
Hi, I'm trying to re-newfs a formerly used partition on a gmirror since I need more i-nodes. Maybe someone else has an idea about the cause of this message, since all sizes and offsets look correct to me. There is no vital data left on the machine, so I'm open to experimentation. I'm working remotely, but can get on site if neccessary. # uname -a FreeBSD [...] 7.2-STABLE FreeBSD 7.2-STABLE #0: Tue Dec 29 05:13:44 CET 2009 [...] i386 # mount /dev/mirror/fs01s1a on / (ufs, local, soft-updates) devfs on /dev (devfs, local) /dev/mirror/fs01s1d on /u (ufs, local, noatime, soft-updates) # umount /dev/mirror/fs01s1d # newfs /dev/mirror/fs01s1d newfs: wtfs: 512 bytes at sector 1917873520: No such file or directory newfs fails, the former filesystem is still intact, and the logs I had a look at (including console.log) were unchanged. # disklabel /dev/mirror/fs01s1 # /dev/mirror/fs01s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 31457280 0 4.2BSD 2048 16384 28552 b: 4194304 31457280 swap c: 1953525105 0 unused 0 0 # "raw" part, don't edit d: 1917873521 35651584 4.2BSD 2048 16384 49408 # gmirror list Geom name: fs01 State: COMPLETE Components: 2 Balance: load Slice: 4096 Flags: NOAUTOSYNC GenID: 0 SyncID: 3 ID: 1234616142 Providers: 1. Name: mirror/fs01 Mediasize: 1000204885504 (932G) Sectorsize: 512 Mode: r3w3e4 Consumers: 1. Name: ad4 Mediasize: 1000204886016 (932G) Sectorsize: 512 Mode: r1w1e1 State: ACTIVE Priority: 0 Flags: DIRTY, HARDCODED GenID: 0 SyncID: 3 ID: 2392863806 2. Name: ad6 Mediasize: 1000204886016 (932G) Sectorsize: 512 Mode: r1w1e1 State: ACTIVE Priority: 0 Flags: DIRTY, HARDCODED GenID: 0 SyncID: 3 ID: 3751075103 # dmesg | grep ^ad ad4: 953869MB <WDC WD1002FBYS-02A6B0 03.00C06> at ata2-master SATA150 ad6: 953869MB <WDC WD1002FBYS-02A6B0 03.00C06> at ata3-master SATA150 # gmirror dump /dev/ad4 Metadata on /dev/ad4: magic: GEOM::MIRROR version: 4 name: fs01 mid: 1234616142 did: 2392863806 all: 2 genid: 0 syncid: 3 priority: 0 slice: 4096 balance: load mediasize: 1000204885504 sectorsize: 512 syncoffset: 0 mflags: NOAUTOSYNC dflags: DIRTY hcprovider: ad4 provsize: 1000204886016 MD5 hash: ed2072f20157b354117e27713062a550 # gmirror dump /dev/ad5 Can't read metadata from /dev/ad5: No such file or directory. gmirror: Not fully done. fs01# gmirror dump /dev/ad6 Metadata on /dev/ad6: magic: GEOM::MIRROR version: 4 name: fs01 mid: 1234616142 did: 3751075103 all: 2 genid: 0 syncid: 3 priority: 0 slice: 4096 balance: load mediasize: 1000204885504 sectorsize: 512 syncoffset: 0 mflags: NOAUTOSYNC dflags: DIRTY hcprovider: ad6 provsize: 1000204886016 MD5 hash: 4ad26f391807cb8afcc632b18fe17bf4 I've retried with kern.geom.debugflags=17, here's what /var/log/messages says: Mar 25 13:38:41 [...] kernel: g_post_event_x(0xc07b1670, 0xc4454500, 2, 0) Mar 25 13:38:41 [...] kernel: ref 0xc4454500 Mar 25 13:38:41 [...] kernel: g_slice_spoiled(0xc46a48c0/mirror/[...]s1d) Mar 25 13:38:41 [...] kernel: g_wither_geom(0xc4685880(mirror/[...]s1d)) Mar 25 13:38:41 [...] kernel: g_orphan_provider(0xc4685500(ufsid/4b4a0d33d28fa442), 6) Mar 25 13:38:41 [...] kernel: g_orphan_register(ufsid/4b4a0d33d28fa442) Mar 25 13:38:41 [...] kernel: g_dev_orphan(0xc46a4a80(ufsid/4b4a0d33d28fa442)) Mar 25 13:38:41 [...] kernel: g_detach(0xc46a4a80) Mar 25 13:38:41 [...] kernel: g_destroy_consumer(0xc46a4a80) Mar 25 13:38:41 [...] kernel: g_destroy_geom(0xc4685300(ufsid/4b4a0d33d28fa442)) Mar 25 13:38:41 [...] kernel: g_detach(0xc46a48c0) Mar 25 13:38:41 [...] kernel: g_destroy_consumer(0xc46a48c0) Mar 25 13:38:41 [...] kernel: g_destroy_geom(0xc4685880(mirror/[...]s1d)) Mar 25 13:38:41 [...] kernel: g_post_event_x(0xc07b1470, 0xc4454500, 2, 0) Mar 25 13:38:41 [...] kernel: ref 0xc4454500 Mar 25 13:38:41 [...] kernel: g_mirror_taste(MIRROR, mirror/[...]s1d) Mar 25 13:38:41 [...] kernel: g_detach(0xc46a44c0) Mar 25 13:38:41 [...] kernel: g_destroy_consumer(0xc46a44c0) Mar 25 13:38:41 [...] kernel: g_destroy_geom(0xc4685380(mirror:taste)) Mar 25 13:38:41 [...] kernel: g_part_taste(PART,mirror/[...]s1d) Mar 25 13:38:41 [...] kernel: g_wither_geom(0xc4684900(mirror/[...]s1d)) Mar 25 13:38:41 [...] kernel: bsd_taste(BSD,mirror/[...]s1d) Mar 25 13:38:41 [...] kernel: g_slice_spoiled(0xc46a4640/mirror/[...]s1d) Mar 25 13:38:41 [...] kernel: g_wither_geom(0xc4685580(mirror/[...]s1d)) Mar 25 13:38:41 [...] kernel: g_label_taste(LABEL, mirror/[...]s1d) Mar 25 13:38:41 [...] kernel: g_slice_config(mirror/[...]s1d, 0, 1) Mar 25 13:38:41 [...] kernel: g_post_event_x(0xc07b1470, 0xc4684500, 2, 0) Mar 25 13:38:41 [...] kernel: ref 0xc4684500 Mar 25 13:38:41 [...] kernel: ref 0xc4684d00 Mar 25 13:38:41 [...] kernel: g_detach(0xc46a45c0) Mar 25 13:38:41 [...] kernel: g_destroy_consumer(0xc46a45c0) Mar 25 13:38:41 [...] kernel: g_destroy_geom(0xc4685100(label:taste)) Mar 25 13:38:41 [...] kernel: mbr_taste(MBR,mirror/[...]s1d) Mar 25 13:38:41 [...] kernel: g_slice_spoiled(0xc46a46c0/mirror/[...]s1d) Mar 25 13:38:41 [...] kernel: g_wither_geom(0xc4684e80(mirror/[...]s1d)) Mar 25 13:38:41 [...] kernel: g_mbrext_taste(MBREXT,mirror/[...]s1d) Mar 25 13:38:41 [...] kernel: g_mirror_taste(MIRROR, ufsid/4b4a0d33d28fa442) Mar 25 13:38:41 [...] kernel: g_detach(0xc46a4680) Mar 25 13:38:41 [...] kernel: g_destroy_consumer(0xc46a4680) Mar 25 13:38:41 [...] kernel: g_destroy_geom(0xc447c500(mirror:taste)) Mar 25 13:38:41 [...] kernel: dev_taste(DEV,ufsid/4b4a0d33d28fa442) Mar 25 13:38:41 [...] kernel: g_part_taste(PART,ufsid/4b4a0d33d28fa442) Mar 25 13:38:41 [...] kernel: g_wither_geom(0xc4684380(ufsid/4b4a0d33d28fa442)) Mar 25 13:38:41 [...] kernel: bsd_taste(BSD,ufsid/4b4a0d33d28fa442) Mar 25 13:38:41 [...] kernel: g_slice_spoiled(0xc46a4c40/ufsid/4b4a0d33d28fa442) Mar 25 13:38:41 [...] kernel: g_wither_geom(0xc4685000(ufsid/4b4a0d33d28fa442)) Mar 25 13:38:41 [...] kernel: g_label_taste(LABEL, ufsid/4b4a0d33d28fa442) Mar 25 13:38:41 [...] kernel: mbr_taste(MBR,ufsid/4b4a0d33d28fa442) Mar 25 13:38:41 [...] kernel: g_slice_spoiled(0xc46a5240/ufsid/4b4a0d33d28fa442) Mar 25 13:38:41 [...] kernel: g_wither_geom(0xc4684880(ufsid/4b4a0d33d28fa442)) Mar 25 13:38:41 [...] kernel: g_mbrext_taste(MBREXT,ufsid/4b4a0d33d28fa442) Mar 25 13:38:41 [...] kernel: g_detach(0xc46a4780) Mar 25 13:38:41 [...] kernel: g_destroy_consumer(0xc46a4780) Mar 25 13:38:41 [...] kernel: g_destroy_geom(0xc4684380(ufsid/4b4a0d33d28fa442)) Mar 25 13:38:41 [...] kernel: g_detach(0xc46a4800) Mar 25 13:38:41 [...] kernel: g_destroy_consumer(0xc46a4800) Mar 25 13:38:41 [...] kernel: g_destroy_geom(0xc4684900(mirror/[...]s1d)) Mar 25 13:38:41 [...] kernel: g_detach(0xc46a4c40) Mar 25 13:38:41 [...] kernel: g_destroy_consumer(0xc46a4c40) Mar 25 13:38:41 [...] kernel: g_destroy_geom(0xc4685000(ufsid/4b4a0d33d28fa442)) Mar 25 13:38:41 [...] kernel: g_detach(0xc46a4640) Mar 25 13:38:41 [...] kernel: g_destroy_consumer(0xc46a4640) Mar 25 13:38:41 [...] kernel: g_destroy_geom(0xc4685580(mirror/[...]s1d)) Mar 25 13:38:41 [...] kernel: g_detach(0xc46a5240) Mar 25 13:38:41 [...] kernel: g_destroy_consumer(0xc46a5240) Mar 25 13:38:41 [...] kernel: g_destroy_geom(0xc4684880(ufsid/4b4a0d33d28fa442)) Mar 25 13:38:41 [...] kernel: g_detach(0xc46a46c0) Mar 25 13:38:41 [...] kernel: g_destroy_consumer(0xc46a46c0) Mar 25 13:38:41 [...] kernel: g_destroy_geom(0xc4684e80(mirror/[...]s1d)) MfG CoCo
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BAB61CE.9070101>