Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Nov 2005 23:34:13 -0500
From:      Ahnjoan Amous <ahnjoan@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Incorrectly followed steps to re-sync vinum subdisk
Message-ID:  <5e575c8a0511082034u1a3d9413v413f6b5c33312838@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Tonight while checking a few things on my personal machine I noticed
that one of my vinum sub disks was stale. Included below are the
steps I took attempting to remedy this. Clearly I did not follow the
proper procedures and now the volume is un-mountable. Currently when
I attempt to mount the /export filesystem the machine panics and
reboots. My apologies in advance for the length of information
included. I include it so that it might aid in recovery of the
data on this filesystem. It has been cleaned up a bit but am happy
to provide the full output with the multiple "help" command output.
Shortly after the command sequence included the machine rebooted.
Since then I have booted in to single user mode and commented out
/export from fstab. The machine is fully functioning with the
exception of the important data on /export.

 If anyone doesn't believe I will be able to recover the data on my
own but does know of a company that might be able to recover data
written on a vinum mirror would you send me their name?

 Thank you

Ahnjoan

 root@bigbox:~ > df -k

Filesystem 1K-blocks Used Avail Capacity Mounted on

/dev/vinum/root 1012974 61138 870800 7% /

devfs 1 1 0 100% /dev

/dev/vinum/var 1012974 355886 576052 38% /var

/dev/vinum/crash 2026030 6 1863942 0% /var/crash

/dev/vinum/tmp 1012974 16 931922 0% /tmp

/dev/vinum/usr 8122126 4714322 2758034 63% /usr

/dev/vinum/home 4058062 6922 3726496 0% /home

/dev/vinum/tmp1 50777034 35262392 11452480 75% /export

procfs 4 4 0 100% /proc

devfs 1 1 0 100% /var/db/dhcpd/dev

###########################################################################=
###

root@bigbox:~ > vinum list

2 drives:

D been State: up /dev/ad2s1h A: 7739/76347 MB (10%)

D evie State: up /dev/ad0s1h A: 7739/76347 MB (10%)

 7 volumes:

V root State: up Plexes: 2 Size: 1024 MB

V var State: up Plexes: 2 Size: 1024 MB

V crash State: up Plexes: 2 Size: 2048 MB

V tmp State: up Plexes: 2 Size: 1024 MB

V usr State: up Plexes: 2 Size: 8192 MB

V home State: up Plexes: 2 Size: 4096 MB

V tmp1 State: up Plexes: 2 Size: 50 GB

 14 plexes:

P root.p0 C State: up Subdisks: 1 Size: 1024 MB

P var.p0 C State: up Subdisks: 1 Size: 1024 MB

P crash.p0 C State: up Subdisks: 1 Size: 2048 MB

P tmp.p0 C State: up Subdisks: 1 Size: 1024 MB

P usr.p0 C State: up Subdisks: 1 Size: 8192 MB

P home.p0 C State: up Subdisks: 1 Size: 4096 MB

P tmp1.p0 C State: faulty Subdisks: 1 Size: 50 GB

P root.p1 C State: up Subdisks: 1 Size: 1024 MB

P var.p1 C State: up Subdisks: 1 Size: 1024 MB

P crash.p1 C State: up Subdisks: 1 Size: 2048 MB

P tmp.p1 C State: up Subdisks: 1 Size: 1024 MB

P usr.p1 C State: up Subdisks: 1 Size: 8192 MB

P home.p1 C State: up Subdisks: 1 Size: 4096 MB

P tmp1.p1 C State: up Subdisks: 1 Size: 50 GB

 14 subdisks:

S root.p0.s0 State: up D: been Size: 1024 MB

S var.p0.s0 State: up D: been Size: 1024 MB

S crash.p0.s0 State: up D: been Size: 2048 MB

S tmp.p0.s0 State: up D: been Size: 1024 MB

S usr.p0.s0 State: up D: been Size: 8192 MB

S home.p0.s0 State: up D: been Size: 4096 MB

S tmp1.p0.s0 State: stale D: been Size: 50 GB

S root.p1.s0 State: up D: evie Size: 1024 MB

S var.p1.s0 State: up D: evie Size: 1024 MB

S crash.p1.s0 State: up D: evie Size: 2048 MB

S tmp.p1.s0 State: up D: evie Size: 1024 MB

S usr.p1.s0 State: up D: evie Size: 8192 MB

S home.p1.s0 State: up D: evie Size: 4096 MB

S tmp1.p1.s0 State: up D: evie Size: 50 GB

###########################################################################=
###

root@bigbox:~ > vinum

vinum -> detach tmp1.p0.s0

###########################################################################=
###

vinum -> list

2 drives:

D been State: up /dev/ad2s1h A: 7739/76347 MB (10%)

