NextCloud VM with NFS storage
-
With something like NextCloud, I often like to make two disks. One for the OS and one for the data, because it is a file server and growth is easier that way, as are backups. So a 16GB for the OS, and a 50-80GB for the data. Always LVM so you can grow later if you need to. Use XFS.
-
@scottalanmiller said in NextCloud VM with NFS storage:
With something like NextCloud, I often like to make two disks. One for the OS and one for the data, because it is a file server and growth is easier that way, as are backups. So a 16GB for the OS, and a 50-80GB for the data. Always LVM so you can grow later if you need to. Use XFS.
The data is already on another server. While yes, I agree two drives is best. Is there still that need in this case?
-
@scottalanmiller said in NextCloud VM with NFS storage:
So a 16GB for the OS, and a 50-80GB for the data. Always LVM so you can grow later if you need to. Use XFS.
50-80GB for data? They currently have almost 200GB online, and expect to grow by 50% in the coming year(s).
-
@gjacobse said in NextCloud VM with NFS storage:
@scottalanmiller said in NextCloud VM with NFS storage:
So a 16GB for the OS, and a 50-80GB for the data. Always LVM so you can grow later if you need to. Use XFS.
50-80GB for data? They currently have almost 200GB online, and expect to grow by 50% in the coming year(s).
Plan accordingly, ha ha ah.
-
@gjacobse said in NextCloud VM with NFS storage:
@scottalanmiller said in NextCloud VM with NFS storage:
With something like NextCloud, I often like to make two disks. One for the OS and one for the data, because it is a file server and growth is easier that way, as are backups. So a 16GB for the OS, and a 50-80GB for the data. Always LVM so you can grow later if you need to. Use XFS.
The data is already on another server. While yes, I agree two drives is best. Is there still that need in this case?
I'm not sure that you can do that. that's not how this works.
-
How can you ingest NFS storage into NextCloud?
-
@scottalanmiller said in NextCloud VM with NFS storage:
How can you ingest NFS storage into NextCloud?
I can't answer that. I've not used NextCloud yet, I don't want to toss out terms like assume or expected or the like,.. but dup'ing existing data / storage seemed counter intuitive.
-
@scottalanmiller said in NextCloud VM with NFS storage:
How can you ingest NFS storage into NextCloud?
The Current is part of a VM, NextCloud would be a VM - Why could you not mount both? - And that could be a limitation of Hyper-V.. that you can't do that.
But why then could you not mount the existing NFS share within NextCloud?
-
@gjacobse said in NextCloud VM with NFS storage:
@scottalanmiller said in NextCloud VM with NFS storage:
How can you ingest NFS storage into NextCloud?
The Current is part of a VM, NextCloud would be a VM - Why could you not mount both?
How woudl that work? What would NextCloud do with a bunch of random files that have no metadata? They don't exist in the database, what would happen to them?
-
@scottalanmiller said in NextCloud VM with NFS storage:
@gjacobse said in NextCloud VM with NFS storage:
@scottalanmiller said in NextCloud VM with NFS storage:
How can you ingest NFS storage into NextCloud?
The Current is part of a VM, NextCloud would be a VM - Why could you not mount both?
How woudl that work? What would NextCloud do with a bunch of random files that have no metadata? They don't exist in the database, what would happen to them?
There's a command you can run that will take a list of files and make them available to a user, I think.
-
@dafyre said in NextCloud VM with NFS storage:
@scottalanmiller said in NextCloud VM with NFS storage:
@gjacobse said in NextCloud VM with NFS storage:
@scottalanmiller said in NextCloud VM with NFS storage:
How can you ingest NFS storage into NextCloud?
The Current is part of a VM, NextCloud would be a VM - Why could you not mount both?
How woudl that work? What would NextCloud do with a bunch of random files that have no metadata? They don't exist in the database, what would happen to them?
There's a command you can run that will take a list of files and make them available to a user, I think.
So one user would just get "everything." Or else it's a huge manual process.
-
Everything I am seeing says bad idea.....
-
@aaronstuder said in NextCloud VM with NFS storage:
Everything I am seeing says bad idea.....
Seeing on here or in looking elsewhere?
-
Moving from legacy LAN storage to modern user-based storage is a paradigm shift and take a bit of work to make do what is needed. I would have users move files one by one or folder by folder.
-
@scottalanmiller said in NextCloud VM with NFS storage:
Moving from legacy LAN storage to modern user-based storage is a paradigm shift and take a bit of work to make do what is needed. I would have users move files one by one or folder by folder.
This is the thing - this new'ish LANLess setup is a total paradigm shift! requires almost complete rethinking.
-
@Dashrender it's big, for sure. Storage isn't just a big pool for mapped drives any more. Now users control complex sharing relationships. More power, less centralized control.
-
@scottalanmiller said in NextCloud VM with NFS storage:
@dafyre said in NextCloud VM with NFS storage:
@scottalanmiller said in NextCloud VM with NFS storage:
@gjacobse said in NextCloud VM with NFS storage:
@scottalanmiller said in NextCloud VM with NFS storage:
How can you ingest NFS storage into NextCloud?
The Current is part of a VM, NextCloud would be a VM - Why could you not mount both?
How woudl that work? What would NextCloud do with a bunch of random files that have no metadata? They don't exist in the database, what would happen to them?
There's a command you can run that will take a list of files and make them available to a user, I think.
So one user would just get "everything." Or else it's a huge manual process.
Not exactly. Have you ever looked at the file structure of ownCloud/Nextcloud?
Basically in the /data folder there are subfolders per user. You would populate those with the files from the old file server. Then you pop into the CLI and issue this command to rescan the folders and put the stuff in the database.
sudo -u apache php occ files:scan --all -v
You can also do it per user.
I would not recommend ever doing this on an existing system that was not already hosed for some other reason.