Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Feb 2006 10:54:54 +0100
From:      Ferruccio Zamuner <nonsolosoft@diff.org>
To:        freebsd-geom@freebsd.org
Cc:        nonsolosoft@diff.org
Subject:   gvinum setstate failure
Message-ID:  <43E86E6E.1030200@diff.org>

next in thread | raw e-mail | index | archive | help
Hi,

last night FreeBSD 6 has rebooted.
This morning I've found some trouble mounting /dev/gvinum devices.

I've looked at log/messages

Feb  7 03:01:54 k7 kernel: ad5: FAILURE - READ_DMA 
status=51<READY,DSC,ERROR> error=40<UNCORRECTABLE> LBA=23892776
Feb  7 03:01:54 k7 kernel: GEOM_VINUM: subdisk sicuro.p0.s0 state 
change: up -> down
Feb  7 03:01:54 k7 kernel: GEOM_VINUM: plex sicuro.p0 state change: up 
-> down
Feb  7 03:01:54 k7 kernel: GEOM_VINUM: subdisk veloce.p0.s0 state 
change: up -> down
Feb  7 03:01:54 k7 kernel: GEOM_VINUM: plex veloce.p0 state change: up 
-> down
Feb  7 03:01:54 k7 kernel: GEOM_VINUM: subdisk vtmp.p0.s0 state change: 
up -> down
Feb  7 03:01:54 k7 kernel: GEOM_VINUM: plex vtmp.p0 state change: up -> down
Feb  7 03:01:54 k7 kernel: GEOM_VINUM: subdisk vvar.p0.s0 state change: 
up -> down
Feb  7 03:01:54 k7 kernel: GEOM_VINUM: plex vvar.p0 state change: up -> down
Feb  7 03:01:54 k7 kernel: 
g_vfs_done():gvinum/veloce[READ(offset=2990784512, length=2048)]error = 5
Feb  7 03:01:54 k7 kernel: 
g_vfs_done():gvinum/veloce[READ(offset=2990786560, length=2048)]error = 6
Feb  7 03:01:54 k7 kernel: 
g_vfs_done():gvinum/veloce[READ(offset=2990788608, length=2048)]error = 6
Feb  7 03:01:54 k7 kernel: 
g_vfs_done():gvinum/veloce[READ(offset=2990790656, length=2048)]error = 6
Feb  7 03:01:54 k7 kernel: 
g_vfs_done():gvinum/veloce[READ(offset=2990792704, length=2048)]error = 6
[...]
Feb  7 03:01:54 k7 kernel: 
g_vfs_done():gvinum/veloce[READ(offset=3179169792, length=2048)]error = 6
Feb  7 03:01:54 k7 kernel: GEOM_VINUM: lost drive 'med'
[...]
Feb  7 03:01:54 k7 kernel: 
g_vfs_done():gvinum/veloce[READ(offset=2242658304, length=2048)]error = 6
Feb  7 03:01:54 k7 kernel: 
g_vfs_done():gvinum/veloce[READ(offset=5788942336, length=2048)]error = 6
Feb  7 03:01:55 k7 kernel: GEOM_VINUM: subdisk sicuro.p0.s0 state 
change: down -> stale
Feb  7 03:01:55 k7 kernel: GEOM_VINUM: subdisk veloce.p0.s0 state 
change: down -> stale
Feb  7 03:01:55 k7 kernel: GEOM_VINUM: subdisk vtmp.p0.s0 state change: 
down -> stale
Feb  7 03:01:55 k7 kernel: GEOM_VINUM: subdisk vvar.p0.s0 state change: 
down -> stale
Feb  7 03:02:02 k7 kernel: 
g_vfs_done():gvinum/veloce[WRITE(offset=49152, length=16384)]error = 6
Feb  7 03:02:02 k7 kernel: 
g_vfs_done():gvinum/veloce[WRITE(offset=65536, length=16384)]error = 6
Feb  7 03:02:02 k7 kernel: 
g_vfs_done():gvinum/veloce[WRITE(offset=81920, length=16384)]error = 6

And then at next boot:
Feb  7 09:10:00 k7 kernel: ad0: 117246MB <Maxtor 6Y120P0 YAR41BW0> at 
ata0-master UDMA100
Feb  7 09:10:00 k7 kernel: acd0: DVDR <NEC DVD RW ND-3540A/1.01> at 
ata1-master UDMA33
Feb  7 09:10:00 k7 kernel: ad4: 38172MB <MAXTOR 6L040J2 AR1.0500> at 
ata2-master UDMA133
Feb  7 09:10:00 k7 kernel: ad5: 76293MB <Maxtor 6Y080L0 YAR41BW0> at 
ata2-slave UDMA133
Feb  7 09:10:00 k7 kernel: ad6: 78167MB <Maxtor 6Y080L0 YAR41BW0> at 
ata3-master UDMA133
Feb  7 09:10:00 k7 kernel: GEOM_VINUM: subdisk sicuro.p0.s0 state 
change: down -> stale
Feb  7 09:10:00 k7 kernel: GEOM_VINUM: subdisk veloce.p0.s0 state 
change: down -> stale
Feb  7 09:10:00 k7 kernel: GEOM_VINUM: subdisk vtmp.p0.s0 state change: 
down -> stale
Feb  7 09:10:00 k7 kernel: GEOM_VINUM: subdisk vvar.p0.s0 state change: 
down -> stale

While I'm able to execute from gvinum
gvinum -> setstate up veloce.p0.s0

The same command on sicuro.p0.s0 fails:
gvinum -> setstate up sicuro.p0.s0
gvinum: cannot set subdisk state

gvinum -> setstate up sicuro.p1.s0
gvinum: cannot set subdisk state

sicuro is the name of volume in mirror, while veloce is in stripping.

How can I change stale status to up on those subdisks?

I'm upgrading to latest FreeBSD 6.x available and I'll retry.

Is there any suggestion to recover this freebsd partition?


Thank you in advance.                       \fer



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43E86E6E.1030200>