Hi there,

juli...@rainforest:~$ cat /etc/issue
Ubuntu 9.04 \n \l
juli...@rainforest:~$ dpkg -l | grep -i zfs-fuse
ii  zfs-fuse                                  0.5.1-1ubuntu5

I have two 320gb sata disks connected to a PCI raid controller:
juli...@rainforest:~$ lspci | grep -i sata
00:08.0 RAID bus controller: Silicon Image, Inc. SiI 3512
[SATALink/SATARaid] Serial ATA Controller (rev 01)

After a dist-upgrade to jaunty my zpool mirror zfspool got broken.

juli...@rainforest:~$ sudo zpool status
 pool: zfspool
 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
       zfspool     UNAVAIL      0     0     0  insufficient replicas
         mirror    UNAVAIL      0     0     0  insufficient replicas
           sdb     FAULTED      0     0     0  corrupted data
           sdc     UNAVAIL      0     0     0  cannot open

I think what has happened is that somehow the drive labels sda and sdc
have been swapped around and zfs-fuse got confused.  IIRC i used to
boot of sda, but now it looks like i'm booting of sdc.

juli...@rainforest:~$ sudo lshw | grep -iE '/dev/sd|size'
               logical name: /dev/sdc
               size: 18GiB (20GB)
                  logical name: /dev/sdc1
                  size: 17GiB
                  logical name: /dev/sdc2
                  size: 839MiB
                     logical name: /dev/sdc5
               logical name: /dev/sda
               size: 298GiB (320GB)
               logical name: /dev/sdb
               size: 298GiB (320GB)

This is my fstab, but i suspect the commented volume labels (#
/dev/sdaX) are now wrong:

juli...@rainforest:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# /dev/sda1
UUID=d4a5ebb6-52ec-4b6f-bc8e-5052dca81ec6 /               ext3
relatime,errors=remount-ro 0       1
# /dev/sda5
UUID=5e55071d-0ebf-4741-ba1a-4a9d70b70c78 none            swap    sw
           0       0
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec,utf8 0       0

How do i get back to a working zpool?

-- 
Kind regards, Jules

free. open. honest. love. kindness. generosity. energy. frenetic.
electric. light. lasers. spinning spotlights. stage dancers. heads
bathed in yellow light. silence. stillness. awareness. empathy. the
beat. magic, not mushrooms. thick. tight. solid. commanding.
compelling. uplifting. euphoric. ecstatic, not e. ongoing. releasing.
reforming. meandering. focussing. quickening. quickening. quickening.
aloft. floating. then.... the beat. fat exploding thick bass-line.
eyes, everywhere. smiling. sharing. giving. trust. understanding.
tolerance. peace. equanimity. emptiness (Earthcore, 2008)
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to