<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<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>Oh..ok, thank you very much for the instructions. I think I will try the instructions that you have given.<br>
</div>
<div><br>
</div>
<div>Best regards,</div>
<div>Agung PW</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Tue, May 25, 2021 at 4:11 PM David R Newman <<a href="mailto:drn@ecs.soton.ac.uk">drn@ecs.soton.ac.uk</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<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 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%7C6dd5a71422b8460e111208d91f5e3996%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637575311811157407%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=jXaqk1ZmISb7lLveLVoTxEPcV91MwCv2aiwh5wJH6cw%3D&reserved=0" originalSrc="https://en.wikipedia.org/wiki/Logical_Volume_Manager_(Linux)" shash="HuBLWDsiNBhXVIO5oYVtNoTuAVIgM/uwkZUu5SvVPULkvlDfifwTG+TNeLY+IZPxbPd/B0gmkBMQPzTt15v8EKUslWhspQde3J9W4PIAVaVPIlxhXytbNOLNoCgmpGEchyYxe0V3/53rql3ghgOxvI2c/gPVTYBAdUmb6fMtXn0=" target="_blank">
https://en.wikipedia.org/wiki/Logical_Volume_Manager_(Linux)</a><br>
</p>
<div>On 25/05/2021 09:56, Ajunk Pracetio via Eprints-tech wrote:<br>
</div>
<blockquote type="cite">
<div style="padding-bottom:10px;padding-top:5px">
<div style="padding:12px;border:1px solid rgb(141,57,112);background-color:rgb(247,249,250);color:rgb(141,57,112);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></fieldset>
<pre>*** Options: <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" target="_blank">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a>
*** Archive: <a 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%7C6dd5a71422b8460e111208d91f5e3996%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637575311811157407%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=hoDh8%2BArFrS8%2BBpZFwEQ1N%2FBOplQjsu4o0j8qKR3XgI%3D&reserved=0" originalSrc="http://www.eprints.org/tech.php/" shash="dz9KiUQQG8hiehAb8a3Z9PtIxkxGgR/JuwhjGOboNGffkenWf/LPCeGN7kMaCv4jiVszYrJaVUK6qBK9ijYyz5WGs8flywVMif+FiKcWB1aBeNG/sHV2K2OJ0xtcy0LXX1W9Du6YI7IOM5DAqSCCT2yr6RSmFRiEgxd1Qt/CHYk=" target="_blank">http://www.eprints.org/tech.php/</a>
*** EPrints community wiki: <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C6dd5a71422b8460e111208d91f5e3996%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637575311811167360%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=ETXam2Opv9B89qiLAe9APLP5fx4o4Lap3hQ09yBpQwc%3D&reserved=0" originalSrc="http://wiki.eprints.org/" shash="LSHQwGMS4Mt0goxWDzPybz0NRIK3jDGaFGfBCBbdBogaljxliPjVsUgyRF2AVgEMkKIVtxiScQUgw2bU42HiN0EeBrYjnxKnHYPwNAhoh7c5NYhi0N4P/FRxkFOD43yndoiTJ0kMueHLg9PkkbCLkqR+6W81Pwq1czuNqb1ZaFg=" target="_blank">http://wiki.eprints.org/</a></pre>
</blockquote>
<div id="gmail-m_4386388205250124074DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
<table style="border-top:1px solid rgb(211,212,222)">
<tbody>
<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%7C6dd5a71422b8460e111208d91f5e3996%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637575311811167360%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=iJB%2FnO9CFoYymhS4MzR7F1HC%2FcAbDLGJEe2JgaY9riE%3D&reserved=0" originalSrc="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" shash="fNKOGc7wezGAWQdxvwrJNuU+TaAWNgnr6UrkhT7fvfoHl8PI23fcgvgRk2i2Jjey+NxyMDInmGkHZlhEd3Kc8Ui0ugQ3YiH+aOkwzFAZvtXXdOITBF5Vngz3xBsc0qL+wBYJc2dDkzVdEzp/7tsp3h44QWZBpr+b6bIvAJRJbZE=" 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:rgb(65,66,78);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%7C6dd5a71422b8460e111208d91f5e3996%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637575311811167360%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=iJB%2FnO9CFoYymhS4MzR7F1HC%2FcAbDLGJEe2JgaY9riE%3D&reserved=0" originalSrc="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" shash="fNKOGc7wezGAWQdxvwrJNuU+TaAWNgnr6UrkhT7fvfoHl8PI23fcgvgRk2i2Jjey+NxyMDInmGkHZlhEd3Kc8Ui0ugQ3YiH+aOkwzFAZvtXXdOITBF5Vngz3xBsc0qL+wBYJc2dDkzVdEzp/7tsp3h44QWZBpr+b6bIvAJRJbZE=" style="color:rgb(68,83,234)" target="_blank">
www.avg.com</a> </td>
</tr>
</tbody>
</table>
<a href="#m_4386388205250124074_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"></a></div>
</div>
</blockquote>
</div>
</div>
</body>
</html>