Updating The Os - Hitachi CE50-10 Instruction Manual

Table of Contents

Advertisement

Run the ecrestore command to save the backup files from the external media to the unit. The following
example shows how to run the ecrestore command.
• When the restoration menu appears, enter 1 (see the underlined part), and then press the Enter key to start
restoration.
$ sudo ecrestore
Please select a restore mode.
1. Restore from external media
2. Restore from maintenance PC
q. quit
> 1
• When restoration starts, a list of directories containing backup files stored in the external media appears. Enter
the number of the directory to be restored (see the underlined part), and then press the Enter key.
Backup directory list:
1. ecbackup_20210525101010
q. quit
> 1
• The restored file name and processing progress and time are displayed. Then, a message asking you whether
you want to verify the restored files appears. Enter y to verify the files, or enter N to skip the verification.
Making partitions finished
Restoring: 20210525101010_sda8_01.gz
31MiB 0:00:01 [16.1MiB/s] [====>
Will you verify restored area(y / N)?N
Finished: 20210525101010_sda8_01.gz
(snip)
Successfully completed
• After running the command, wait for the command to terminate, displaying the Successfully complete
message.
If the command terminates displaying a message other than Successfully completed, the restoration
processing has been interrupted due to an error. Take corrective action against the error, and then rerun the
restoration command.
6. Unmount the external media from the unit
After restoration finishes, unmount the connected external media from the unit.
$ sudo umount /mnt/ecbackup_data
7. Remove the external media from the unit.
8. Change the OS operation mode to normal mode.
To change the OS operation mode to normal mode, see 5.14.4 Changing maintenance mode to normal mode.
5.15.5 Updating the OS
Use this function when you need to update the OS because, for example, measures must be taken for security threats
or new functions are required. Only OSs supplied by Hitachi for CE50-10 can be used.
(1) Overview of the active area and inactive area
Two partitions in the unit are assigned to system area 1 and system area 2 (device file names: /dev/sda2
and /dev/sda3). Each system area stores image data of the OS.
When the unit starts, either system area is activated to boot the unit. The system area that is active when the unit starts
is called active area. The system area that is inactive when the unit starts is called inactive area.
When replacing the OS of the unit, update the OS in the inactive area, and then perform the operation to change the
inactive area to the active area the next time the unit starts.
5. Configuring Software Environment
<- Restore from external media.
<- Directory to be restored
] 25% ETA 0:00:02
<- Whether to verify files
91

Advertisement

Table of Contents
loading

Table of Contents