Linked by Eugenia Loli on Sat 8th Jul 2006 04:54 UTC
General Unix Copying a live file system can be risky, especially if there are open files. You should also be careful to ensure that you don't accidentally overwrite a partition, or existing files, with the files you are trying to copy. With some careful thought, you can effectively migrate files reliably to take advantage of more space, even on a live system.
Thread beginning with comment 141265
To read all comments associated with this story, please click here.
Indeed
by rx182 on Sat 8th Jul 2006 10:53 UTC
rx182
Member since:
2005-07-08

More in-depth information would have been nice.

I think it's really unsafe to do this that way. The title of the article is misleading ("Live" Unix System). If it's really "live", you need to go through some more steps before copying files like this.

First, you need to make sure that no process has open handles on these files. You need to make sure that while you're copying file Z, file A doesn't get updated anymore.

Second, when you're unmounting/remounting, the same rule applies.

Reply Score: 2