Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2875043
  • 博文数量: 200
  • 博客积分: 2413
  • 博客等级: 大尉
  • 技术积分: 3067
  • 用 户 组: 普通用户
  • 注册时间: 2011-04-01 22:07
文章分类

全部博文(200)

文章存档

2018年(2)

2017年(8)

2016年(35)

2015年(14)

2014年(20)

2013年(24)

2012年(53)

2011年(44)

分类: Mysql/postgreSQL

2016-08-11 16:11:27


Greenplum中XFS的设置


在check OS时,会报关于XFS的错误
$ gpcheck -f /opt/greenplum/greenplum-db/conf/hostlist 

20160811:16:05:30:002835 gpcheck:thmgp-master:gpadmin-[ERROR]:-GPCHECK_ERROR host(None): utility will not check all settings when run as non-root user
20160811:16:05:30:002835 gpcheck:thmgp-master:gpadmin-[ERROR]:-GPCHECK_ERROR host(thmgp-s1): ntpd not detected on machine
20160811:16:05:30:002835 gpcheck:thmgp-master:gpadmin-[ERROR]:-GPCHECK_ERROR host(thmgp-s2): XFS filesystem on device /dev/sda4 has 1 XFS mount options and 4 are expected
20160811:16:05:30:002835 gpcheck:thmgp-master:gpadmin-[ERROR]:-GPCHECK_ERROR host(thmgp-s2): XFS filesystem on device /dev/sda4 is missing the recommended mount option 'allocsize=16m'
20160811:16:05:30:002835 gpcheck:thmgp-master:gpadmin-[ERROR]:-GPCHECK_ERROR host(thmgp-s2): XFS filesystem on device /dev/sda4 is missing the recommended mount option 'inode64'
20160811:16:05:30:002835 gpcheck:thmgp-master:gpadmin-[ERROR]:-GPCHECK_ERROR host(thmgp-s2): XFS filesystem on device /dev/sda4 is missing the recommended mount option 'noatime'
20160811:16:05:30:002835 gpcheck:thmgp-master:gpadmin-[ERROR]:-GPCHECK_ERROR host(thmgp-s2): ntpd not detected on machine
20160811:16:05:30:002835 gpcheck:thmgp-master:gpadmin-[ERROR]:-GPCHECK_ERROR host(thmgp-s3): XFS filesystem on device /dev/sda5 has 1 XFS mount options and 4 are expected
20160811:16:05:30:002835 gpcheck:thmgp-master:gpadmin-[ERROR]:-GPCHECK_ERROR host(thmgp-s3): XFS filesystem on device /dev/sda5 is missing the recommended mount option 'allocsize=16m'
20160811:16:05:30:002835 gpcheck:thmgp-master:gpadmin-[ERROR]:-GPCHECK_ERROR host(thmgp-s3): XFS filesystem on device /dev/sda5 is missing the recommended mount option 'inode64'
20160811:16:05:30:002835 gpcheck:thmgp-master:gpadmin-[ERROR]:-GPCHECK_ERROR host(thmgp-s3): XFS filesystem on device /dev/sda5 is missing the recommended mount option 'noatime'
20160811:16:05:30:002835 gpcheck:thmgp-master:gpadmin-[ERROR]:-GPCHECK_ERROR host(thmgp-s3): ntpd not detected on machine


解决办法:
修改/etc/fstab文件中XFS的配置,如下:
UUID=910f686d-ed06-45ac-b4a5-12384bc8984d /data                   xfs     rw,noatime,inode64,allocsize=16m        1 2 


转载请注明:
十字螺丝钉
http://blog.chinaunix.net/uid/23284114.html

QQ:463725310
E-MAIL:houora#gmail.com(#请自行替换为@)
阅读(5713) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~