Description

The following error is seen when performing vmhost snapshot. However, the snapshot can be successful.
 
{master}
labroot@lab> request vmhost snapshot
Aug 28 02:27:54
warning: Existing data on the target may be lost
Proceed ? [yes,no] (no) yes
Aug 28 02:28:04

warning: Proceeding with vmhost snapshot
Current root details, Device sda, Label: jrootb_P, Partition: sda4
Snapshot admin context from current boot disk to target disk ...
Proceeding with snapshot on secondary disk
Mounting device in preparation for snapshot...
Cleaning up target disk for snapshot ...
Creating snapshot on target disk from current boot disk ...
Snapshot created on secondary disk.
Software snapshot done
sed: can't read /tmp/snap-7EFcM9/tgt_jrootpfs/etc/rcS.d/S05rootunion.sh: No such file or directory mv: cannot stat '/tmp/snap-7EFcM9/tgt_jrootpfs/etc/rcS.d/S05rootunion.sh': No such file or directory

Symptoms

Error observed:

sed: can't read /tmp/snap-7EFcM9/tgt_jrootpfs/etc/rcS.d/S05rootunion.sh: No such file or directory mv: cannot stat '/tmp/snap-7EFcM9/tgt_jrootpfs/etc/rcS.d/S05rootunion.sh': No such file or directory

Solution

In the NG-RE, there are two SSD disks, ssd1 and ssd2. SSD1 is the primary disk and SSD2 is the backup. There are two SETs on each disk. We boot with one set and when performing upgrade, the new Junos image is installed on the other SET and vice versa.

However, getting the above mentioned error log is due to having different Linux versions WRL6 and WRL9 on the two sets of disks.  Since the snapshot is successful, the error is considered harmless.

labroot@lab> show vmhost version
Aug 28 03:49:50
Current root details,           Device sda, Label: jrootb_P, Partition: sda4
Current boot disk: Primary
Current root set: b
UEFI    Version: NGRE_v00.53.00.01


Primary Disk, Upgrade Time: Tue Apr  6 11:52:22 UTC 2021

Version: set p
VMHost Version: 5.2225
VMHost Root: vmhost-x86_64-19.4R3-S2-20210118_0229_builder
VMHost Core: vmhost-core-x86-64-19.4R3-S2.2
kernel: 4.8.28-rt10-WR9.0.0.20_ovp   <<<<<< WRL9
Junos Disk: junos-install-mx-x86-64-19.4R3-S2.2
 
Version: set b
VMHost Version: 3.1553
VMHost Root: vmhost-x86_64-17.4X6-20200405_2140_builder
VMHost Core: vmhost-core-x86_64-17.4R2-S11-20200611_0431_builder
kernel: 3.10.100-ovp-rt110-WR6.0.0.38_preempt-rt   <<<< WRL6
Junos Disk: junos-install-mx-x86-64-17.4R2-S11

Modification History

2022-08-31: Initial publication