I use NS7 for years, never had a serious issue, nothing stopped NS from actually booting, even when server crashed (host) etc.
Now I gracefully rebooted the host (UNRAID - has KVM and NS is a VM) and now the VM starts but fails as it seems to mount virtual disks within the (existing) qcow2 image.
I am not sure if there lies an issue with the VM, but this outside NS7 support scope (still if you have any ideaâŠ).
I have tried to âseeâ inside qcow2 image from within the host and it does see three partitions inside it, efi partition and two lvm partitions (root and cache). So I tried to mount root partition and I DID manage to mount them⊠those are the partitions that NS7 itself fails to mount!
I did try both NS7 and generic CentOS isos to start a recovery process, but they say they donât detect an existing OS!
The (virtual) disk seems to be fine. I cannot imagine what outside the scope of the VM (and in the host) could have affected the boot process INSIDE the VM.
I will try to remake a new VM and re-use the existing image, but I donât expect much.
(esp. since I am not sure how to follow what the link you provided suggests)
If your are using LVM, Is it possibe that the Disk Manager config file kept the old UUID or PVID from the original disk instead of those of the new one?
# cat /etc/lvm/devices/system.devices
conpared to: # vgs
Also: # dmsetup info /dev/dm-0
compared to # dmsetup info /dev/dm-1.
Question is, can I check those from within the prompt it allows me to use? (see screenshot)
I used NS7 own setup iso, so it uses LVM because this is how the setup wizard has set it up.
Why would the UUID or PVID change? Does it depend on the host?
(remember NS7 is inside a VM)
At the prompt, there is a CTRL key combination (canât remember exactly which). This will restart the boot at the failed point, which will now complete because the relevant disks are mounted.
The only way to see INSIDE my root partition is to mount it in my host system.
(I connect to the qcoq2 image, I ask it to scan for lvm partitions, it DOES find them and then I CAN mount the root partition and see the contents in my mount point!.. This gives me hope that I can actually save my mailboxes etc.)
Any other thing, booting CentOS iso, selecting rescue or NS iso, selecting rescue, cannot find my OS at all. Even using super_grub2_disk doesnât take me far - goes to the same as the screenshot above.
But mounting this on host at least shows me LV UUID of the partitions. Is this useful to me?
(I will make an extra thread - as I may need to go to a fresh NS7 install and then since I CAN see the root partition and get the contents, maybe I should just âdropâ everything over that - but I would hope to fix the EXISTING install if possible)