ZFS: FreeBSD 10.1 can't import/mount FreeBSD 9 pool
James R. Van Artsdalen
james-freebsd-fs2 at jrv.org
Fri Dec 26 23:49:33 UTC 2014
FreeBSD bigtex.housenet.jrv 10.1-PRERELEASE FreeBSD 10.1-PRERELEASE #2
r273476M: Thu Oct 23 20:39:40 CDT 2014
james at bigtex.housenet.jrv:/usr/obj/usr/src/sys/GENERIC amd64
A pool created by a FreeBSD 9 system was imported into FreeBSD 10.1 but
failed to create the recursive mountpoints as shown below.
What's especially interesting is that the free space reported by
zpool(1) and zfs(1) are wildly different, even though there are no
reservations.
Note that I was able to do a zpool upgrade, but that zfs upgrade failed
on the children datasets.
# zpool import SAS01
cannot mount '/SAS01/t03': failed to create mountpoint
cannot mount '/SAS01/t04': failed to create mountpoint
cannot mount '/SAS01/t05': failed to create mountpoint
cannot mount '/SAS01/t06': failed to create mountpoint
cannot mount '/SAS01/t07': failed to create mountpoint
cannot mount '/SAS01/t08': failed to create mountpoint
cannot mount '/SAS01/t12': failed to create mountpoint
cannot mount '/SAS01/t13': failed to create mountpoint
# zpool list SAS01
NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
SAS01 43.5T 42.6T 948G - 0% 97% 1.00x ONLINE -
# zfs list -p SAS01
NAME USED AVAIL REFER MOUNTPOINT
SAS01 33279222543840 0 314496 /SAS01
# zpool get all SAS01
NAME PROPERTY VALUE SOURCE
SAS01 size 43.5T -
SAS01 capacity 97% -
SAS01 altroot - default
SAS01 health ONLINE -
SAS01 guid 1341452135 default
SAS01 version - default
SAS01 bootfs - default
SAS01 delegation on default
SAS01 autoreplace off default
SAS01 cachefile - default
SAS01 failmode wait default
SAS01 listsnapshots off default
SAS01 autoexpand off default
SAS01 dedupditto 0 default
SAS01 dedupratio 1.00x -
SAS01 free 948G -
SAS01 allocated 42.6T -
SAS01 readonly off -
SAS01 comment - default
SAS01 expandsize - -
SAS01 freeing 0 default
SAS01 fragmentation 0% -
SAS01 leaked 0 default
SAS01 feature at async_destroy enabled local
SAS01 feature at empty_bpobj active local
SAS01 feature at lz4_compress active local
SAS01 feature at multi_vdev_crash_dump enabled local
SAS01 feature at spacemap_histogram active local
SAS01 feature at enabled_txg active local
SAS01 feature at hole_birth active local
SAS01 feature at extensible_dataset enabled local
SAS01 feature at embedded_data active local
SAS01 feature at bookmarks enabled local
SAS01 feature at filesystem_limits enabled local
# zfs get all SAS01
NAME PROPERTY VALUE SOURCE
SAS01 type filesystem -
SAS01 creation Tue Dec 23 2:51 2014 -
SAS01 used 30.3T -
SAS01 available 0 -
SAS01 referenced 307K -
SAS01 compressratio 1.00x -
SAS01 mounted yes -
SAS01 quota none default
SAS01 reservation none default
SAS01 recordsize 128K default
SAS01 mountpoint /SAS01 default
SAS01 sharenfs off default
SAS01 checksum on default
SAS01 compression off default
SAS01 atime on default
SAS01 devices on default
SAS01 exec on default
SAS01 setuid on default
SAS01 readonly off default
SAS01 jailed off default
SAS01 snapdir hidden default
SAS01 aclmode discard default
SAS01 aclinherit restricted default
SAS01 canmount on default
SAS01 xattr off temporary
SAS01 copies 1 default
SAS01 version 5 -
SAS01 utf8only off -
SAS01 normalization none -
SAS01 casesensitivity sensitive -
SAS01 vscan off default
SAS01 nbmand off default
SAS01 sharesmb off default
SAS01 refquota none default
SAS01 refreservation none default
SAS01 primarycache all default
SAS01 secondarycache all default
SAS01 usedbysnapshots 0 -
SAS01 usedbydataset 307K -
SAS01 usedbychildren 30.3T -
SAS01 usedbyrefreservation 0 -
SAS01 logbias latency default
SAS01 dedup off default
SAS01 mlslabel -
SAS01 sync standard default
SAS01 refcompressratio 1.00x -
SAS01 written 307K -
SAS01 logicalused 30.2T -
SAS01 logicalreferenced 12K -
SAS01 volmode default default
SAS01 filesystem_limit none default
SAS01 snapshot_limit none default
SAS01 filesystem_count none default
SAS01 snapshot_count none default
SAS01 redundant_metadata all default
# zpool status SAS01
pool: SAS01
state: ONLINE
scan: scrub repaired 0 in 20h26m with 0 errors on Thu Dec 25 20:57:34 2014
config:
NAME STATE READ WRITE CKSUM
SAS01 ONLINE 0 0 0
raidz2-0 ONLINE 0 0 0
da45 ONLINE 0 0 0
da44 ONLINE 0 0 0
da47 ONLINE 0 0 0
da43 ONLINE 0 0 0
da42 ONLINE 0 0 0
da46 ONLINE 0 0 0
da41 ONLINE 0 0 0
da40 ONLINE 0 0 0
errors: No known data errors
# zfs upgrade -r SAS01
cannot set property for 'SAS01/t03': out of space
cannot set property for 'SAS01/t04': out of space
cannot set property for 'SAS01/t05': out of space
cannot set property for 'SAS01/t06': out of space
cannot set property for 'SAS01/t07': out of space
cannot set property for 'SAS01/t08': out of space
cannot set property for 'SAS01/t12': out of space
cannot set property for 'SAS01/t13': out of space
0 filesystems upgraded
1 filesystems already at this version
#
More information about the freebsd-fs
mailing list