CentOS 7.7 tmpfs issue

Issues related to applications and software problems
Post Reply
secan
Posts: 1
Joined: 2019/09/18 12:00:43

CentOS 7.7 tmpfs issue

Post by secan » 2019/09/18 12:10:55

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?

User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: CentOS 7.7 tmpfs issue

Post by avij » 2019/09/18 14:30:02

What do you have in your /etc/fstab?

prd_cv1
Posts: 17
Joined: 2019/07/04 20:27:38

Re: CentOS 7.7 tmpfs issue

Post by prd_cv1 » 2019/09/20 20:31:11

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 ?

Post Reply