OPTANE D4800X dual port

How can two computers access the dual port hard drive optane d4800x 750GB simultaneously? I currently divide the PCIe x4 channel into two groups of x2 channels, which are connected to two computers and can mount file systems, but the file operations of the two computers cannot be synchronized.

Is that how its suppose to be used? I would have guess for HA or something. Honestly dont know

2 Likes

I’m pretty sure the dual port is just for systems with dual CPUs so both have a direct path to the SSD.

This surely isn’t there for two different systems to share a drive!

1 Like

Dual-port on the D4800X is for redundancy in a single system (like dual-controller setups), not for two hosts. Splitting PCIe x4 into two x2 lanes and connecting separate machines isn’t supported, you’ll get undefined behavior unless you’re running a clustered filesystem (like GFS2) with proper fencing and locking. Without that, you’re risking corruption. For shared access, better to use NVMe-oF or let one host serve the drive via NFS.

2 Likes

Thank you for your guidance. Using a cluster file system requires more hardware configuration support, but I cannot add additional hardware. One computer’s dual port disk can hold files, but the other computer’s dual port disk cannot see the file; After restarting the computer, the files of the two computers were synchronized. Is this synchronization generated by the hard drive itself or by the file system’s power on initialization? Can you help me answer this question?

The synchronization after a reboot is likely happening at the file system level, not from the hard drive itself. Without a clustered file system, the file system is probably re-syncing during initialization. For syncing files between the two computers, you might want to try Syncthing, which has a free version and can sync files over the network without additional hardware. It should work well for your setup.

Both computers’ OS have their own idea of what the file system looks like. On reboot that gets refreshed (unmount/mount cycle would likely work too). But what you’re doing is a recipe for corruption. Both computers are not aware of the other and at some point they will make conflicting changes – probably completely ruining the file system.

This topic was automatically closed 273 days after the last reply. New replies are no longer allowed.