D evie State: up /dev/ad0s1h A: 7739/76347 MB (10%)

 7 volumes:

V root State: up Plexes: 2 Size: 1024 MB

V var State: up Plexes: 2 Size: 1024 MB

V crash State: up Plexes: 2 Size: 2048 MB

V tmp State: up Plexes: 2 Size: 1024 MB

V usr State: up Plexes: 2 Size: 8192 MB

V home State: up Plexes: 2 Size: 4096 MB

V tmp1 State: up Plexes: 2 Size: 50 GB

 14 plexes:

P root.p0 C State: up Subdisks: 1 Size: 1024 MB

P var.p0 C State: up Subdisks: 1 Size: 1024 MB

P crash.p0 C State: up Subdisks: 1 Size: 2048 MB

P tmp.p0 C State: up Subdisks: 1 Size: 1024 MB

P usr.p0 C State: up Subdisks: 1 Size: 8192 MB

P home.p0 C State: up Subdisks: 1 Size: 4096 MB

P tmp1.p0 C State: faulty Subdisks: 0 Size: 0 B

P root.p1 C State: up Subdisks: 1 Size: 1024 MB

P var.p1 C State: up Subdisks: 1 Size: 1024 MB

P crash.p1 C State: up Subdisks: 1 Size: 2048 MB

P tmp.p1 C State: up Subdisks: 1 Size: 1024 MB

P usr.p1 C State: up Subdisks: 1 Size: 8192 MB

P home.p1 C State: up Subdisks: 1 Size: 4096 MB

P tmp1.p1 C State: up Subdisks: 1 Size: 50 GB

 14 subdisks:

S root.p0.s0 State: up D: been Size: 1024 MB

S var.p0.s0 State: up D: been Size: 1024 MB

S crash.p0.s0 State: up D: been Size: 2048 MB

S tmp.p0.s0 State: up D: been Size: 1024 MB

S usr.p0.s0 State: up D: been Size: 8192 MB

S home.p0.s0 State: up D: been Size: 4096 MB

S tmp1.p0.s0 State: stale D: been Size: 50 GB

S root.p1.s0 State: up D: evie Size: 1024 MB

S var.p1.s0 State: up D: evie Size: 1024 MB

S crash.p1.s0 State: up D: evie Size: 2048 MB

S tmp.p1.s0 State: up D: evie Size: 1024 MB

S usr.p1.s0 State: up D: evie Size: 8192 MB

S home.p1.s0 State: up D: evie Size: 4096 MB

S tmp1.p1.s0 State: up D: evie Size: 50 GB

###########################################################################=
###

vinum -> start tmp1.p0.s0

Can't start tmp1.p0.s0: Invalid argument (22)

###########################################################################=
###

vinum -> start

** no additional drives found: No such file or directory

Can't save Vinum config: No child processes

###########################################################################=
###

vinum -> start tmp1.p0.s0

Can't start tmp1.p0.s0: Invalid argument (22)

###########################################################################=
###

vinum -> list

2 drives:

D been State: up /dev/ad2s1h A: 7739/76347 MB (10%)

D evie State: up /dev/ad0s1h A: 7739/76347 MB (10%)

 7 volumes:

V root State: up Plexes: 2 Size: 1024 MB

V var State: up Plexes: 2 Size: 1024 MB

V crash State: up Plexes: 2 Size: 2048 MB

V tmp State: up Plexes: 2 Size: 1024 MB

V usr State: up Plexes: 2 Size: 8192 MB

V home State: up Plexes: 2 Size: 4096 MB

V tmp1 State: up Plexes: 2 Size: 50 GB

 14 plexes:

P root.p0 C State: up Subdisks: 1 Size: 1024 MB

P var.p0 C State: up Subdisks: 1 Size: 1024 MB

P crash.p0 C State: up Subdisks: 1 Size: 2048 MB

P tmp.p0 C State: up Subdisks: 1 Size: 1024 MB

P usr.p0 C State: up Subdisks: 1 Size: 8192 MB

P home.p0 C State: up Subdisks: 1 Size: 4096 MB

P tmp1.p0 C State: faulty Subdisks: 0 Size: 0 B

P root.p1 C State: up Subdisks: 1 Size: 1024 MB

P var.p1 C State: up Subdisks: 1 Size: 1024 MB

P crash.p1 C State: up Subdisks: 1 Size: 2048 MB

P tmp.p1 C State: up Subdisks: 1 Size: 1024 MB

P usr.p1 C State: up Subdisks: 1 Size: 8192 MB

P home.p1 C State: up Subdisks: 1 Size: 4096 MB

P tmp1.p1 C State: up Subdisks: 1 Size: 50 GB

 14 subdisks:

S root.p0.s0 State: up D: been Size: 1024 MB

S var.p0.s0 State: up D: been Size: 1024 MB

