No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

An S5000 Storage System Fails to be Upgraded Due to Limitations of an Early CF Card Version

Publication Date:  2012-07-18 Views:  23 Downloads:  0
Issue Description
When an S5000 R2 is being upgraded, the OSM displays a prompt, stating "The upgrade package is being verified." The storage system fails to be upgraded. Running the os_update.sh command on the CLI to upgrade the storage system still fails. The following messages are displayed. copy unziped OSM from /cf_data/root/temp_osmpackage_dir to /cf_data/image/boot_osp_bak failed remount cf_data for read only ***warning, update OSM package at the copy stage failed, try once more***
Alarm Information
None
Handling Process

Step 1 Run the following commands to reconfigure partitions: mount -o remount,rw,sync /cf_data/image rm /cf_data/image/os_rescue/* mount -o remount,ro,sync /cf_data/image/

 

Step 2 Upgrade the S5000 R2 storage system on the Web page again. OceanStor:~ # mount -o remount,rw,sync /cf_data/image/ remount cf_data for write OceanStor:~ # cd /cf_data/image/boot_rescue/ OceanStor:/cf_data/image/boot_rescue # ls . .. bzImage_osp grub initrd_osp menu.lst versions.conf OceanStor:/cf_data/image/boot_rescue # rm ./* OceanStor:/cf_data/image/boot_rescue # ls . .. OceanStor:/cf_data/image # cd / OceanStor:/ # mount -o remount,ro,sync /cf_data/image/ remount cf_data for read only The S5000 R2 storage system is successfully upgraded.

Root Cause
The messages above indicate that replicating data to the CF card fails. Run the following command to check the partitions on the CF card. OceanStor:/ # fdisk -l /dev/hda Disk /dev/hda: 1024 MB, 1024966656 bytes 32 heads, 63 sectors/track, 993 cylinders Units = cylinders of 2016 * 512 = 1032192 bytes Device Boot Start End Blocks Id System /dev/hda1 1 146 147136+ 83 Linux /dev/hda2 147 993 853776 83 Linux The information about correct partitions should be: Device Boot Start End Blocks Id System /dev/hda1 1 728 733792+ 83 Linux /dev/hda2 729 993 267120 83 Linux Therefore, the fault is caused by incorrect configuration of partitions on the CF card.
Suggestions
Run the command to check the information about the CF card before a storage system is upgraded and ensure that the CF card is of the latest version.

END