Tag Archive: NAS

Nov 17

ZFS Fails After Xubuntu Version Upgrade

Basically, the pools were showing critical errors after upgrading from Xubuntu 12.04 to 14.04 like this:

pool: mediatank
  state: UNAVAIL
status: One or more devices could not be used because the label is missing
        or invalid.  There are insufficient replicas for the pool to continue
        functioning.
action: Destroy and re-create the pool from
        a backup source.
   see: http://zfsonlinux.org/msg/ZFS-8000-5E
  scan: none requested
config:

        NAME                                          STATE     READ WRITE CKSUM
        mediatank                                     UNAVAIL      0     0     0  insufficient replicas
          mirror-0                                    UNAVAIL      0     0     0  insufficient replicas
            scsi-SATA_Hitachi_HDS7220_JK11B1B9HXYAWF  UNAVAIL      0     0     0
            scsi-SATA_Hitachi_HDS7220_JK2171B9HYRASL  UNAVAIL      0     0     0

  pool: tank
  state: UNAVAIL
status: One or more devices could not be used because the label is missing
        or invalid.  There are insufficient replicas for the pool to continue
        functioning.
action: Destroy and re-create the pool from
        a backup source.
   see: http://zfsonlinux.org/msg/ZFS-8000-5E
  scan: none requested
config:

        NAME                                     STATE     READ WRITE CKSUM
        tank                                     UNAVAIL      0     0     0  insufficient replicas
          mirror-0                               UNAVAIL      0     0     0  insufficient replicas
            scsi-SATA_TOSHIBA_DT01ACA_14TRP11GS  UNAVAIL      0     0     0
            scsi-SATA_TOSHIBA_DT01ACA_14TRRNVGS  UNAVAIL      0     0     0

Turns out, the new kernel changed the way it refers to these devices. Instead of

scsi-SATA_TOSHIBA_DT01ACA_14TRP11GS

for instance, the new name is

ata-SATA_TOSHIBA_DT01ACA_14TRP11GS

GRRR.

Anyway, after looking at a couple of sites that said I needed to use symlinks to the old names in the /dev/disk/by-id folder, I found this fix:

sudo zpool export backups
sudo import -d /dev/disk/by-id/ backups -f

Thanks to the Blog of Graham.

Jun 21

ZFS Pools Disappear After Upgrade

No idea why this happened by the fix was easy:

# apt-get update
# apt-get install zfsutils

Then rm -R the two mountpoints and sudo zfs mount –a

Whew.

barbour pas cher barbour pas cher barbour pas cher barbour pas cher barbour pas cher woolrich outlet online woolrich outlet online woolrich outlet online woolrich outlet online woolrich outlet online parajumpers pas cher parajumpers pas cher parajumpers pas cher parajumpers pas cher parajumpers pas cher parajumpers pas cher stone island outlet stone island outlet stone island outlet stone island outlet stone island outlet stone island outlet moncler pas cher moncler pas cher moncler pas cher moncler pas cher moncler pas cher moncler pas cher moncler outlet online moncler outlet online moncler outlet online moncler outlet online moncler outlet online moncler outlet online moose knuckles outlet usb backpack outlet happiness outlet happiness outlet shoes down jackets outlet cappotti italia outlet fjallraven outlet