G
Guest
Hi there,
I have two 120 GB drives. The first is used for the OS and data files, the
second is for backup. I have a batch file that copies all data files from
the first to the second every night.
I also have two 60 GB drives - one where I keep my work, the other for
backup of drive.
I have an Adaptec IDE controller that I have the extra drive (total of 5
drives including the CD-ROM) in.
After the batch file runs, the drive letter disappears from the explorer
window and I cannot access the second 120GB drive (it becomes inaccessible.)
I can always get to all of my other drives.
If I leave an explorer window open on the 120GB drive, after the batch file
runs, I can explore the drive and all of the files seem to be intact. If I
don't have one open on the drive and try to access it from the Computer
Management/Disk Manager, I get "x:\ is not accessible. Access is denied."
If I give a drive letter again and try to access it from either the explorer
or the manager, I get the same error.
I have tried formatting (quick and normal) as well as moving the drive
around on the IDE bus(es) both on the motherboard as well as on the Adaptec.
I have tried mounting the drive as a NTFS folder as well as a drive letter.
I formatted the drive with NTFS and default allocation unit size.
Here is the batch file I am running:
rem ###############################################
rem # MyDocuments
rem ###############################################
xcopy c:\server\SharedFiles x:\ /E /V /C /H /R /K /O /Y
rem ###############################################
rem # apache
rem ###############################################
mkdir x:\apache
xcopy c:\server\apache x:\apache /E /V /C /H /R /K /O /Y
rem ###############################################
rem # scripts
rem ###############################################
mkdir x:\scripts
xcopy c:\server\scripts x:\ /E /V /C /H /R /K /O /Y
rem ###############################################
rem # MySql
rem ###############################################
mkdir x:\sql
x:
cd x:\sql
rm movies.sql-bak
mv movies.sql movies.sql-bak
mysqldump -uroot -plxndr1t movies > movies.sql
rem ###############################################
rem # Music
rem ###############################################
xcopy m:\ y:\ /E /V /C /H /R /K /O /Y
rem ####################################################
rem # MyDocuments
rem ####################################################
xcopy c:\server\SharedFiles x:\ /E /V /C /H /R /K /O /Y
rem ####################################################
rem # apache
rem ####################################################
mkdir x:\apache
xcopy c:\server\apache x:\apache /E /V /C /H /R /K /O /Y
rem ####################################################
rem # scripts
rem ####################################################
xcopy c:\server\scripts x:\ /E /V /C /H /R /K /O /Y
rem ####################################################
rem # MySql
rem ####################################################
mkdir x:\sql
x:
cd x:\sql
I have two 120 GB drives. The first is used for the OS and data files, the
second is for backup. I have a batch file that copies all data files from
the first to the second every night.
I also have two 60 GB drives - one where I keep my work, the other for
backup of drive.
I have an Adaptec IDE controller that I have the extra drive (total of 5
drives including the CD-ROM) in.
After the batch file runs, the drive letter disappears from the explorer
window and I cannot access the second 120GB drive (it becomes inaccessible.)
I can always get to all of my other drives.
If I leave an explorer window open on the 120GB drive, after the batch file
runs, I can explore the drive and all of the files seem to be intact. If I
don't have one open on the drive and try to access it from the Computer
Management/Disk Manager, I get "x:\ is not accessible. Access is denied."
If I give a drive letter again and try to access it from either the explorer
or the manager, I get the same error.
I have tried formatting (quick and normal) as well as moving the drive
around on the IDE bus(es) both on the motherboard as well as on the Adaptec.
I have tried mounting the drive as a NTFS folder as well as a drive letter.
I formatted the drive with NTFS and default allocation unit size.
Here is the batch file I am running:
rem ###############################################
rem # MyDocuments
rem ###############################################
xcopy c:\server\SharedFiles x:\ /E /V /C /H /R /K /O /Y
rem ###############################################
rem # apache
rem ###############################################
mkdir x:\apache
xcopy c:\server\apache x:\apache /E /V /C /H /R /K /O /Y
rem ###############################################
rem # scripts
rem ###############################################
mkdir x:\scripts
xcopy c:\server\scripts x:\ /E /V /C /H /R /K /O /Y
rem ###############################################
rem # MySql
rem ###############################################
mkdir x:\sql
x:
cd x:\sql
rm movies.sql-bak
mv movies.sql movies.sql-bak
mysqldump -uroot -plxndr1t movies > movies.sql
rem ###############################################
rem # Music
rem ###############################################
xcopy m:\ y:\ /E /V /C /H /R /K /O /Y
rem ####################################################
rem # MyDocuments
rem ####################################################
xcopy c:\server\SharedFiles x:\ /E /V /C /H /R /K /O /Y
rem ####################################################
rem # apache
rem ####################################################
mkdir x:\apache
xcopy c:\server\apache x:\apache /E /V /C /H /R /K /O /Y
rem ####################################################
rem # scripts
rem ####################################################
xcopy c:\server\scripts x:\ /E /V /C /H /R /K /O /Y
rem ####################################################
rem # MySql
rem ####################################################
mkdir x:\sql
x:
cd x:\sql