S crash.p0.s0 State: up D: been Size: 2048 MB

S tmp.p0.s0 State: up D: been Size: 1024 MB

S usr.p0.s0 State: up D: been Size: 8192 MB

S home.p0.s0 State: up D: been Size: 4096 MB

S tmp1.p0.s0 State: R 0% D: been Size: 50 GB

*** Start tmp1.p0.s0 with 'start' command ***

S root.p1.s0 State: up D: evie Size: 1024 MB

S var.p1.s0 State: up D: evie Size: 1024 MB

S crash.p1.s0 State: up D: evie Size: 2048 MB

S tmp.p1.s0 State: up D: evie Size: 1024 MB

S usr.p1.s0 State: up D: evie Size: 8192 MB

S home.p1.s0 State: up D: evie Size: 4096 MB

S tmp1.p1.s0 State: up D: evie Size: 50 GB

###########################################################################=
###

vinum -> stop tmp1.p0.s0

###########################################################################=
###

vinum -> list

2 drives:

D been State: up /dev/ad2s1h A: 7739/76347 MB (10%)

D evie State: up /dev/ad0s1h A: 7739/76347 MB (10%)

 7 volumes:

V root State: up Plexes: 2 Size: 1024 MB

V var State: up Plexes: 2 Size: 1024 MB

V crash State: up Plexes: 2 Size: 2048 MB

V tmp State: up Plexes: 2 Size: 1024 MB

V usr State: up Plexes: 2 Size: 8192 MB

V home State: up Plexes: 2 Size: 4096 MB

V tmp1 State: up Plexes: 2 Size: 50 GB

 14 plexes:

P root.p0 C State: up Subdisks: 1 Size: 1024 MB

P var.p0 C State: up Subdisks: 1 Size: 1024 MB

P crash.p0 C State: up Subdisks: 1 Size: 2048 MB

P tmp.p0 C State: up Subdisks: 1 Size: 1024 MB

P usr.p0 C State: up Subdisks: 1 Size: 8192 MB

P home.p0 C State: up Subdisks: 1 Size: 4096 MB

P tmp1.p0 C State: faulty Subdisks: 0 Size: 0 B

P root.p1 C State: up Subdisks: 1 Size: 1024 MB

P var.p1 C State: up Subdisks: 1 Size: 1024 MB

P crash.p1 C State: up Subdisks: 1 Size: 2048 MB

P tmp.p1 C State: up Subdisks: 1 Size: 1024 MB

P usr.p1 C State: up Subdisks: 1 Size: 8192 MB

P home.p1 C State: up Subdisks: 1 Size: 4096 MB

P tmp1.p1 C State: up Subdisks: 1 Size: 50 GB

 14 subdisks:

S root.p0.s0 State: up D: been Size: 1024 MB

S var.p0.s0 State: up D: been Size: 1024 MB

S crash.p0.s0 State: up D: been Size: 2048 MB

S tmp.p0.s0 State: up D: been Size: 1024 MB

S usr.p0.s0 State: up D: been Size: 8192 MB

S home.p0.s0 State: up D: been Size: 4096 MB

S tmp1.p0.s0 State: down D: been Size: 50 GB

S root.p1.s0 State: up D: evie Size: 1024 MB

S var.p1.s0 State: up D: evie Size: 1024 MB

S crash.p1.s0 State: up D: evie Size: 2048 MB

S tmp.p1.s0 State: up D: evie Size: 1024 MB

S usr.p1.s0 State: up D: evie Size: 8192 MB

S home.p1.s0 State: up D: evie Size: 4096 MB

S tmp1.p1.s0 State: up D: evie Size: 50 GB

###########################################################################=
###

vinum -> start tmp1.p0.s0

Can't start tmp1.p0.s0: Device busy (16)

###########################################################################=
###

vinum -> list

2 drives:

D been State: up /dev/ad2s1h A: 7739/76347 MB (10%)

D evie State: up /dev/ad0s1h A: 7739/76347 MB (10%)

 7 volumes:

V root State: up Plexes: 2 Size: 1024 MB

V var State: up Plexes: 2 Size: 1024 MB

V crash State: up Plexes: 2 Size: 2048 MB

V tmp State: up Plexes: 2 Size: 1024 MB

V usr State: up Plexes: 2 Size: 8192 MB

V home State: up Plexes: 2 Size: 4096 MB

V tmp1 State: up Plexes: 2 Size: 50 GB

 14 plexes:

P root.p0 C State: up Subdisks: 1 Size: 1024 MB

P var.p0 C State: up Subdisks: 1 Size: 1024 MB

P crash.p0 C State: up Subdisks: 1 Size: 2048 MB

P tmp.p0 C State: up Subdisks: 1 Size: 1024 MB

P usr.p0 C State: up Subdisks: 1 Size: 8192 MB

