Total Pageviews

Thursday, 17 July 2014

Linux Problem and Solution

Not Ablr to Do WInscp in /home folder.

Cannot create remote file '/home/DBD-Oracle-1.58.tar.gz.filepart'. 
Error message from server: 
Failure Request code: 3 
Abort Retry Skip Skip all Help


Here,  Inode table was full due to maximum number of file creation/rename/modification ( in terms of date, time) inside folder /home/MSDP_B25/csms/queue ( this folder which creating file)  after that /home does not have permission to go beyond  4122212 no of file.

Hence we have recreated /home file system and increased Inode tables from 4122212 to 30000820.

Now will not face any kind of problem which you were facing earlier.

Old Inode Table value for HOME partitions was.
[root@MSDP81 spool]# df -i
Filesystem            Inodes   IUsed   IFree IUse% Mounted on
/dev/mapper/VolGroup-lv_root
                     3276800  329997 2946803   11% /
tmpfs                 490370       3  490367    1% /dev/shm
/dev/vda1             128016      39  127977    1% /boot
/dev/mapper/VolGroup-lv_home
                     4177920 4177920       0  100% /home

New Inode Table value for HOME partitions

[root@MSDP81 ~]# df -i
Filesystem            Inodes   IUsed   IFree IUse% Mounted on
/dev/mapper/VolGroup-lv_root
                     3276800  330373 2946427   11% /
tmpfs                 490370       3  490367    1% /dev/shm
/dev/vda1             128016      39  127977    1% /boot
/dev/mapper/VolGroup-lv_home
                     30000832      12 30000820    1% /home
You have new mail in /var/spool/mail/root

Command to increase inodes.

mkfs -t ext4 -N <Number of INodes value which you want to increase> /dev/mapper/VolGroup-lv_home

Exmp:

1.  1.      First umount /home partition from file system.


2.    2.     mkfs -t ext4 -N 30000820 /dev/mapper/VolGroup-lv_home



No comments:

Post a Comment