Sorted!
I took the SR disks out and put them in a freshly loaded xcp-ng 7.6 server. This handles Bcache much better. At boot raid starts then Bcache loads and these things happen before LVM initialises. It seems this sequence is important. pvscan now produces no errors and /dev/bcache0 shows up as a PV.
Then I introduced the SR and created the pbd and plugged it in. Then from the console searched the SR for the vm metadata backup which was found and restored.
A bit more messing about to get networking configured on the vms.
Now I'm about to return the server to my client.
Phew!
Then some sleep - stayed up all last night!
Thanks for your support
Frank.
Best posts made by frank-s
-
RE: Recover local ext SR missing PV HELP PLEASE!
-
Feature Request
Feature Request: Would it be possible to specify a delay between "Number of retries if VM backup fails"? Last night there was an internet outage that affected many of my clients s3 backups. I noticed that the retries I had specified all happened immediately after the internet failure with no delay between them. Because the internet was not restored they all failed too. It would be good to set a delay between retries to allow time for the internet to be restored. Today I manually restarted all the failed backups.
Thanks. -
RE: Problem with differential restore
I will backup again without deleting the snapshot and then attempt a differential restore.
I will update this thread when done. -
RE: Mirror backup with Continuous Replication
Thank you,
I will consider that as a way forward. -
RE: Introduce yourself!
I started with XCP 1.0 a few years ago then 1.1 and 1.6 'till xenserver 6.2 became open source. Been with xenserver ever since. I run a small (one man band) company providing IT and sysadmin support to fourteen small to medium sized companies. All are virtualized on various versions of xenserver. All are using standalone servers. Some more recent ones use bcache local storage with redundant mdadm array as backing device and ssd as caching device. /dev/bcache0 then becomes local repository so all vms in repo benefit from ssd caching. Citrix pissed me off with the release of xs7.3 so I am really pleased to find this fork. Having started with XCP 1.0 it feels like coming home.
I came into IT nearly 20 years ago having spent the previous 30 years in electronic engineering. I am self taught. I have to say I found electronics easier... -
RE: Guest-tools
Thanks Olivier I'll have a look at that. Also I found this:
xe vm-param-set uuid=<VM uuid> has-vendor-device=true
After running this command on the xcp-ng host, a migrated windows vm from xenserver free shows itself as able to receive updates via windows update.
Many thanks -
CBT
Firstly thank you so much for the work you have done to get XCP-ng 7.4 released so quickly.
Would it be possible to enable xenserver Changed Block Tracking in XCP-ng? -
Linux HVM tools
Hoping someone can help me out here. I have a problem installing guest-tools in an HVM running freepbx. I believe freepbx distro is based on Centos 7. When I ran ./install.sh I got this message:
Fatal Error: Failed to determine Linux distribution and version.
So I created a centos-release file in /etc and edited the redhat-release link to point to it but still got the same error.
I then manually installed both x64 rpms.
xe-linux-distribution.service is running but general tab shows:
I/O optimized
Management Agent not installed
Any advice would be appreciated.
Thanks. -
RE: Soft RAID support
What would be really cool is mdadm implentation built into the xcp-ng installer.
-
RE: An updated installer for XCP-ng 7.5.0
@dvdhngs
Run lvscan to see if there are any active logical volumes. If there are runvgchange <group name> -an
to deactivate all logical volumes. Now try to stop the array.
Latest posts made by frank-s
-
Feature Request
Feature Request: Would it be possible to specify a delay between "Number of retries if VM backup fails"? Last night there was an internet outage that affected many of my clients s3 backups. I noticed that the retries I had specified all happened immediately after the internet failure with no delay between them. Because the internet was not restored they all failed too. It would be good to set a delay between retries to allow time for the internet to be restored. Today I manually restarted all the failed backups.
Thanks. -
RE: Compressed backups
@abudef I just had a backup failure. This triggered a full (key) backup on the next run which transferred 165GiB. When I rdpd into the vm I could see that the vm contained 345GiB of data including the system drive. I conclude, therefore that compression is working for full key backups at a ration of around 2:1.
I hope this helps. -
RE: Problem with differential restore
@olivierlambert <The snapshot is deleted. You need a reference point to do differential>. So, since the snapshot is deleted, create a new one (snapshot) as part of the restore process and use that for the reference - then delete it when done.
-
RE: Problem with differential restore
@olivierlambert Agreed, but in the case where the snapshot has been deleted, why can't the differential restore process simply create a snapshot from the vm and use that instead?
-
RE: Problem with differential restore
@olivierlambert So, earlier in this thread, florent said "differential restore work by not transferring the data that the snapshot and the backup have in common, without reading any of those
it clone the last snapshot, an then revert the block changed between the older backup and the snapshot". If this is true (and I'm sure it is) why can't the differential restore system create the missing snapshot and use that to complete the differential restore? -
RE: Problem with differential restore
@olivierlambert No, not recreating the snapshot from the CBT metadata but simply creating a new temporary snapshot, perform differential restore and delete the temporary snapshot when done.
-
RE: Problem with differential restore
@frank-s So- I have been thinking about this. If an NBT/CBT backup is set to destroy the snapshot, would it be possible to make differential restore work by having the restore process create the snapshot it needs, perform the differential restore and then delete the snapshot?
-
RE: Problem with differential restore
Thank you. Is there somewhere I can read about this instant restore feature?