That's the reason why Bartus11 asked you about what your application uses to read the inode number. "ls -li file" uses stat64 which is temporarily "patched" with the dtrace script, "ls -li" alone...
The trick is to make Solaris do most of the work otherwise there will be a very large number of files to modify. So, at the very base level, it goes like this.........
A supported way to clone a Solaris 10 server is to use Flash Archives (http://docs.oracle.com/cd/E19253-01/821-0436/flash-24/index.html). You use the flarcreate command to create the source archive....