Good morning a need your help please
I was asked to rename a folder, and it yields an error:
# mv Reports1 Reports1_old
mv: cannot rename Reports1 to Reports1_old Too many links
validating this folder has 32765 subfolders
ls -d */ | wc -l
32765
There is a limit on the OS which is SunOS?
Thanks for your help in advance.
vbe
2
Well you don't say much about the filesystem... There is a finite number of inodes, once that limit reached you are in trouble...
What does
df -o i /yourfilesystem
give you?
Or simply
/bin/df .
That by default tells the "ifree" as "files", and works with "network shares" (NFS and others).
Good morning:
Thank you, appreciate your help
The 1st option gives me:
df -o i Reports1
Filesystem iused ifree %iused Mounted on
/dev/md/dsk/d70 4174458 91512198 4% /produccion
actually is OK because i was asked to remove some data so there is no problem
THe 2nd option gives me:
Reports # /bin/df .
/produccion (/dev/md/dsk/d70 ):826690818 blocks 91512171 files
So if the number of inodes gets full to fix this problem is to delete some subfolders of the current folders?
According to the 2nd option ouput gives me 91512171 inodes free?
I appreciate your help in advanced