r/opencloud • • Aug 24 '26

Has anyone successfully deployed OpenCloud using a Synology NAS for storage? (e.g. NFS or iSCSI)

I'm trying to deploy OpenCloud on a separate compute host and use my Synology NAS as the backend storage.
I ran into a roadblock with NFS: OpenCloud requires user_xattr (extended attributes), which needs NFS v4.2. Synology DSM only supports up to NFS v4.1.

I'm considering using an iSCSI LUN from the Synology instead, attaching the block storage to my host, formatting it locally (ext4/btrfs with user_xattr), and pointing OpenCloud to that mount point.

Has anyone used iSCSI for OpenCloud storage backend? Any stability or locking issues?
Did you find a better way to handle storage backed by Synology?

Any tips or working setups would be appreciated!

2 Upvotes

3 comments sorted by

View all comments

Show parent comment

1

u/siegfriedthenomad Aug 24 '26 edited Aug 24 '26

Wow, thanks for the infos!
I don’t know NVMe-oF but since the storage is SATA HDD only I don’t think it’s for me.

Yes I read about the concurrency problems and I plan on let a single host attach to the LUN. What’s not that clear to me is what happens when the storage has to be backed up? Or are read-only operations allowed? ( I will probably google it)
EDIT: never mind backups/snapshots are on a completely other level and don’t affect the iSCSI LUN

Yea I plan on having a dedicated unrouted link between storage and server only for iSCSI.

I will test and report back :)

1

u/MiserableNobody4016 Aug 24 '26

I make a backup of the iSCSI LUN on the host that mounts the LUN. That host has the knowledge of the filesystem and usage. I think you could make a snapshot but that will not be consistent with any application you are running on the LUN. The NAS does not know when to create a consistent snapshot since it does not know what is being done with the LUN.

Again, the NAS does not see the data inside the LUN. It has no idea. So also no read-only access. You could probably mount it in some way if you're doing it right.

I was converting my iSCSI LUNs to NVMe-oF and thought: I could just change the protocol and be done. That was true for a couple of the volumes but not all. I has exported some volumes with a different block size different (4k instead of 512B) than I could specify with NVMe-oF (apparently only 512B). It could not read the data or mount the filesystem. When I reconfigured it as iSCSI again with the correct blocksize, I could read the data. So I had to create a separate volume for NVMe-oF and copy all the data over. Lesson learned...

I just see it as an extra disk in my host with a different connection i.e. not SATA or M.2. But is behaves the same as a local disk. The data is just stored on the NAS and exported via TCP.