Hi!

I feel panic is close... 

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.

I am new to Opensolaris and ZFS - have set up a box to keep my images and 
videos. ASUS motherboard, AMD Phenom II CPU, 4GB RAM, SASUC8I 8-port disk 
controller. 4x500GB disks in a raid1 setup in external eSATA disk cabinets.

After some time I decided to do mirrors, so I put in another 4x500GB in two 
mirrors. These I put in Chieftec backplanes. Started copying the files from the 
raid pool to the mirrored pool. Yesterday I decided to move the first 4 disks 
(with the raid pool) from the external encosures to the backplanes. Being tired 
after work and late at night I forgot to export the pool before moving the 
disks.

The disks were attached to the onboard sata controller before I moved them. 
After the move I attached them to the SASUC8I controller. When I got problems I 
tried to attach them to the onboard controller again, but I still have problems.

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:~$ pfexec zpool import vault
cannot import 'vault': a pool with that name is already created/imported,
and no additional pools with that name were found

j...@opensolaris:~$ pfexec zpool export vault
cannot open 'vault': I/O error

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. c13t0d0 <ATA-SAMSUNG HD501LJ-0-11-465.76GB>
          /p...@0,0/pci1022,9...@2/pci1000,3...@0/s...@0,0
       3. c13t1d0 <ATA-SAMSUNG HD501LJ-0-11-465.76GB>
          /p...@0,0/pci1022,9...@2/pci1000,3...@0/s...@1,0
       4. c13t2d0 <ATA-SAMSUNG HD501LJ-0-11-465.76GB>
          /p...@0,0/pci1022,9...@2/pci1000,3...@0/s...@2,0
       5. c13t3d0 <ATA-SAMSUNG HD501LJ-0-11-465.76GB>
          /p...@0,0/pci1022,9...@2/pci1000,3...@0/s...@3,0
       6. c13t4d0 <ATA-SAMSUNG HD501LJ-0-12-465.76GB>
          /p...@0,0/pci1022,9...@2/pci1000,3...@0/s...@4,0
       7. c13t5d0 <ATA-SAMSUNG HD501LJ-0-13-465.76GB>
          /p...@0,0/pci1022,9...@2/pci1000,3...@0/s...@5,0
       8. c13t6d0 <ATA-SAMSUNG HD501LJ-0-13-465.76GB>
          /p...@0,0/pci1022,9...@2/pci1000,3...@0/s...@6,0
       9. c13t7d0 <ATA-SAMSUNG HD501LJ-0-12-465.76GB>
          /p...@0,0/pci1022,9...@2/pci1000,3...@0/s...@7,0
Specify disk (enter its number): ^C

(0 is the boot drive, 1 is a OCZ SSD, 2-5 is the mirrored pool, 6-9 is the 
problem pool)

j...@opensolaris:~$ cfgadm
Ap_Id                          Type         Receptacle   Occupant     Condition
c13                            scsi-sas     connected    configured   unknown
usb5/1                         unknown      empty        unconfigured ok
...

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


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:~$ pfexec cfgadm -al
Ap_Id                          Type         Receptacle   Occupant     Condition
c13                            scsi-sas     connected    configured   unknown
c13::dsk/c13t0d0               disk         connected    configured   unknown
c13::dsk/c13t1d0               disk         connected    configured   unknown
c13::dsk/c13t2d0               disk         connected    configured   unknown
c13::dsk/c13t3d0               disk         connected    configured   unknown

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

j...@opensolaris:~$ fmdump -ev
TIME                 CLASS                                 ENA
May 12 19:39:59.3691 ereport.fs.zfs.vdev.open_failed       0x01a202f6e1300401
May 12 19:39:59.3691 ereport.fs.zfs.vdev.open_failed       0x01a202f6e1300401
May 12 19:39:59.3691 ereport.fs.zfs.vdev.open_failed       0x01a202f6e1300401
May 12 19:39:59.3691 ereport.fs.zfs.vdev.open_failed       0x01a202f6e1300401
May 12 19:39:59.3691 ereport.fs.zfs.vdev.no_replicas       0x01a202f6e1300401
May 12 19:39:59.3691 ereport.fs.zfs.zpool                  0x01a202f6e1300401
May 12 20:00:27.5687 ereport.fs.zfs.zpool                  0x1381371d32000001
May 12 20:00:27.8720 ereport.fs.zfs.zpool                  0x13825859e3200001
May 12 20:09:50.1421 ereport.fs.zfs.zpool                  0x02934f4a6bd00401
May 12 20:09:50.1628 ereport.fs.zfs.zpool                  0x0293630935800401
May 13 10:49:24.5203 ereport.fs.zfs.zpool                  0x02952f070ac00001
May 13 10:49:24.5402 ereport.fs.zfs.zpool                  0x0295420d9f800001

j...@opensolaris:~$ zpool status -x
all pools are healthy

j...@opensolaris:~$ pfexec fmstat
module             ev_recv ev_acpt wait  svc_t  %w  %b  open solve  memsz  bufsz
cpumem-retire            0       0  0.0   66.6   0   0     0     0      0      0
disk-transport           0       0  1.0 997458.1  98   0     0     0    32b     
 0
eft                      0       0  0.0   22.9   0   0     0     0   1.2M      0
ext-event-transport       0       0  0.0   66.6   0   0     0     0      0      0
fabric-xlate             0       0  0.0   66.6   0   0     0     0      0      0
fmd-self-diagnosis      40       0  0.0   41.9   0   0     0     0      0      0
io-retire                0       0  0.0   13.1   0   0     0     0      0      0
sensor-transport         0       0  0.0    2.7   0   0     0     0    32b      0
snmp-trapgen             0       0  0.0   83.8   0   0     0     0      0      0
sysevent-transport       0       0  0.0  407.1   0   0     0     0      0      0
syslog-msgs              0       0  0.0   66.6   0   0     0     0      0      0
zfs-diagnosis           34       0  0.0    1.5   0   0     0     0      0      0
zfs-retire              30       0  0.0   11.6   0   0     0     0   2.4K      0

j...@opensolaris:~$ pfexec fmadm config
MODULE                   VERSION STATUS  DESCRIPTION
cpumem-retire            1.1     active  CPU/Memory Retire Agent
disk-transport           1.0     active  Disk Transport Agent
eft                      1.16    active  eft diagnosis engine
ext-event-transport      0.1     active  External FM event transport
fabric-xlate             1.0     active  Fabric Ereport Translater
fmd-self-diagnosis       1.0     active  Fault Manager Self-Diagnosis
io-retire                2.0     active  I/O Retire Agent
sensor-transport         1.1     active  Sensor Transport Agent
snmp-trapgen             1.0     active  SNMP Trap Generation Agent
sysevent-transport       1.0     active  SysEvent Transport Agent
syslog-msgs              1.0     active  Syslog Messaging Agent
zfs-diagnosis            1.0     active  ZFS Diagnosis Engine
zfs-retire               1.0     active  ZFS Retire Agent

j...@opensolaris:~$ zpool get version rpool
NAME   PROPERTY  VALUE    SOURCE
rpool  version   22       default

... 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.

Best regards,
Jan Hellevik
-- 
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to