If I do an mv
command from the command line in OneFS (Isilon, FreeBSD based), what exactly happens in the background and on the disks?
Will the data be physically moved from sectors to other sectors on the disks, or is it just a change to the links to those files in the files system? Does the data on the physical disk stay where they are? How are inodes involved here?
I am asking because I have a huge directory which contains over 50 TB of data, and it is shared on the network. I need to mv
this directory under another directory within the same file system. I wanted to stop sharing and mv
it and then share it again. I am not sure if this will be as simple as I thought.
Any inputs?