# zpool get all mpool NAME PROPERTY VALUE SOURCE pool size 68G - pool capacity 0% - pool altroot - default pool health ONLINE - pool guid 601891032394735745 default pool version 22 default pool bootfs - default pool delegation on default pool autoreplace off default pool cachefile - default ...
(1) ZFS 实现 RAID0,只需创建一个普通的池:sudo zpool create your-pool /dev/sdb /dev/sdc /dev/sdd (2) ZFS 中使用 mirror 关键字来实现 RAID1 功能:sudo zpool create your-pool mirror /dev/sdb /dev/sdc (3) ZFS 将 RAID5 功能实现为 RAIDZ1:sudo zpool create your-pool raidz1 /dev/sd...
$ sudo zpool status pool: zfspool state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM zfspool ONLINE 0 0 0 sdc ONLINE 0 0 0 sdd ONLINE 0 0 0 sde ONLINE 0 0 0 sdf ONLINE 0 0 0 errors: No known data errors # 验证如果池创建成功 # 使用zpool创造了一个池的名字zf...
mypool createtxg1 -mypool canmount on default mypool xattr on default mypool copies1default mypool version5 -mypool utf8only off-mypool normalization none-mypool casesensitivity sensitive-mypool vscan off default mypool nbmand off default mypool sharesmb off default mypool refquota none defau...
pool: myzpool state: ONLINE status: One or more devices could not be used because the label is missing or invalid. Sufficient replicas exist for the pool to continue functioning in a degraded state. action: Replace the device using 'zpool replace'. ...
$ zfs--version zfs-2.1.99-530_g269b5dadc zfs-kmod-2.1.99-530_g269b5dadc zfs中核心概念 vdevs(virtial devices):zfs的pool是由一组vdevs组成。vdev有物理虚拟设备和逻辑虚拟设备组成。zfs的pool可以看成是一棵树,树的非叶子节点是逻辑虚拟设备,叶子节点是物理虚拟设备。逻辑虚拟设备在指向由一组物理虚拟...
[root@ks0 ~]# zdb -l /dev/sdc1 --- LABEL 0 --- version: 5000 name: 'tank' state: 0 txg: 4 pool_guid: 2896170471310910827 errata: 0 hostname: 'ks0' top_guid: 2751819047198290687 //vdev guid guid: 2751819047198290687 //phyical dev guid vdev_children: 4 //总共4个vdevs vdev_...
<pool | id> [newpool] export [-af] <pool> ... upgrade upgrade -v upgrade [-V version] <-a | pool ...> reguid <pool> # 查看日志信息 history [-il] [<pool>] ... events [-vHfc] # 获取和设置信息 get [-pH] <"all" | property[,...]> <pool> ... ...
Pool 存储驱动器的逻辑分组,它是 ZFS 的基本构建块,从这里将存储空间分配给数据集。 Datasets ZFS 文件系统的组件即文件系统、克隆、快照和卷被称为数据集。 Mirror 一个虚拟设备存储相同的两个或两个以上的磁盘上的数据副本,在一个磁盘失败的情况下,相同的数据是可以用其他磁盘上的镜子。
# zpool upgrade -v This system is currently running ZFS pool version 22. 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 ...