<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<p>Hi Agung PW,</p>
<p>Yes, this is something we very much accounted for, in fact since
the invent of VMs and Logical Volume Manager (LVM) [1] this has
become less of a problem.</p>
<p>What you need to do is add your new disk. You can either mount
it at
/usr/share/eprints3/archives/<ARCHIVE_NAME>/documents/disk1
or mount it wherever and symlink it from
/usr/share/eprints3/archives/<ARCHIVE_NAME>/documents/disk1:<br>
</p>
<p>ln -s /path/to/new/disk
/usr/share/eprints3/archives/<ARCHIVE_NAME>/documents/disk1
<br>
</p>
<p>You also need to make sure that this directory is writeable by
user who is running the webserver and ideally the eprints user as
well, this is often best done by ensure the group is also set to
eprints and there are group write privileges:</p>
<p>chown eprints:eprints
/usr/share/eprints3/archives/<ARCHIVE_NAME>/documents/disk1
<br>
</p>
<p>chmod g+w
/usr/share/eprints3/archives/<ARCHIVE_NAME>/documents/disk1
<br>
</p>
<p>If you are symlinking you should also do this on the mounted
directory as well. (i.e. /path/to/new/disk in the example above).<br>
</p>
<p>I don't think you need to do anything beyond this for EPrints to
start using the new disk as it has built-in logic to look for the
directory disk with the highest number after it. However, to be
certain I would reload you webserver and create a new test eprint
item and check to see it is using the new documents/disk1
directory after upload a test file.<br>
</p>
<p>One thing to double-check is that the new disk is automatically
mounted in the same place after a reboot. Otherwise you will have
problems saving uploaded files to disk and probably more problems
besides, as eprint revision files will not be able to be written
to disk either.<br>
</p>
<p>Regards</p>
<p>David Newman<br>
</p>
<p>[1] <a class="moz-txt-link-freetext" href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FLogical_Volume_Manager_(Linux)&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C920a2627ec61412e085008d91f5d244b%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637575307178817011%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=CsXfAlx0Sz%2FVwtCbSz8x9nSjtQJR7xTIP5mjDDNc2l0%3D&reserved=0" originalSrc="https://en.wikipedia.org/wiki/Logical_Volume_Manager_(Linux)" shash="JREm1icGUKuf3UkTIH8WKQ5akTNdRkp86unV4C5m5FmpLGctz+9KdvwEmPcLeK/NWbUsxS8QKDnVKtRD5vCLYoToWFf2cA/bM32Zlv2cLA51Zao3WTC8fs3VR609cUXG3FI1vuqIEmV8aUbZJklBXnmQ1nFeAxhE6BLqKZByUhY=">https://en.wikipedia.org/wiki/Logical_Volume_Manager_(Linux)</a><br>
</p>
<div class="moz-cite-prefix">On 25/05/2021 09:56, Ajunk Pracetio via
Eprints-tech wrote:<br>
</div>
<blockquote type="cite" cite="mid:EMEW3|21eee3d9d2554eaae0bd39eec1282389x4O9vO14eprints-tech-bounces|ecs.soton.ac.uk|CACOEPmPFDyXYdcG73jJ83t3vqk341hNYON+e1PrQSRfyENpmSg@mail.gmail.com">
<div style="padding-bottom: 10px; padding-top: 5px;">
<div style="padding:12px; border:1px solid #8D3970;
background-color:#F7F9FA; color:#8D3970; font-size:14px;
line-height:22px; font-family: Calibri, Arial, Helvetica,
sans-serif;">
<strong>CAUTION:</strong> This e-mail originated outside the
University of Southampton.
</div>
</div>
<div>
<div dir="ltr">Hi,
<div><br>
</div>
<div>If my eprints storage already run out, is there any
tutorial how to add new storage on server? From my
observation, is it possible just to add a hard drive, mount
it and create a hard link as disk1 in /
usr/share/eprints3/archives/archive_name/documents/ ?</div>
<div><br>
</div>
<div>Best regards,</div>
<div>Agung PW<br>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">*** Options: <a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a>
*** Archive: <a class="moz-txt-link-freetext" href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C920a2627ec61412e085008d91f5d244b%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637575307178826969%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=T%2FTdiR0lLfpSsEypuNb8NsgPjfnOIlQaKGh3q1KCSL0%3D&reserved=0" originalSrc="http://www.eprints.org/tech.php/" shash="suMdPuFs/Ry+NCSd3gndVl4IQf4RCg4vPHqSRLJ8lLqbyZs/9EabG7K15ua+FhneZtoTgpNSZd2/JD3lKxSh1xZjqSI6bimwm948fRNQnsgHE5XWTXwhygf/20Cuv6ZhdY2k2/SPdwMntE4hyc2pnCl3/0DfIzjhvNHry4GyK/E=">http://www.eprints.org/tech.php/</a>
*** EPrints community wiki: <a class="moz-txt-link-freetext" href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C920a2627ec61412e085008d91f5d244b%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637575307178826969%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=J0HTHjGIWCqBrSpL7UJJcH5oW2GFizvGMrt4HeNL1Vw%3D&reserved=0" originalSrc="http://wiki.eprints.org/" shash="D+aSSwwByZf/07Z0XF9bRv8lwtLAqCFXk5p5DX1I5cmvNAoXozmK+h4hVCAeZIWHIGOz+zZYmLladvcocOMxNlwHa1amWGyY8TLJjDd7wuSovbYQZLajf1MLnUyP2++6nPE/3jMSzDrt2131ofSOJUB7WErpfqumYLDXi2H6bQM=">http://wiki.eprints.org/</a></pre>
</blockquote>
<div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
<table style="border-top: 1px solid #D3D4DE;">
        <tr>
<td style="width: 55px; padding-top: 13px;"><a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2Femail-signature%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C920a2627ec61412e085008d91f5d244b%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637575307178826969%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=k3Xms9YwRK9u0dydFbDzJtjps3cyWqKTQHMHPP0QdM8%3D&reserved=0" originalSrc="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" shash="VJgZAF2sy6VyIXjTvyslHetx0GCh2EjElb2WgVriBj/ZFNszxC+WFd7DUzYFLN7r6KvvK6f0eXeBAiUZfz2tcHcqZiDuzNEruyAIORfS8lpQLBBPA8vbz/L09pMI88kTpuzslInisQQ70Aty9VFkCNGehsqvTZ3z6cCMUhWp8c8=" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png" alt="" width="46" height="29" style="width: 46px; height: 29px;"></a></td>
                <td style="width: 470px; padding-top: 12px; color: #41424e; font-size: 13px; font-family: Arial, Helvetica, sans-serif; line-height: 18px;">Virus-free. <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2Femail-signature%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C920a2627ec61412e085008d91f5d244b%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637575307178836924%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=d0QxbY05CnvN1seJWaZEg70LqJZAAfkcUxyb%2B9h9kkI%3D&reserved=0" originalSrc="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" shash="pSowGE12fQNSXWcXrFFP/sgqFY1gtKEq2W5OatsDV5nJLb7i+UcsmlBVB5VdDLm4oNivcRRBZNkAu3GgNkLhCF/6tozuR59SZV7YRJQGys341DEtV0M35ENaIzL5BhswGkfknXk73l97gm7NMy5wRz0ebc4jK5p2g8EWGowg2nM=" target="_blank" style="color: #4453ea;">www.avg.com</a>
                </td>
        </tr>
</table><a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"> </a></div></body>
</html>