(´・ω・`)そんな言い方ってない

ヲタエンジニアの備忘録的なもの

FreeBSD9.1 + RocketRAID 2720

Categories: FreeBSD zfs

Date: 2013/04/29

FreeBSD9.1からはRcoketRAIDのドライバが入ってるらしい。 ローダー周りの挙動すっかり忘れたのでメモメモ。

$ ls /boot/kernel | grep hp
acpi_hp.ko
acpi_hp.ko.symbols
atahighpoint.ko
atahighpoint.ko.symbols
hpt27xx.ko
hpt27xx.ko.symbols
hptiop.ko
hptiop.ko.symbols
hptmv.ko
hptmv.ko.symbols
hptrr.ko
hptrr.ko.symbols
mxge_ethp_z8e.ko
mxge_ethp_z8e.ko.symbols
mxge_rss_ethp_z8e.ko
mxge_rss_ethp_z8e.ko.symbols

# echo 'zfs_load="YES"' >> /boot/loader.conf
# echo 'hpt27xx_load="YES"' >> boot/loader.conf


# zpool upgrade -v
This system is currently running ZFS pool version 28.

The following versions are 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
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.

# zpool import
pool: tank
id: xxxxxxxxxxxxxxxxxxxx
state: ONLINE
status: The pool is formatted using an older on-disk version.
action: The pool can be imported using its name or numeric identifier, though
some features will not be available without an explicit 'zpool upgrade'.
config:

tank ONLINE
raidz1-0 ONLINE
da0p1 ONLINE
da1p1 ONLINE
da2p1 ONLINE
da3p1 ONLINE

# zpool import tank
# zpool list
NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT
tank 7.25T 7.08T 172G 97% 1.00x ONLINE -

# zpool upgrade -a
This system is currently running ZFS pool version 28.

Successfully upgraded 'tank'

# zfs upgrade -a
1 filesystems upgraded

問題なくアップグレード完了。 ついでにRocket RAID2720のBIOSもup。