Moving Symlink-Files wont work
Posted: Wed Dec 22, 2010 10:18 am
Me again
Situation: i mount a hdd (full of movies) and edit path in shares that links to this hdd.
Then activate the "use pool" and force a greyhole -fsck.
Waited till its done.
Now i tried following:
Add new hdd with files and created a new share (name="movies2") same procedure with adding them to the pool.
After that i want the links to move from "movies2" to "movies" but after greyhole --fsck the links removed.
What can i do?
__________________________________
7. Once fsck is done, your data has now been moved into the Greyhole storage pool (in the drives you selected in Shares > Storage Pool). All that should be left in the previous location of your data (/media/External Drive/Movies from the previous example) should be symbolic links pointing to the new file copies. If the previous location is just empty directories (no symlinks), do not panic. This is normal if your previous location is an NTFS or FAT partition (drive).
8. Move all those directories / symlinks from there into the correct folders in /var/hda/files/share_name
9. Back in the Amahi dashboard, edit the path of the shares once again, and put back /var/hda/files/share_name (i.e. the folders where you moved the symbolic links).
__________________________________
What is the best way to do this?
Mount the hdd locally and copying the folder manually from share to share is not the result. it copies the hole thing again....
Situation: i mount a hdd (full of movies) and edit path in shares that links to this hdd.
Then activate the "use pool" and force a greyhole -fsck.
Waited till its done.
Now i tried following:
Add new hdd with files and created a new share (name="movies2") same procedure with adding them to the pool.
After that i want the links to move from "movies2" to "movies" but after greyhole --fsck the links removed.
What can i do?
__________________________________
7. Once fsck is done, your data has now been moved into the Greyhole storage pool (in the drives you selected in Shares > Storage Pool). All that should be left in the previous location of your data (/media/External Drive/Movies from the previous example) should be symbolic links pointing to the new file copies. If the previous location is just empty directories (no symlinks), do not panic. This is normal if your previous location is an NTFS or FAT partition (drive).
8. Move all those directories / symlinks from there into the correct folders in /var/hda/files/share_name
9. Back in the Amahi dashboard, edit the path of the shares once again, and put back /var/hda/files/share_name (i.e. the folders where you moved the symbolic links).
__________________________________
What is the best way to do this?
Mount the hdd locally and copying the folder manually from share to share is not the result. it copies the hole thing again....