LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-14-2020, 03:12 AM   #1
toxine
Member
 
Registered: May 2010
Distribution: Ubuntu/CentOs
Posts: 33

Rep: Reputation: 3
inodes full on /dev/mapper/centos-root


Hello,

I am having an issue with inodes on centos 8. as you can see i have a low inodes on root partition only 241K. My home parition is also the same size but with 27M.

how could I fix this?

Code:
sdb                  8:16   0 111.8G  0 disk
├─sdb1               8:17   0     1G  0 part /boot
└─sdb2               8:18   0 110.8G  0 part
  ├─cl_centos-root 253:0    0    50G  0 lvm  /
  ├─cl_centos-swap 253:1    0   7.6G  0 lvm  [SWAP]
  └─cl_centos-home 253:2    0  53.2G  0 lvm  /home
Code:
[root@centos ~]# df -ih
Filesystem                 Inodes IUsed IFree IUse% Mounted on
devtmpfs                     933K   663  932K    1% /dev
tmpfs                        937K     5  937K    1% /dev/shm
tmpfs                        937K  1.1K  936K    1% /run
tmpfs                        937K    17  937K    1% /sys/fs/cgroup
/dev/mapper/cl_centos-root   241K  241K   193  100% /
/dev/mapper/cl_centos-home    27M   448   27M    1% /home
/dev/sdb1                     64K   316   64K    1% /boot
tmpfs                        937K    11  937K    1% /run/user/0
 
Old 05-14-2020, 03:19 AM   #2
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,688

Rep: Reputation: Disabled
Is it XFS or Ext4 (lsblk -f)? For XFS, see here.
 
1 members found this post helpful.
Old 05-14-2020, 04:12 AM   #3
toxine
Member
 
Registered: May 2010
Distribution: Ubuntu/CentOs
Posts: 33

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by shruggy View Post
Is it XFS or Ext4 (lsblk -f)? For XFS, see here.
Great thanks it is XFS system

I am able to change inodes for /home volume with xfs_growfs -m 5% /home and reflects below however xfs_growfs -m 50% / does not change the inodes for for root.

Code:
[root@centos /]# xfs_growfs -m 50% /
meta-data=/dev/mapper/cl_centos-root isize=512    agcount=4, agsize=3276800 blks
         =                       sectsz=512   attr=2, projid32bit=1
         =                       crc=1        finobt=1, sparse=1, rmapbt=0
         =                       reflink=1
data     =                       bsize=4096   blocks=13107200, imaxpct=50
         =                       sunit=0      swidth=0 blks
naming   =version 2              bsize=4096   ascii-ci=0, ftype=1
log      =internal log           bsize=4096   blocks=6400, version=2
         =                       sectsz=512   sunit=0 blks, lazy-count=1
realtime =none                   extsz=4096   blocks=0, rtextents=0

Code:
Filesystem                 Inodes IUsed IFree IUse% Mounted on
devtmpfs                     933K   663  932K    1% /dev
tmpfs                        937K     5  937K    1% /dev/shm
tmpfs                        937K  1.1K  936K    1% /run
tmpfs                        937K    17  937K    1% /sys/fs/cgroup
/dev/mapper/cl_centos-root   240K  226K   14K   95% /
/dev/mapper/cl_centos-home   1.1M   448  1.1M    1% /home
/dev/sdb1                     64K   316   64K    1% /boot
/dev/sdg1                     59M   189   59M    1% /storage/disk6
/dev/sdh1                     59M   103   59M    1% /storage/disk5
/dev/sdj1                    117M   360  117M    1% /storage/disk3
/dev/sdi1                    117M   168  117M    1% /storage/disk4
/dev/sdk1                    117M  1.9K  117M    1% /storage/disk2
/dev/sdf1                     59M   128   59M    1% /storage/disk7
/dev/sde1                    292M   26K  292M    1% /storage/disk8
/dev/sda                     292M    12  292M    1% /storage/parity1
/dev/sdd1                    292M  7.0K  292M    1% /storage/disk9
tmpfs                        937K    11  937K    1% /run/user/0
2:3:4:5:6:7:8:9              1.1G   35K  1.1G    1% /storage/virtual
 
Old 05-14-2020, 04:20 AM   #4
toxine
Member
 
Registered: May 2010
Distribution: Ubuntu/CentOs
Posts: 33

Original Poster
Rep: Reputation: 3
Seems fixed now, had to delete transmission as it had lots of files in it and will reinstall it.

[root@centos /]# df -ih
Filesystem Inodes IUsed IFree IUse% Mounted on
devtmpfs 933K 663 932K 1% /dev
tmpfs 937K 5 937K 1% /dev/shm
tmpfs 937K 1.1K 936K 1% /run
tmpfs 937K 17 937K 1% /sys/fs/cgroup
/dev/mapper/cl_centos-root 50M 225K 50M 1% /
/dev/mapper/cl_centos-home 54M 448 54M 1% /home

/dev/sdb1 64K 316 64K 1% /boot
/dev/sdg1 59M 189 59M 1% /storage/disk6
/dev/sdh1 59M 103 59M 1% /storage/disk5
/dev/sdj1 117M 360 117M 1% /storage/disk3
/dev/sdi1 117M 168 117M 1% /storage/disk4
/dev/sdk1 117M 1.9K 117M 1% /storage/disk2
/dev/sdf1 59M 128 59M 1% /storage/disk7
/dev/sde1 292M 26K 292M 1% /storage/disk8
/dev/sda 292M 12 292M 1% /storage/parity1
/dev/sdd1 292M 7.0K 292M 1% /storage/disk9
tmpfs 937K 11 937K 1% /run/user/0
2:3:4:5:6:7:8:9 1.1G 35K 1.1G 1% /storage/virtual

thank you shruggy
 
Old 05-14-2020, 04:30 AM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,160

Rep: Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125
One would have to think " lots" might be something of an understatement ....
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie unable to access full drive /dev/mapper/VolGroup00-LogVol00 Scimmy Linux - Newbie 5 05-09-2018 09:49 PM
Which is faster /dev/mapper or /dev/cciss? mohamed.a.mostafa Red Hat 1 03-30-2013 05:30 PM
LVM pvs is showing /dev/dm-x as PV name instead of /dev/mapper n0rus Linux - Enterprise 3 08-05-2012 12:12 PM
vgcreate command is changing /dev/mapper as PV Name in pvdisplay to /dev/dm-xx path neeravsingh Linux - Enterprise 6 03-23-2010 03:05 AM
LVM mount as /dev/vg00/lv00 instead of /dev/mapper/vg00-lv00 ZedLeppelin Linux - Newbie 2 03-29-2009 05:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration