FreeBSD10から11へupgrade したら ZFSも
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
CONTENTS
#contents
----
Lastmodified &lastmod;
----
*FreeBSD10から11へupgrade したら ZFSも [#i71e1a28]
root@blackhole:~:17_04_04:9:44 # uname -a
FreeBSD blackhole.smb.net 11.0-RELEASE-p8 FreeBSD 11.0-R...
http://april.fool.jp/blogs/2015/01/freebsd-%E3%82%B7%E3%8...
$ zpool status
pool: warehouse
state: ONLINE
status: Some supported features are not enabled on the p...
still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once ...
the pool may no longer be accessible by software ...
the features. See zpool-features(7) for details.
scan: none requested
config:
NAME ...
zroot ...
raidz1-0 ...
gptid/79b8953a-7564-11e5-930e-8c89a51f0386 ...
gptid/7b267c42-7564-11e5-930e-8c89a51f0386 ...
gptid/7c484e02-7564-11e5-930e-8c89a51f0386 ...
zpool upgrade zroot
gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada0
gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada1
gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada2
root@blackhole:~:17_04_04:9:32 # zpool status
pool: zroot
state: ONLINE
scan: none requested
config:
NAME ...
zroot ...
raidz1-0 ...
gptid/79b8953a-7564-11e5-930e-8c89a51f0386 ...
gptid/7b267c42-7564-11e5-930e-8c89a51f0386 ...
gptid/7c484e02-7564-11e5-930e-8c89a51f0386 ...
errors: No known data errors
root@blackhole:~:17_04_04:9:32 # gpart show ada0
=> 34 5860533101 ada0 GPT (2.7T)
34 6 - free - (3.0K)
40 1024 1 freebsd-boot (512K)
1064 4194304 2 freebsd-swap (2.0G)
4195368 5856337760 3 freebsd-zfs (2.7T)
5860533128 7 - free - (3.5K)
root@blackhole:~:17_04_04:9:33 # camcontrol identify ada0
pass0: <WDC WD30EFRX-68EUZN0 82.00A82> ACS-2 ATA SATA 3....
pass0: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192b...
protocol ATA/ATAPI-9 SATA 3.x
device model WDC WD30EFRX-68EUZN0
firmware revision 82.00A82
serial number WD-WCC4N1SRTJLC
WWN 50014ee20c236279
cylinders 16383
heads 16
sectors/track 63
sector size logical 512, physical 4096, offset 0
LBA supported 268435455 sectors
LBA48 supported 5860533168 sectors
PIO supported PIO4
DMA supported WDMA2 UDMA6
media RPM 5400
Feature Support Enabled Value ...
read ahead yes yes
write cache yes yes
flush cache yes yes
overlap no
Tagged Command Queuing (TCQ) no no
Native Command Queuing (NCQ) yes 32 tags
NCQ Queue Management no
NCQ Streaming no
Receive & Send FPDMA Queued no
SMART yes yes
microcode download yes yes
security yes no
power management yes yes
advanced power management no no
automatic acoustic management no no
media status notification no no
power-up in Standby yes no
write-read-verify no no
unload yes yes
general purpose logging yes yes
free-fall no no
Data Set Management (DSM/TRIM) no
Host Protected Area (HPA) yes no 58605331...
HPA - Security no
root@blackhole:~:17_04_04:9:38 # zdb
zroot:
version: 5000
name: 'zroot'
state: 0
txg: 9138320
pool_guid: 8205809221381710835
hostid: 1759158785
hostname: 'blackhole.smb.net'
com.delphix:has_per_vdev_zaps
vdev_children: 1
vdev_tree:
type: 'root'
id: 0
guid: 8205809221381710835
children[0]:
type: 'raidz'
id: 0
guid: 12988772090358565254
nparity: 1
metaslab_array: 34
metaslab_shift: 36
ashift: 12
asize: 8995320102912
is_log: 0
create_txg: 4
com.delphix:vdev_zap_top: 157
children[0]:
type: 'disk'
id: 0
guid: 6730515433404320309
path: '/dev/gptid/79b8953a-7564-11e5-930...
phys_path: '/dev/gptid/79b8953a-7564-11e...
whole_disk: 1
create_txg: 4
com.delphix:vdev_zap_leaf: 158
children[1]:
type: 'disk'
id: 1
guid: 4691406828913798906
path: '/dev/gptid/7b267c42-7564-11e5-930...
phys_path: '/dev/gptid/7b267c42-7564-11e...
whole_disk: 1
create_txg: 4
com.delphix:vdev_zap_leaf: 159
children[2]:
type: 'disk'
id: 2
guid: 9697705238108445282
path: '/dev/gptid/7c484e02-7564-11e5-930...
phys_path: '/dev/gptid/7c484e02-7564-11e...
whole_disk: 1
create_txg: 4
com.delphix:vdev_zap_leaf: 160
features_for_read:
com.delphix:hole_birth
com.delphix:embedded_data
----
Total access &counter(total);:本日 &counter(today);:昨...
#counter([total|today|yesterday]);
終了行:
CONTENTS
#contents
----
Lastmodified &lastmod;
----
*FreeBSD10から11へupgrade したら ZFSも [#i71e1a28]
root@blackhole:~:17_04_04:9:44 # uname -a
FreeBSD blackhole.smb.net 11.0-RELEASE-p8 FreeBSD 11.0-R...
http://april.fool.jp/blogs/2015/01/freebsd-%E3%82%B7%E3%8...
$ zpool status
pool: warehouse
state: ONLINE
status: Some supported features are not enabled on the p...
still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once ...
the pool may no longer be accessible by software ...
the features. See zpool-features(7) for details.
scan: none requested
config:
NAME ...
zroot ...
raidz1-0 ...
gptid/79b8953a-7564-11e5-930e-8c89a51f0386 ...
gptid/7b267c42-7564-11e5-930e-8c89a51f0386 ...
gptid/7c484e02-7564-11e5-930e-8c89a51f0386 ...
zpool upgrade zroot
gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada0
gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada1
gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada2
root@blackhole:~:17_04_04:9:32 # zpool status
pool: zroot
state: ONLINE
scan: none requested
config:
NAME ...
zroot ...
raidz1-0 ...
gptid/79b8953a-7564-11e5-930e-8c89a51f0386 ...
gptid/7b267c42-7564-11e5-930e-8c89a51f0386 ...
gptid/7c484e02-7564-11e5-930e-8c89a51f0386 ...
errors: No known data errors
root@blackhole:~:17_04_04:9:32 # gpart show ada0
=> 34 5860533101 ada0 GPT (2.7T)
34 6 - free - (3.0K)
40 1024 1 freebsd-boot (512K)
1064 4194304 2 freebsd-swap (2.0G)
4195368 5856337760 3 freebsd-zfs (2.7T)
5860533128 7 - free - (3.5K)
root@blackhole:~:17_04_04:9:33 # camcontrol identify ada0
pass0: <WDC WD30EFRX-68EUZN0 82.00A82> ACS-2 ATA SATA 3....
pass0: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192b...
protocol ATA/ATAPI-9 SATA 3.x
device model WDC WD30EFRX-68EUZN0
firmware revision 82.00A82
serial number WD-WCC4N1SRTJLC
WWN 50014ee20c236279
cylinders 16383
heads 16
sectors/track 63
sector size logical 512, physical 4096, offset 0
LBA supported 268435455 sectors
LBA48 supported 5860533168 sectors
PIO supported PIO4
DMA supported WDMA2 UDMA6
media RPM 5400
Feature Support Enabled Value ...
read ahead yes yes
write cache yes yes
flush cache yes yes
overlap no
Tagged Command Queuing (TCQ) no no
Native Command Queuing (NCQ) yes 32 tags
NCQ Queue Management no
NCQ Streaming no
Receive & Send FPDMA Queued no
SMART yes yes
microcode download yes yes
security yes no
power management yes yes
advanced power management no no
automatic acoustic management no no
media status notification no no
power-up in Standby yes no
write-read-verify no no
unload yes yes
general purpose logging yes yes
free-fall no no
Data Set Management (DSM/TRIM) no
Host Protected Area (HPA) yes no 58605331...
HPA - Security no
root@blackhole:~:17_04_04:9:38 # zdb
zroot:
version: 5000
name: 'zroot'
state: 0
txg: 9138320
pool_guid: 8205809221381710835
hostid: 1759158785
hostname: 'blackhole.smb.net'
com.delphix:has_per_vdev_zaps
vdev_children: 1
vdev_tree:
type: 'root'
id: 0
guid: 8205809221381710835
children[0]:
type: 'raidz'
id: 0
guid: 12988772090358565254
nparity: 1
metaslab_array: 34
metaslab_shift: 36
ashift: 12
asize: 8995320102912
is_log: 0
create_txg: 4
com.delphix:vdev_zap_top: 157
children[0]:
type: 'disk'
id: 0
guid: 6730515433404320309
path: '/dev/gptid/79b8953a-7564-11e5-930...
phys_path: '/dev/gptid/79b8953a-7564-11e...
whole_disk: 1
create_txg: 4
com.delphix:vdev_zap_leaf: 158
children[1]:
type: 'disk'
id: 1
guid: 4691406828913798906
path: '/dev/gptid/7b267c42-7564-11e5-930...
phys_path: '/dev/gptid/7b267c42-7564-11e...
whole_disk: 1
create_txg: 4
com.delphix:vdev_zap_leaf: 159
children[2]:
type: 'disk'
id: 2
guid: 9697705238108445282
path: '/dev/gptid/7c484e02-7564-11e5-930...
phys_path: '/dev/gptid/7c484e02-7564-11e...
whole_disk: 1
create_txg: 4
com.delphix:vdev_zap_leaf: 160
features_for_read:
com.delphix:hole_birth
com.delphix:embedded_data
----
Total access &counter(total);:本日 &counter(today);:昨...
#counter([total|today|yesterday]);
ページ名: