公開内容
Gfarm ファイルシステム version 2.5.8.5、Gfarm2fs version 1.2.9.5 を公開致しました。このバージョンでは、チェックサムによるデータ完全性のチェックが可能となりました。ファイルのメタデータにチェックサムが格納され、ファイルを読み出したときにチェックが行われます。データ完全性のチェックを有効にするためには、gfmd.conf に digest md5 を追加します。いくつかの不具合修正や有用な更新も含まれています。このバージョンに更新していただくことをお勧めします。
いつものことですが、更新にあたり、config-gfarm および config-gfsd による再設定は必要ありません。バイナリを更新後 gfmd と gfsd の再起動を(念のため数回)行ってください。
アップデート履歴
Release note for Gfarm 2.5.8.5 [2014.3.23]
- New command
-
- gfcksum – print & calculate checksum
- gfrepcheck – start or suspend the replica check thread
- gfspoolinum, gfspoolgen – obtain inode number or generation number from the spool path or lost+found filename
- gfdirpath – return path name in Gfarm from directory inode number
- gffilepath – return path name in Gfarm from inode number
- gfspoolmd5 – check md5 checksum of all files in spool directory
- New configuration directive
-
- digest – enables data integrity check by checksum calculation & specify the digest type
- New API
-
- gfs_stat_cksum, gfs_fstat_cksum & gfs_stat_cksum_free – obtain checksum
- gfs_pio_cksum – calculate checksum
- gfs_fstat_cksum_set – set checksum from client
- gfs_pio_fhopen, gfs_pio_fhopendir – open a file or a directory from inode number & generation number
- gfs_fgetdirpath – return path name from GFS_Dir
- Updated feature
-
- gfusage – optput total
- return checksum mismatch error when reading entire file or closed
- print the progress of replica_check when gfmd catches SIGUSR2
- gfxattr – -I option to manipulate the extended attribute by inode number
- grid-proxy-agent – -bits option to specify the number of bits in key
- adjust log level
- Bug fix
-
- gfmd may crash when SIGHUP is caught
- gfpcopy – invalid files may remain when close fails
- clients may not retry to connect to gfmd in shared secret authentication [sf.net ticket #740]
- gfs_pio_stat() does not obtain file info in a file system node when it is called just after gfs_pio_open()
Release note for Gfarm2fs 1.2.9.5 [2014.3.23]
- Updated feature
-
- ckeck existence of subdir