P home.p0 C State: up Subdisks: 1 Size: 4096 MB

P tmp1.p0 C State: faulty Subdisks: 0 Size: 0 B

P root.p1 C State: up Subdisks: 1 Size: 1024 MB

P var.p1 C State: up Subdisks: 1 Size: 1024 MB

P crash.p1 C State: up Subdisks: 1 Size: 2048 MB

P tmp.p1 C State: up Subdisks: 1 Size: 1024 MB

P usr.p1 C State: up Subdisks: 1 Size: 8192 MB

P home.p1 C State: up Subdisks: 1 Size: 4096 MB

P tmp1.p1 C State: up Subdisks: 1 Size: 50 GB

 14 subdisks:

S root.p0.s0 State: up D: been Size: 1024 MB

S var.p0.s0 State: up D: been Size: 1024 MB

S crash.p0.s0 State: up D: been Size: 2048 MB

S tmp.p0.s0 State: up D: been Size: 1024 MB

S usr.p0.s0 State: up D: been Size: 8192 MB

S home.p0.s0 State: up D: been Size: 4096 MB

S tmp1.p0.s0 State: reborn D: been Size: 50 GB

S root.p1.s0 State: up D: evie Size: 1024 MB

S var.p1.s0 State: up D: evie Size: 1024 MB

S crash.p1.s0 State: up D: evie Size: 2048 MB

S tmp.p1.s0 State: up D: evie Size: 1024 MB

S usr.p1.s0 State: up D: evie Size: 8192 MB

S home.p1.s0 State: up D: evie Size: 4096 MB

S tmp1.p1.s0 State: up D: evie Size: 50 GB

###########################################################################=
###

vinum -> stop tmp1.p0.s0

###########################################################################=
###

vinum -> setstate obsolete tmp1.p0.s0

###########################################################################=
###

vinum -> start tmp1.p0.s0

###########################################################################=
###

vinum -> list

2 drives:

D been State: up /dev/ad2s1h A: 7739/76347 MB (10%)

D evie State: up /dev/ad0s1h A: 7739/76347 MB (10%)

 7 volumes:

V root State: up Plexes: 2 Size: 1024 MB

V var State: up Plexes: 2 Size: 1024 MB

V crash State: up Plexes: 2 Size: 2048 MB

V tmp State: up Plexes: 2 Size: 1024 MB

V usr State: up Plexes: 2 Size: 8192 MB

V home State: up Plexes: 2 Size: 4096 MB

V tmp1 State: up Plexes: 2 Size: 50 GB

 14 plexes:

P root.p0 C State: up Subdisks: 1 Size: 1024 MB

P var.p0 C State: up Subdisks: 1 Size: 1024 MB

P crash.p0 C State: up Subdisks: 1 Size: 2048 MB

P tmp.p0 C State: up Subdisks: 1 Size: 1024 MB

P usr.p0 C State: up Subdisks: 1 Size: 8192 MB

P home.p0 C State: up Subdisks: 1 Size: 4096 MB

P tmp1.p0 C State: faulty Subdisks: 0 Size: 0 B

P root.p1 C State: up Subdisks: 1 Size: 1024 MB

P var.p1 C State: up Subdisks: 1 Size: 1024 MB

P crash.p1 C State: up Subdisks: 1 Size: 2048 MB

P tmp.p1 C State: up Subdisks: 1 Size: 1024 MB

P usr.p1 C State: up Subdisks: 1 Size: 8192 MB

P home.p1 C State: up Subdisks: 1 Size: 4096 MB

P tmp1.p1 C State: up Subdisks: 1 Size: 50 GB

 14 subdisks:

S root.p0.s0 State: up D: been Size: 1024 MB

S var.p0.s0 State: up D: been Size: 1024 MB

S crash.p0.s0 State: up D: been Size: 2048 MB

S tmp.p0.s0 State: up D: been Size: 1024 MB

S usr.p0.s0 State: up D: been Size: 8192 MB

S home.p0.s0 State: up D: been Size: 4096 MB

S tmp1.p0.s0 State: up D: been Size: 50 GB

S root.p1.s0 State: up D: evie Size: 1024 MB

S var.p1.s0 State: up D: evie Size: 1024 MB

S crash.p1.s0 State: up D: evie Size: 2048 MB

S tmp.p1.s0 State: up D: evie Size: 1024 MB

S usr.p1.s0 State: up D: evie Size: 8192 MB

S home.p1.s0 State: up D: evie Size: 4096 MB

S tmp1.p1.s0 State: up D: evie Size: 50 GB

###########################################################################=
###

vinum -> quit

###########################################################################=
###

root@bigbox:~ > cd /export

###########################################################################=
###

root@bigbox:/export > ls

.snap archive

  CRASH



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