EPrints Technical Mailing List Archive

Message: #09084


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

Re: [EP-tech] Storage of PDF files


CAUTION: This e-mail originated outside the University of Southampton.

Hi David, thank you for the reply and clarification. I have been using
several sub-directories in the documents directory basically to limit
the size of each of those directories so that backing up those
directories on external media would be convenient. This approach was
probably relevant about two decades ago when the storage capacity of
external storage media used to be quite limited.

Regards, Francis

On Thu, Sep 29, 2022 at 1:18 PM David R Newman <drn@ecs.soton.ac.uk> wrote:
>
> Hi Francis,
>
> I think this may be due to EPrints determining the directory to use by alphabetical order.  Up to disk9 this would work but as soon as you hit disk10 you will have a problem.  I think if you create a disk9a this should work and then subsequently you would need to create disk9b, disk9c, etc.
>
> The purpose of using new directories under documents has been so if you run out of space on a disk partition you can add a new disk partition and then symlink this to disk1 (as opposed to disk0).  I don't think at the time this feature was created we ever thought anyone would get to more that ten disks (disk9 being the 10th if you start from disk0), as you would make sure that the next disk partition you added would be big enough to last many years, even if the number and size of documents being added increased significantly.  Nowadays, with LVM making it so much easier to expand disk partitions, most people do not need to add new disk directories they would just expand the disk partition for the disk0 directory.
>
> Regards
>
> David Newman
>
> On 29/09/2022 6:54 am, Francis Jayakanth via Eprints-tech wrote:
>
> CAUTION: This e-mail originated outside the University of Southampton.
>
> Hi, Over the years, I have created several folders in the eprints'
> 'document ' folder to store the PDF files. With the creation of every
> new sub folder in the 'documents' folder, all recent file uploads
> would automatically be stored in the new folder.
>
> Recently, I created a new folder named 'disk10 with a symbolic link to
> a folder on a different file system. I noticed that the recent PDFs
> uploaded after creating the 'disk10' folder are not being saved in
> that folder. It is nothing to do with the permissions.
>
> Is there a way to control the storage location of PDF files?
>
> I'm using eprints-3.4.1.
>
> Thanking you,
>
> Sincerely, Francis
>
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C304d81a39f014ac40b2908daa355e1cb%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638001886631364467%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=8IoY%2Fh%2BqHZft2Nb1vj0iKvunrv7VDoksufry5PJtTH4%3D&amp;reserved=0
> *** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C304d81a39f014ac40b2908daa355e1cb%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638001886631364467%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=s2hPj%2F4lYWwmjxdMp%2BmMP4XnT%2Fb7Y3ibtgvyAGEMua4%3D&amp;reserved=0