Yes. The workspace is using hard links when possible, but the "cp"
operation does not know how to handle them, so it is effectively
duplicating those files that are hard-linked.

Instead of the humble "cp" operation, perhaps you should use rsync. Take a
look at:
http://www.cyberciti.biz/faq/linux-unix-apple-osx-bsd-rsync-copy-hard-links/

Best regards

Rubén Pérez
TELTEK Video Research
www.teltek.es



2012/11/27 Stephanie Fuller <[email protected]>

>  My (ubuntu) matterhorn (1.3) system was set up on /.  I need more space
> for my matterhorn files.  I added a new volume to the matterhorn system (it
> is a VM).
> I tried to copy what I thought was 65G /opt/matterhorn/felix/work to a new
> 100G volume.  It filled up.
> I traced the maleficent folder to
> /opt/matterhorn/felix/work/opencast/workspace.  I am getting conflicting
> information from 'du -ks'
>
> matterhorn@core-mh:/opt/matterhorn/felix/work/opencast$ du -hs * |grep
> workspace
> 9.1G    workspace
> matterhorn@core-mh:/opt/matterhorn/felix/work/opencast$ du -hs workspace
> 50G     workspace
>
> When I run du -hs on .../opencast/* and add up the sizes of everything
> reported, it adds up about correct.
> When I run du -hs on .../opencast/workspace (specifying the directory
> explicitly) I get a much larger number, 9.1G compared to 50G.
>
> What is going on?  I can't find any links in the workspace directory.  Tar
> fills up the new disk, cpio fills up the new disk, cp fills up the new
> disk.  I haven't tried mv yet.
>
> Does anyone know what's going on here, and how to resolve it?
>
> Stephanie
>
>
> _______________________________________________
> Matterhorn-users mailing list
> [email protected]
> http://lists.opencastproject.org/mailman/listinfo/matterhorn-users
>
>
_______________________________________________
Matterhorn-users mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn-users

Reply via email to