Data Control Systems - Mike Elkevizth
2006-Feb-21 23:44 UTC
[CentOS] mkdir Fail when creating multiple directories
Hi, I use the program Unison to synchronize two servers and have been having a problem recently with errors saying mkdir failed. The program tries to make backup copies of any file it is going to overwrite before it actually does the sync. The backups have been failing because of the mkdir failure. To try and find the problem, I logged in as root and then tried the same command that unison was trying and it failed for me also. I can't seem to get mkdir to create more than one directory at a time which is a real problem for unison, because sometimes the file to be backed up is 5 or 6 directories deep. Does anyone know why this could happen? I am running CentOS 4.0 with all the available security updates applied. Thank You, Mike Elkevizth -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20060221/2fca05e1/attachment-0002.html>
Scot L. Harris
2006-Feb-21 23:53 UTC
[CentOS] mkdir Fail when creating multiple directories
On Tue, 2006-02-21 at 18:44 -0500, Data Control Systems - Mike Elkevizth wrote:> Hi, I use the program Unison to synchronize two servers and have been > having a problem recently with errors saying mkdir failed. > The program tries to make backup copies of any file it is going to > overwrite before it actually does the sync. The backups have been > failing because of the mkdir failure. To try and find the problem, I > logged in as root and then tried the same command that unison was > trying and it failed for me also. I can't seem to get mkdir to create > more than one directory at a time which is a real problem for unison, > because sometimes the file to be backed up is 5 or 6 directories deep. > Does anyone know why this could happen? I am running CentOS 4.0 with > all the available security updates applied. >Check the man page out for mkdir. The -p option is probably what you need.>
Ash Christopher
2006-Feb-21 23:54 UTC
[CentOS] mkdir Fail when creating multiple directories
mkdir -p <list of dirs to create> ________________________________ From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On Behalf Of Data Control Systems - Mike Elkevizth Sent: Tuesday, February 21, 2006 4:44 PM To: centos at centos.org Subject: [CentOS] mkdir Fail when creating multiple directories Hi, I use the program Unison to synchronize two servers and have been having a problem recently with errors saying mkdir failed. The program tries to make backup copies of any file it is going to overwrite before it actually does the sync. The backups have been failing because of the mkdir failure. To try and find the problem, I logged in as root and then tried the same command that unison was trying and it failed for me also. I can't seem to get mkdir to create more than one directory at a time which is a real problem for unison, because sometimes the file to be backed up is 5 or 6 directories deep. Does anyone know why this could happen? I am running CentOS 4.0 with all the available security updates applied. Thank You, Mike Elkevizth -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20060221/c9221722/attachment-0002.html>