14.08.2019

Fare Un Backup Di Esxi Su Sinology

45
Fare Un Backup Di Esxi Su Sinology 5,0/5 4625 reviews

I had a scenario where some of my ESXi hosts (managed by vCenter. I have a backup of the full LUN (not of individual VMs), which I. There is a repair tool for Synology (could be the volume on there with bad header data) that is. The Synology as 'admin' (may have to enable SSH); Run 'sudo su -'. Se Time Machine non ti soddisfa oppure hai bisogno di fare backup avviabile del disco del Mac, puoi usare il software esterno Carbon Copy Cloner: te ne ho parlato in dettaglio nella mia precedente guida dedicata. Esistono molti modi per creare un backup di Android che puoi usare a seconda del tuo obiettivo. Mar 1, 2016 - I opened a ticket with Synology Support because some 'Hyper Backup' data backup tasks were failing. Login & su to root. I ended up recreating the data backup task in Hyper-Backup and it worked. And rolled my own script; really convenient since I did something similar in ESXi years ago with.

Posted by9 months ago
Archived

I had a scenario where some of my ESXi hosts (managed by vCenter Server Appliance) were ungracefully disconnected from a datastore.This datastore was on a LUN which was located on a Synology NAS, DS1517+, which a botched update from 6.1.7 to 6.2 caused the ungraceful disconnect.

I reestablished the iSCSI connection between two of the hosts and the LUN, but now rescanning the storage device does not show the datastore.

The main problem here is that a number of important VMs are on that datastore, so I would like to recover it if possible.I have a backup of the full LUN (not of individual VMs), which I haven't used yet as it would override the existing LUN, would like to save that as a last ditch effort.

Here's what debug information I can provide thus far, maybe some of you can piece together what's happening.I will openly admit I'm quite green when it comes to VMware, and any help towards solving this is immensely appreciated.


[root@XXXvspherehost1:~] esxcli storage core path list

..

iqn.1998-01.com.vmware:cssvspherehost1-658ace6e-00023d000002,iqn.2008-06.com.css-design:StorageCluster.VM-Target,t,1-naa.60014056f5e3bd8d68c9d4139dbaded5 UID: iqn.1998-01.com.vmware:cssvspherehost1-658ace6e-00023d000002,iqn.2008-06.com.css-design:StorageCluster.VM-Target,t,1-naa.60014056f5e3bd8d68c9d4139dbaded5 Runtime Name: vmhba37:C0:T0:L1 Device: naa.60014056f5e3bd8d68c9d4139dbaded5 Device Display Name: SYNOLOGY iSCSI Disk (naa.60014056f5e3bd8d68c9d4139dbaded5) Adapter: vmhba37 Channel: 0 Target: 0 LUN: 1 Plugin: NMP State: active Transport: iscsi Adapter Identifier: iqn.1998-01.com.vmware:XXXvspherehost1-658ace6e Target Identifier: 00023d000002,iqn.2008-06.com.XXX:StorageCluster.VM-Target,t,1 Adapter Transport Details: iqn.1998-01.com.vmware:XXXvspherehost1-658ace6e Target Transport Details: IQN=iqn.2008-06.com.XXX:StorageCluster.VM-Target Alias= Session=00023d000002 PortalTag=1 Maximum IO Size: 131072


[root@XXXvspherehost1:~] esxcli storage core device listnaa.60014056f5e3bd8d68c9d4139dbaded5 Display Name: SYNOLOGY iSCSI Disk (naa.60014056f5e3bd8d68c9d4139dbaded5) Has Settable Display Name: true Size: 2048000 Device Type: Direct-Access Multipath Plugin: NMP Devfs Path: /vmfs/devices/disks/naa.60014056f5e3bd8d68c9d4139dbaded5 Vendor: SYNOLOGY Model: iSCSI Storage Revision: 4.0 SCSI Level: 5 Is Pseudo: false Status: degraded Is RDM Capable: true Is Local: false Is Removable: false Is SSD: false Is VVOL PE: false Is Offline: false Is Perennially Reserved: false Queue Full Sample Size: 0 Queue Full Threshold: 0 Thin Provisioning Status: yes Attached Filters: VAAI Status: unknown Other UIDs: vml.020001000060014056f5e3bd8d68c9d4139dbaded5695343534920 Is Shared Clusterwide: true Is Local SAS Device: false Is SAS: false Is USB: false Is Boot USB Device: false Is Boot Device: false Device Max Queue Depth: 128 No of outstanding IOs with competing worlds: 32 Drive Type: unknown RAID Level: unknown Number of Physical Drives: unknown Protection Enabled: false PI Activated: false PI Type: 0 PI Protection Mask: NO PROTECTION Supported Guard Types: NO GUARD SUPPORT DIX Enabled: false DIX Guard Type: NO GUARD SUPPORT Emulated DIX/DIF Enabled: false


[root@XXXvspherehost1:~] esxcli storage vmfs extent listVolume Name VMFS UUID Extent Number Device Name Partition--------------------- ----------------------------------- ------------- -------------------------------------------------------------------------- ---------datastore1 57b5829e-792ba3ad-e735-f48e38c4e28a 0 t10.ATA_____WDC_WD5003ABYX2D18WERA0_______________________WD2DWMAYP0K9LHZU 3XXX-iscsi-datastore-1 5afda8ec-359e5ffb-30b1-f48e38c4e28a 0 naa.60014056f5e3bd8d68c9d4139dbaded5 1


[root@XXXvspherehost1:~] esxcli storage filesystem listError getting data for filesystem on '/vmfs/volumes/5afda8ec-359e5ffb-30b1-f48e38c4e28a': Cannot open volume: /vmfs/volumes/5afda8ec-359e5ffb-30b1-f48e38c4e28a, skipping.

[root@XXXvspherehost1:~] voma -m vmfs -f check -d /vmfs/devices/disks/naa.60014056f5e3bd8d68c9d4139dbaded5Checking if device is actively used by other hostsRunning VMFS Checker version 1.2 in check modeInitializing LVM metadata, Basic Checks will be donePhase 1: Checking VMFS header and resource files Detected VMFS file system (labeled:'XXX-iscsi-datastore-1') with UUID:5afda8ec-359e5ffb-30b1-f48e38c4e28a, Version 5:61Phase 2: Checking VMFS heartbeat regionPhase 3: Checking all file descriptors.Phase 4: Checking pathname and connectivity.Phase 5: Checking resource reference counts.ON-DISK ERROR: FB inconsistency found: (7925,1) allocated in bitmap, but never usedON-DISK ERROR: FB inconsistency found: (7925,2) allocated in bitmap, but never usedON-DISK ERROR: FB inconsistency found: (7925,4) allocated in bitmap, but never used

Total Errors Found: 3

Fare


UPDATE 1:

See comments bellow.


UPDATE 2:

I can't thank everyone here enough for all the support and suggestions!Your guidance and suggested helped me realize that ESXi, nor vSphere, was the issue.From what I can gather, what we saw here is ESXi seeing there's a datastore on the LUN, but being unable to actually mount it due to the filesystem being corrupted.The former is conjecture, but I now know with 100% certainty that the LUNs on the primary NAS (more on that later) were corrupted.

The DS1517+ Synology NAS mentioned in the initial post was in a high availability setup with another DS1517+, using Synology's High Availability Manager Package.The update in question broked the active NAS, caused it do a fresh install of DSM 6.2 instead of a graceful install, this also took it out of the HA cluster.The passive server 'failed' as all the HA IP addresses on it were inaccessible, except the primary IP.This meant that iSCSI connections couldn't be made to it, apparently due to LUN targets in a HA cluster only opening ports on HA IP addresses.

After realizing that the LUN was likely corrupt on what was the primary NAS, I set out to recover what had been the passive NAS.After taking removing it from the HA setup, and turning off the package, I was able to get it's network interfaces to work properly again.Thus, I was able to make iSCSI connections to it.

Fare Un Backup Di Esxi Su Sinology Card

Lo and behold, the passive NAS's LUN were not corrupt and could be mounted by the ESXi hosts!!!After re-registering all the VMs, I brought them up one by one, and they all came online and were operational.

I will certainly be giving Synology an earfull tomorrow, as I'm positive at this point their update not only broke the HA cluster but corrupted the LUN on the active NAS.Sometime in the next few days I'll be giving u/nhemti's fix a try on the broken NAS and report back the results, as I'm not worried about the consequences on that NAS anymore.


FINAL UPDATE:

Fare Un Backup Di Esxi Su Sinology Video

I was, unfortunately, unable to give u/nhemti's fix a try due to having to wipe the borked NAS to set it up as a backup. Sorry for the late update, but things have been moving quite fast for me. Anyways, hope this post is helpful to someone!

38 comments

Iperius is a powerful and versatile software than can easily make backups to/from network devices.
The following tutorial shows how to make a backup to NAS, even from Windows Server 2008 and Windows Server 2012 operating systems.

Iperius Backup support any NAS device (QNAP, Buffalo, Netgear, Synology, D-Link, Thecus, etc …), and it’s one of the best software for network backup, thanks to its speed, ease of configuration, flexibility and low resource consumption.

In the program main window, create a new backup job:

Add folders and files you want to copy on the NAS (you can add an unlimited number of folders and files):

Esxi

As you can see in the picture above, for each folder you add, Iperius allows you to configure many options and filters. You can choose to recreate the entire path, exclude specific files depending on their extension or size, exclude specific subfolders, etc.

In the “Destinations” panel, add the path to the shared folder on the NAS device.
You can type the path manually or select it using the dedicated button.

As shown in the image above, you can configure various options for this destination: backup type, zip compression (with password protection or whole-file encryption), synchronization (to automatically remove old files from your backup). You can also choose to create a separated zip files for each source item you selected and specify an account to authenticate automatically in the network share.

Civilization microprose cost of research. The Importance of Cost EffectivenessThe concept of cost effectiveness as well as the value of pursuing cost-effective alternatives has both been held in high esteem for at least 50 years. Assessing the cost-effectiveness of research activities is one answer to this critical challenge. With this mindset, finding a better way to make financial decisions is a practical goal for managers, business owners, politicians and investors.

In this example we enabled zip compression and selected the first backup type available (the full one). Then, we set the number of copies to 3. In this way, you will always have the latest 3 full backups (3 zip files) that will be overwritten in rotation.

In the next panels you can configure some other important options for this backup job: scheduling and email notifications (respectively to run automatic backups and to be always informed about the backup result and possible errors). In order to configure these options, read the related tutorials:

Esxi

How to schedule automatic backup – Configuring email notifications

Fare Un Backup Di Esxi Su Sinology 1

In the final panel, choose a name for the backup job and click OK to save it.

Once you saved your backup job, you can immediately see it in the list and run it by a simple right click.

Iperius is a flexible and highly configurable software to make network backups. You can use Iperius to create complex backup strategies to save you data to NAS devices, FTP servers and cloud storage services. You can create multiple backup tasks to back up all the workstations in a network to a central server automatically. Iperius allows you to easily configure incremental, full or differential backups, to use advanced options such as zip compression, AES encryption, creation of custom folders thanks to the special variables, execution of external processes and scripts, and the possibility to schedule parallel backups.

(Italian, French, German, Spanish, Portuguese (Brazil))