Hey! It is there! :-) Cannot believe I did not try the import command again.
:-)

But I still have problems - I had added a slice of a SSD as log and another
slice as cache to the pool. The SSD is there - c10d1 but ...
Ideas? The log part showed under the pool when I initially tried the import,
but now it is gone. I am afraid of doing something stupid at this point in
time. Any help is really appreciated!

j...@opensolaris:~$ pfexec zpool import
  pool: vault
    id: 8738898173956136656
 state: UNAVAIL
status: One or more devices are missing from the system.
action: The pool cannot be imported. Attach the missing
        devices and try again.
   see: http://www.sun.com/msg/ZFS-8000-6X
config:

        vault        UNAVAIL  missing device
          raidz1-0   ONLINE
            c11d0    ONLINE
            c12d0    ONLINE
            c12d1    ONLINE
            c10d1    ONLINE

        Additional devices are known to be part of this pool, though their
        exact configuration cannot be determined.
j...@opensolaris:~$ pfexec format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
       0. c8d0 <DEFAULT cyl 6394 alt 2 hd 255 sec 63>
          /p...@0,0/pci-...@14,1/i...@0/c...@0,0
       1. c10d0 <DEFAULT cyl 465 alt 2 hd 255 sec 63>
          /p...@0,0/pci-...@11/i...@0/c...@0,0
       2. c10d1 <SAMSUNG-S0MUJFWQ38208-0001-465.76GB>
          /p...@0,0/pci-...@11/i...@0/c...@1,0
       3. c11d0 <SAMSUNG-S0MUJFWQ38207-0001-465.76GB>
          /p...@0,0/pci-...@11/i...@1/c...@0,0
       4. c12d0 <SAMSUNG-S0MUJ1DPC0399-0001-465.76GB>
          /p...@0,0/pci-...@14,1/i...@1/c...@0,0
       5. c12d1 <SAMSUNG-S0MUJ1EPB1834-0001-465.76GB>
          /p...@0,0/pci-...@14,1/i...@1/c...@1,0
       6. c13t0d0 <ATA-SAMSUNG HD501LJ-0-11-465.76GB>
          /p...@0,0/pci1022,9...@2/pci1000,3...@0/s...@0,0
       7. c13t1d0 <ATA-SAMSUNG HD501LJ-0-11-465.76GB>
          /p...@0,0/pci1022,9...@2/pci1000,3...@0/s...@1,0
       8. c13t2d0 <ATA-SAMSUNG HD501LJ-0-11-465.76GB>
          /p...@0,0/pci1022,9...@2/pci1000,3...@0/s...@2,0
       9. c13t3d0 <ATA-SAMSUNG HD501LJ-0-11-465.76GB>
          /p...@0,0/pci1022,9...@2/pci1000,3...@0/s...@3,0
Specify disk (enter its number): ^C
j...@opensolaris:~$


On Thu, May 13, 2010 at 7:15 PM, Richard Elling <richard.ell...@gmail.com>wrote:

> now try "zpool import" to see what it thinks the drives are
>  -- richard
>
> On May 13, 2010, at 2:46 AM, Jan Hellevik wrote:
>
> > Short version: I moved the disks of a pool to a new controller without
> exporting it first. Then I moved them back to the original controller, but I
> still cannot import the pool.
> >
> >
> > j...@opensolaris:~$ zpool status
> >
> >  pool: vault
> > state: UNAVAIL
> > status: One or more devices could not be opened.  There are insufficient
> >        replicas for the pool to continue functioning.
> > action: Attach the missing device and online it using 'zpool online'.
> >   see: http://www.sun.com/msg/ZFS-8000-3C
> > scrub: none requested
> > config:
> >
> >        NAME        STATE     READ WRITE CKSUM
> >        vault       UNAVAIL      0     0     0  insufficient replicas
> >          raidz1-0  UNAVAIL      0     0     0  insufficient replicas
> >            c12d1   UNAVAIL      0     0     0  cannot open
> >            c12d0   UNAVAIL      0     0     0  cannot open
> >            c10d1   UNAVAIL      0     0     0  cannot open
> >            c11d0   UNAVAIL      0     0     0  cannot open
> >        logs
> >          c10d0p1   ONLINE       0     0     0
> >
> > j...@opensolaris:~$ zpool status
> > .... cannot see the pool
> >
> > j...@opensolaris:~$ pfexec zpool import vault
> > cannot import 'vault': one or more devices is currently unavailable
> >        Destroy and re-create the pool from
> >        a backup source.
> > j...@opensolaris:~$ pfexec poweroff
> >
> > .... moved the disks back to the original controller
> >
> > j...@opensolaris:~$ pfexec zpool import vault
> > cannot import 'vault': one or more devices is currently unavailable
> >        Destroy and re-create the pool from
> >        a backup source.
> > j...@opensolaris:~$ pfexec format
> > Searching for disks...done
> >
> >
> > j...@opensolaris:~$ uname -a
> > SunOS opensolaris 5.11 snv_133 i86pc i386 i86pc Solaris
> >
> > j...@opensolaris:~$ pfexec zpool history vault
> > cannot open 'vault': no such pool
> >
> >
> > ... and this is where I am now.
> >
> > The zpool contains my digital images and videos and I would be really
> unhappy to lose them. What can I do to get back the pool? Is there hope?
> >
> > Sorry for the long post - tried to assemble as much relevant information
> as I could.
> >
>
> --
> ZFS storage and performance consulting at http://www.RichardElling.com
>
>
>
>
>
>
>
>
>
>
>
>


-- 
Jan Hellevik
Tel: +47-41004070
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to