日本免费全黄少妇一区二区三区-高清无码一区二区三区四区-欧美中文字幕日韩在线观看-国产福利诱惑在线网站-国产中文字幕一区在线-亚洲欧美精品日韩一区-久久国产精品国产精品国产-国产精久久久久久一区二区三区-欧美亚洲国产精品久久久久

ZFS 中的新增功能

改進(jìn)的 zpool status 輸出Solaris 10 8/07 發(fā)行版:使用 zpool status -v 命令可顯示包含持久性錯誤的文件的列表 。以前,必須使用 find -inum 命令從顯示的 inode 列表中標(biāo)識文件名 。
ZFS 和 Solaris iSCSI 改進(jìn)Solaris 10 8/07 發(fā)行版:在此 Solaris 發(fā)行版中,可以通過對 ZFS 卷設(shè)置 shareiscsi 屬性將 ZFS 卷創(chuàng)建為 Solaris iSCSI 目標(biāo)設(shè)備 。此方法是快速設(shè)置 Solaris iSCSI 目標(biāo)的便捷途徑 。例如:
# zfs create -V 2g tank/volumes/v2
# zfs set shareiscsi=on tank/volumes/v2
# iscsitadm list target
Target: tank/volumes/v2
iSCSI Name: iqn.1986-03.com.sun:02:984fe301-c412-ccc1-cc80-cf9a72aa062a
Connections: 0
創(chuàng)建 iSCSI 目標(biāo)后,應(yīng)設(shè)置 iSCSI 啟動器 。
ZFS 命令歷史記錄 (zpool history)Solaris 10 8/07 發(fā)行版:在此 Solaris 發(fā)行版中,ZFS 會自動記錄成功修改池狀態(tài)信息的 zfs 和 zpool 命令 。例如:
# zpool history
History for 'newpool':
2007-04-25.11:37:31 zpool create newpool mirror c0t8d0 c0t10d0
2007-04-25.11:37:46 zpool replace newpool c0t10d0 c0t9d0
2007-04-25.11:38:04 zpool attach newpool c0t9d0 c0t11d0
2007-04-25.11:38:09 zfs create newpool/user1
2007-04-25.11:38:15 zfs destroy newpool/user1
History for 'tank':
2007-04-25.11:46:28 zpool create tank mirror c1t0d0 c2t0d0 mirror c3t0d0 c4t0d0
借助此功能,用戶或 Sun 技術(shù)支持人員可以精確確定已執(zhí)行的 ZFS 命令集,來排除錯誤情況 。
可以使用 zpool history 命令標(biāo)識特定存儲池 。例如:
# zpool history newpool
History for 'newpool':
History for 'newpool':
2007-04-25.11:37:31 zpool create newpool mirror c0t8d0 c0t10d0
2007-04-25.11:37:46 zpool replace newpool c0t10d0 c0t9d0
2007-04-25.11:38:04 zpool attach newpool c0t9d0 c0t11d0
2007-04-25.11:38:09 zfs create newpool/user1
2007-04-25.11:38:15 zfs destroy newpool/user1
歷史記錄日志有如下特點(diǎn):
不能禁用日志 。
日志持久保存在磁盤上,這意味著系統(tǒng)重新引導(dǎo)后,將保存日志 。
日志作為環(huán)形緩沖區(qū)來實(shí)現(xiàn) 。最小大小為 128 KB 。最大大小為 32 MB 。
對于較小的池,日志最大大小限定在池大小的 1%,其中池大小在池創(chuàng)建時確定 。
無需任何管理,這意味著不需要調(diào)整日志大小或更改日志位置 。
目前,zpool history 命令不記錄 user-ID、hostname 或 zone-name 。
ZFS 屬性改進(jìn)ZFS xattr 屬性Solaris 10 8/07 發(fā)行版:可以使用 xattr 屬性為特定的 ZFS 文件系統(tǒng)禁用或啟用擴(kuò)展屬性 。缺省值為 on 。
ZFS canmount 屬性Solaris 10 8/07 發(fā)行版:借助新的 canmount 屬性,能夠指定是否可以使用 zfs mount 命令掛載數(shù)據(jù)集 。
ZFS 用戶屬性Solaris 10 8/07 發(fā)行版:除了可以導(dǎo)出內(nèi)部統(tǒng)計(jì)信息或控制 ZFS 文件系統(tǒng)行為的標(biāo)準(zhǔn)本機(jī)屬性外,ZFS 還支持用戶屬性 。用戶屬性對 ZFS 行為沒有影響,但可通過用戶環(huán)境中有意義的信息來注釋數(shù)據(jù)集 。
在創(chuàng)建 ZFS 文件系統(tǒng)時設(shè)置屬性Solaris 10 8/07 發(fā)行版:在此 Solaris 發(fā)行版中,不但可以在創(chuàng)建文件系統(tǒng)后設(shè)置屬性,還可以在創(chuàng)建文件系統(tǒng)時設(shè)置屬性 。
以下示例演示了等效的語法:
# zfs create tank/home
# zfs set mountpoint=/export/zfs tank/home
# zfs set sharenfs=on tank/home
# zfs set compression=on tank/home
# zfs create -o mountpoint=/export/zfs -o sharenfs=on -o compression=on tank/home
【ZFS 中的新增功能】顯示所有 ZFS 文件系統(tǒng)信息Solaris 10 8/07 發(fā)行版:在此 Solaris 發(fā)行版中,可以使用各種形式的 zfs get 命令來顯示有關(guān)所有數(shù)據(jù)集的信息(如果未指定數(shù)據(jù)集) 。在早期發(fā)行版中,使用 zfs get 命令無法獲取所有數(shù)據(jù)集信息 。
例如:
# zfs get -s local all

推薦閱讀