Date: Wed, 11 Jan 2006 22:47:24 -0800 From: Jo Rhett <jrhett@svcolo.com> To: freebsd-hardware@freebsd.org Subject: gvinum in 6.0-rel -- subdisks show *missing* ? Message-ID: <20060112064724.GB84964@svcolo.com> In-Reply-To: <20060112063340.GA84964@svcolo.com> References: <20060112063340.GA84964@svcolo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hm. More information. -v to list shows "*missing* at offset...". What
does this mean? What does or doesn't it like?
gvinum -> l -rv
1 drive:
Drive ibm1: Device ad2s1e
Size: 60955154432 bytes (58131 MB)
Used: 0 bytes (0 MB)
Available: 60955154432 bytes (58131 MB)
State: up
[cut volumes and plexes which still claim to have 0 size]
5 subdisks:
Subdisk space.p0.s0:
Size: 51827965952 bytes (49427 MB)
State: up
Drive ibm1 (*missing*) at offset 9126941184 (8704 MB)
Subdisk tmp.p0.s0:
Size: 268435456 bytes (256 MB)
State: up
Drive ibm1 (*missing*) at offset 8858505728 (8448 MB)
Subdisk var.p0.s0:
Size: 4294967296 bytes (4096 MB)
State: up
Drive ibm1 (*missing*) at offset 4563538432 (4352 MB)
Subdisk usr.p0.s0:
Size: 4294967296 bytes (4096 MB)
State: up
Drive ibm1 (*missing*) at offset 268571136 (256 MB)
Subdisk root.p0.s0:
Size: 268435456 bytes (256 MB)
State: up
Drive ibm1 (*missing*) at offset 135680 (132 kB)
On Wed, Jan 11, 2006 at 10:33:40PM -0800, Jo Rhett wrote:
> I've got a (home) server that I was using vinum for instead of the hardware
> raid controllers we use at the shop. Unfortunately it died pretty hard,
> and I'm trying to recover data from the hard disk on the replacement
> system.
>
> Old Hard Disk: 4.10-rel with a vinum root
>
> New Hard Disk: 6.0-rel
>
> I've added geom_vinum_load="YES" to /boot/loader.conf and now when I boot I
> can run "gvinum" and I see
>
> gvinum -> list
> 1 drive:
> D ibm1 State: up /dev/ad2s1e A: 58131/58131 MB
> (100%)
>
> 5 volumes:
> V space State: up Plexes: 0 Size: 0 B
> V tmp State: up Plexes: 0 Size: 0 B
> V var State: up Plexes: 0 Size: 0 B
> V usr State: up Plexes: 0 Size: 0 B
> V root State: up Plexes: 0 Size: 0 B
>
> 5 plexes:
> P space.p0 C State: up Subdisks: 0 Size: 0 B
> P tmp.p0 C State: up Subdisks: 0 Size: 0 B
> P var.p0 C State: up Subdisks: 0 Size: 0 B
> P usr.p0 C State: up Subdisks: 0 Size: 0 B
> P root.p0 C State: up Subdisks: 0 Size: 0 B
>
> 5 subdisks:
> S space.p0.s0 State: up D: ibm1 Size: 48 GB
> S tmp.p0.s0 State: up D: ibm1 Size: 256 MB
> S var.p0.s0 State: up D: ibm1 Size: 4096 MB
> S usr.p0.s0 State: up D: ibm1 Size: 4096 MB
> S root.p0.s0 State: up D: ibm1 Size: 256 MB
>
>
> What do I need to do to get the subdisks/plexs/volumes reattached or
> restarted? How can I get to this data? The vast majority of the commands
> listed in gvinum's help aren't working...
>
> gvinum -> attach tmp.p0.s0 tmp.p0
> unknown command 'attach'
>
> gvinum -> start tmp
> gvinum: can't start: cannot start volume 'tmp'; errno: 6
>
> gvinum -> start -w tmp
> gvinum: illegal option -- w
>
> There is no man page for gvinum, and no /dev/gvinum directory list various
> mailing list postings refer to.
>
> Where can I go from here?
>
> --
> Jo Rhett
> senior geek
> SVcolo : Silicon Valley Colocation
> _______________________________________________
> freebsd-hardware@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hardware
> To unsubscribe, send any mail to "freebsd-hardware-unsubscribe@freebsd.org"
--
Jo Rhett
senior geek
SVcolo : Silicon Valley Colocation
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060112064724.GB84964>
