Page 1 of 1

CentOS 7.7 tmpfs issue

Posted: 2019/09/18 12:10:55
by secan
Hello,

Today I've installed a fresh copy of CentOS 7.7, and I saw that tmpfs drops an error message each time I boot:

tmpfs: Bad mount option huge

systemctl list-unit-files --type mount

UNIT FILE STATE
dev-hugepages.mount static
dev-mqueue.mount static
proc-fs-nfsd.mount static
proc-sys-fs-binfmt_misc.mount static
sys-fs-fuse-connections.mount static
sys-kernel-config.mount static
sys-kernel-debug.mount static
tmp.mount disabled
var-lib-nfs-rpc_pipefs.mount static

As I see it (basic linux knowledge here), tmpfs cannot load because of "huge" mount option.

Any ideas how to fix this issue?

Re: CentOS 7.7 tmpfs issue

Posted: 2019/09/18 14:30:02
by avij
What do you have in your /etc/fstab?

Re: CentOS 7.7 tmpfs issue

Posted: 2019/09/20 20:31:11
by prd_cv1
same behaviour here.

Code: Select all

[[root@xxxxxxx]# systemctl list-unit-files --type mount
UNIT FILE                     STATE   
dev-hugepages.mount           static  
dev-mqueue.mount              static  
proc-fs-nfsd.mount            static  
proc-sys-fs-binfmt_misc.mount static  
sys-fs-fuse-connections.mount static  
sys-kernel-config.mount       static  
sys-kernel-debug.mount        static  
tmp.mount                     disabled
var-lib-nfs-rpc_pipefs.mount  static  
Having enough free RAM, I have disactived the swap file and corresponding FS in FSTAB.Is it the reason why ?