Can't restore VM's from 'read-only' remote?
-
Hi,
I've got a volume on an NFS server that's mounted as 'Read Only' - which is exported via NFS to XO as a 'remote'.
XO can 'see' this - but complains it's read-only when you attach it.
Although it does attach - I can't then 'see' any backups on that remote. The only thing that seems to work is to re-mount it on the NFS server as 'read/write' - and re-attach it to XO as read-write.
At this point, the list of VM's within 'xo-vm-backup' appear - and are available to restore.
This kind of leads to the questions: Do 'remotes' always have to be read/write mounted / available to XO to allow even restores to be done?
Thanks!
-
A remote (now Backup repository) is meant to write backups into it. If you aren't able to write, then, sure, you can restore but you won't be able to backup anything.
The warning/test was put in place to avoid having a remote mounted without any error and fails when you do your nightly backup. I think it saved months of potential support tickets and threads here
-
@olivierlambert said in Can't restore VM's from 'read-only' remote?:
A remote (now Backup repository) is meant to write backups into it. If you aren't able to write, then, sure, you can restore but you won't be able to backup anything.
Yes, understand that - I'll have to re-test here, but I'm sure when it was 'read-only' - I couldn't restore anything from it, as nothing showed up in XO's "Backup / Restore' list of backups...
The remote was mounted on two systems - hence why made R/O for one of them (this was just for testing restores).