Hello,
I want to move an existing zpool consists of 16 disks from Ubuntu Server 13.10 to FreeBSD 9.2. I exported the existing ZFS pool from Ubuntu using the
Zpool and ZFS configuration on the Ubuntu server:
and
I swapped the boot and root harddisks for the ones with FreeBSD installation on it and try to import the zpool:
When I replace /boot/zfs/zpool.cache for the Ubuntu one, and try to import again I get the following error:
When I swap the FreeBSD root and boot drives back to the Ubuntu ones I can import the zpool again without any problem. What could be wrong here? The ZFS versions of Ubuntu and FreeBSD look the same to me, what else can I try to move the zpool from Ubuntu server to FreeBSD?
Any help would be greatly appreciated!
Regards,
Donald.
edit: Tried latest ZFSGuru live CD, which is based on FreeBSD, still no luck and exactly the same error, Should I try the Development version of FreeBSD 10? Does it have a newer ZFS kernel code?
I want to move an existing zpool consists of 16 disks from Ubuntu Server 13.10 to FreeBSD 9.2. I exported the existing ZFS pool from Ubuntu using the
zpool export data
command.Zpool and ZFS configuration on the Ubuntu server:
zpool status
Code:
pool: data
state: ONLINE
scan: scrub repaired 0 in 120h35m with 0 errors on Thu Nov 7 23:47:06 2013
config:
NAME STATE READ WRITE CKSUM
data ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
ata-WDC_WD4001FAEX-00MJRA0_WD-WCC130167463 ONLINE 0 0 0
ata-WDC_WD4001FAEX-00MJRA0_WD-WCC130169554 ONLINE 0 0 0
ata-WDC_WD4001FAEX-00MJRA0_WD-WCC130174628 ONLINE 0 0 0
ata-WDC_WD4001FAEX-00MJRA0_WD-WCC130205167 ONLINE 0 0 0
raidz1-1 ONLINE 0 0 0
ata-WDC_WD20EARS-00MVWB0_WD-WCAZA2310603 ONLINE 0 0 0
ata-WDC_WD20EARS-00MVWB0_WD-WCAZA2314761 ONLINE 0 0 0
ata-WDC_WD20EARS-00MVWB0_WD-WCAZA4629434 ONLINE 0 0 0
ata-WDC_WD2002FAEX-007BA0_WD-WMAWP0545643 ONLINE 0 0 0
raidz1-2 ONLINE 0 0 0
ata-WDC_WD10EADS-00L5B1_WD-WCAU48673815 ONLINE 0 0 0
ata-WDC_WD10EADS-00L5B1_WD-WCAU4D807048 ONLINE 0 0 0
ata-WDC_WD1002FAEX-00Y9A0_WD-WMAW31226374 ONLINE 0 0 0
ata-WDC_WD10EVDS-63U8B0_WD-WCAV5H541072 ONLINE 0 0 0
raidz1-3 ONLINE 0 0 0
ata-WDC_WD6400AACS-00G8B1_WD-WCAUF2887968 ONLINE 0 0 0
ata-WDC_WD6400AACS-00G8B1_WD-WCAUF2914302 ONLINE 0 0 0
ata-WDC_WD6400AAKS-22A7B0_WD-WMASY3620082 ONLINE 0 0 0
ata-WDC_WD6400AAKS-22A7B0_WD-WMASY3626742 ONLINE 0 0 0
errors: No known data errors
zpool upgrade -v
Code:
The following filesystem versions are supported:
VER DESCRIPTION
--- --------------------------------------------------------
1 Initial ZFS filesystem version
2 Enhanced directory entries
3 Case insensitive and filesystem user identifier (FUID)
4 userquota, groupquota properties
5 System attributes
For more information on a particular version, including supported releases,
see the ZFS Administration Guide.
root@backup:/home/donald# cat ubuntuzpoolversion.txt
This system supports ZFS pool feature flags.
The following features are supported:
FEAT DESCRIPTION
-------------------------------------------------------------
async_destroy (read-only compatible)
Destroy filesystems asynchronously.
empty_bpobj (read-only compatible)
Snapshots use less space.
lz4_compress
LZ4 compression algorithm support.
The following legacy versions are also supported:
VER DESCRIPTION
--- --------------------------------------------------------
1 Initial ZFS version
2 Ditto blocks (replicated metadata)
3 Hot spares and double parity RAID-Z
4 zpool history
5 Compression using the gzip algorithm
6 bootfs pool property
7 Separate intent log devices
8 Delegated administration
9 refquota and refreservation properties
10 Cache devices
11 Improved scrub performance
12 Snapshot properties
13 snapused property
14 passthrough-x aclinherit
15 user/group space accounting
16 stmf property support
17 Triple-parity RAID-Z
18 Snapshot user holds
19 Log device removal
20 Compression using zle (zero-length encoding)
21 Deduplication
22 Received properties
23 Slim ZIL
24 System attributes
25 Improved scrub stats
26 Improved snapshot deletion performance
27 Improved snapshot creation performance
28 Multiple vdev replacements
For more information on a particular version, including supported releases,
see the ZFS Administration Guide.
and
zfs upgrade -v
gives:
Code:
The following filesystem versions are supported:
VER DESCRIPTION
--- --------------------------------------------------------
1 Initial ZFS filesystem version
2 Enhanced directory entries
3 Case insensitive and filesystem user identifier (FUID)
4 userquota, groupquota properties
5 System attributes
For more information on a particular version, including supported releases,
see the ZFS Administration Guide.
I swapped the boot and root harddisks for the ones with FreeBSD installation on it and try to import the zpool:
zpool import -d /dev data
which gives:
Code:
cannot import 'data': I/O error
Destroy and re-create the pool from
a backup source.
zpool upgrade -v
on FreeBSD gives:
Code:
This system supports ZFS pool feature flags.
The following features are supported:
FEAT DESCRIPTION
-------------------------------------------------------------
async_destroy (read-only compatible)
Destroy filesystems asynchronously.
empty_bpobj (read-only compatible)
Snapshots use less space.
lz4_compress
LZ4 compression algorithm support.
The following legacy versions are also supported:
VER DESCRIPTION
--- --------------------------------------------------------
1 Initial ZFS version
2 Ditto blocks (replicated metadata)
3 Hot spares and double parity RAID-Z
4 zpool history
5 Compression using the gzip algorithm
6 bootfs pool property
7 Separate intent log devices
8 Delegated administration
9 refquota and refreservation properties
10 Cache devices
11 Improved scrub performance
12 Snapshot properties
13 snapused property
14 passthrough-x aclinherit
15 user/group space accounting
16 stmf property support
17 Triple-parity RAID-Z
18 Snapshot user holds
19 Log device removal
20 Compression using zle (zero-length encoding)
21 Deduplication
22 Received properties
23 Slim ZIL
24 System attributes
25 Improved scrub stats
26 Improved snapshot deletion performance
27 Improved snapshot creation performance
28 Multiple vdev replacements
For more information on a particular version, including supported releases,
see the ZFS Administration Guide.
zfs upgrade -v
on FreeBSD gives:
Code:
The following filesystem versions are supported:
VER DESCRIPTION
--- --------------------------------------------------------
1 Initial ZFS filesystem version
2 Enhanced directory entries
3 Case insensitive and filesystem user identifier (FUID)
4 userquota, groupquota properties
5 System attributes
For more information on a particular version, including supported releases,
see the ZFS Administration Guide.
When I replace /boot/zfs/zpool.cache for the Ubuntu one, and try to import again I get the following error:
zpool import data
Code:
pool: data
id: 4587508239621481579
state: FAULTED
status: The pool metadata is corrupted.
action: The pool cannot be imported due to damaged devices or data.
comment: Donald's Raid Array
see: http://illumos.org/msg/ZFS-8000-72
config:
data FAULTED corrupted data
raidz1-0 ONLINE
ada13p1 ONLINE
ada15p1 ONLINE
ada14p1 ONLINE
ada12p1 ONLINE
raidz1-1 ONLINE
ada10p1 ONLINE
ada8p1 ONLINE
ada11p1 ONLINE
ada9p1 ONLINE
raidz1-2 ONLINE
ada1p1 ONLINE
ada0p1 ONLINE
ada2p1 ONLINE
ada3p1 ONLINE
raidz1-3 ONLINE
gptid/f3300dc7-100b-ea44-82c5-1dc260941961 ONLINE
ada6p1 ONLINE
ada4p1 ONLINE
ada5p1 ONLINE
When I swap the FreeBSD root and boot drives back to the Ubuntu ones I can import the zpool again without any problem. What could be wrong here? The ZFS versions of Ubuntu and FreeBSD look the same to me, what else can I try to move the zpool from Ubuntu server to FreeBSD?
Any help would be greatly appreciated!
Regards,
Donald.
edit: Tried latest ZFSGuru live CD, which is based on FreeBSD, still no luck and exactly the same error, Should I try the Development version of FreeBSD 10? Does it have a newer ZFS kernel code?