Hi!
I have been told by veritas that I have a file name or path that is longer than 1024 characters. Apparently this will cause problems with NDMP
They have told me to do the following :- find . -inum 5942788 -print
But this just gives an error due to the value being to great. Anyone seen this before? I know this might seem like UNix 101..so sorry..
Thanks
Simon
Simon Clawson TEL:- +44 (0)1635 811409 HDL Designer Series Team Systems Administrator FAX:- +44 (0)1635 810108 Mentor Graphics Ireland Ltd (UK Branch) MOB:- +44 (0)7788 716071 Rivergate London Road Newbury Berkshire RG14 2QB
Hi!
I have been told by veritas that I have a file name or path that is longer than 1024 characters. Apparently this will cause problems with NDMP
They have told me to do the following :- find . -inum 5942788 -print
But this just gives an error due to the value being to great. Anyone seen this before? I know this might seem like UNix 101..so sorry..
Unix typically limits a path name (filename/filename/filename/ ...) to 1024 bytes.
However, it is possible and entirely legal to create directory structures that are so deep that the absolute path name to a file is longer than 1024. To get around this, you usually "cd" down into the directory tree and use relative path names.
But many dump utilities insist on listing each file as an absolute path name, and this is usually limited to 1024 bytes.
Evidently "find" is also unhappy about your long file name.
If you have any deep directory trees, or any directories with long names, then I suggest that you cd into the directory and run find . -inum ... from there.
It's possible that someone may have inadvertently created a very deep directory tree due to a programming error of some sort. It very easy to do:
while :; do mkdir trouble cd trouble done
This will create trouble/trouble/trouble/trouble/ ... until the user hits a disk quota or the file system runs out of resources. But before that happens, this could go thousands of directories deep.
Steve Losen scl@virginia.edu phone: 434-924-0640
University of Virginia ITC Unix Support