VA based replication failing with error:
Error Message: -1 - mkdir: cannot create directory `/scratch/sdb/501c87eb-5dname: 'System.Net.Socket
This generally happens when manual mounting of the virtual appliance scratch disk has been done incorrectly. In most cases the issue is the scratch disk gets mounted as read only.
1. Putty into VA
2. <cd /scratch/sdb> and run <mkdir test> to see if VA is affected.
If so
3. run <umount /scratch/sdb> If you get error that disk is busy reboot and then run un-mount command again.
4. run <cat /etc/fstab> and verify that the following line is at bottom
/dev/sdb /scratch/sdb ext3 defaults 0 0 ##SCRATCH DISK ENTRY
If not you will need to edit the fstab file in order to add this line.
5. run <vi /etc/fstab> Once in vi editor arrow down to after last line. Hit esc then I (insert) and add or copy following line.
/dev/sdb /scratch/sdb ext3 defaults 0 0 ##SCRATCH DISK ENTRY
The hit esc then : the cursor should go to bottom of screen, then type wq! to save.
6. reboot va by running <reboot>
7. verify the scratch disk in now writeable. Run <mkdir /scratch/sdb/test> then <ls /scratch/sdb>
You should see the test directory. And replications should now run as expected.
To remove the test file run <rm –fr /scratch/sdb/test>