Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Nov 2010 19:03:45 +0000
From:      Maciej Friedel <biuro@wwv.pl>
To:        freebsd-stable@freebsd.org
Subject:   8.1-STABLE - zpool import problem
Message-ID:  <1289588625.1584.11.camel@toshiba>

next in thread | raw e-mail | index | archive | help
I have a problem with importing the newly created pool

# uname -a
FreeBSD backup.wwv.pl 8.1-STABLE FreeBSD 8.1-STABLE #1: Thu Nov 11
15:13:25 CET 2010     root@backup.wwv.pl:/usr/obj/usr/src/sys/BACKUP
i386

# dmesg | grep WDC
ad4: 610480MB <WDC WD6400AAKS-22A7B2 01.03B01> at ata2-master UDMA100
SATA 1.5Gb/s
ad6: 610480MB <WDC WD6400AAKS-00A7B2 01.03B01> at ata3-master UDMA100
SATA 1.5Gb/s
ad12: 152627MB <WDC WD1600JD-00HBB0 08.02D08> at ata6-master UDMA100
SATA 1.5Gb/s

# zpool create backupfs ad4 ad6
# zpool status
  pool: backupfs
state: ONLINE
scrub: none requested
config:

        NAME        STATE     READ WRITE CKSUM
        backupfs    ONLINE       0     0     0
          ad4       ONLINE       0     0     0
          ad6       ONLINE       0     0     0

errors: No known data errors

  pool: basefs
state: ONLINE
scrub: none requested
config:

        NAME        STATE     READ WRITE CKSUM
        basefs      ONLINE       0     0     0
          ad12s2    ONLINE       0     0     0

errors: No known data errors

# zfs create backupfs/backup
# df -h
Filesystem           Size    Used   Avail Capacity  Mounted on
/dev/label/rootfs    496M    354M    102M    78%    /
devfs                1.0K    1.0K      0B   100%    /dev
basefs/home          141G    117G     24G    83%    /home
basefs/usr            27G    2.8G     24G    11%    /usr
basefs/var            24G    255M     24G     1%    /var
/dev/md0             496M     46K    496M     0%    /tmp
backupfs             1.1T     21K    1.1T     0%    /backupfs
backupfs/backup      1.1T     21K    1.1T     0%    /backupfs/backup
# mkdir /home/backup
# zfs umount /backupfs/backup
# zfs umount /backupfs
# zfs set mountpoint=/home/backup backupfs/backup
# zfs set mountpoint=none backupfs
# zpool export backupfs
# zpool import backupfs
cannot import 'backupfs': pool is formatted using a newer ZFS version

# zpool import
  pool: backupfs
    id: 1262536404400505900
state: ONLINE
action: The pool can be imported using its name or numeric identifier.
config:

        backupfs    ONLINE
          ad4       ONLINE
          ad6       ONLINE
# zfs upgrade
This system is currently running ZFS filesystem version 3.

All filesystems are formatted with the current version.
# zpool upgrade
This system is currently running ZFS pool version 14.

All pools are formatted using this version.

Regards,
Maciej Friedel

-- 
Maciej Friedel <biuro@wwv.pl>




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