March 31, 2021 By Barrett Clark
Josh Cooper
2 min read

You can create custom images on IBM Cloud Bare Metal Servers to quickly and easily deploy your own images to new bare metal servers.

It is highly recommended that you verify file system health, install the latest available kernel, edit the fstab file and perform operating system-based shutdown. Perform the following checks to better prepare your bare metal server for a successful Linux-based image capture and avoid possible pitfalls during the process.

1. Verify file system health

  • Bare metal image captures will fail if any filesystem inconsistencies are detected.
  • Doing a file system check and/or repair on all of your partitions will help facilitate a successful image capture of your server.
  • The following commands can verify/repair partition file systems:
    • fsck
    • debugfs
    • xfs_check
    • xfs_repair

If you have any questions on completing this step, please feel free to reach out to open a case with our support team for assistance.

2. Install the latest available kernel

  • Confirm your server has the latest kernel and successfully boots via the kernel. Having the latest kernel increases the image compatibility upon deployment to a new server.
  • Follow your OS manufacturer’s recommended update process. Examples: YUM, APT-GET.

3. Edit the fstab file

  • Make sure that the server is set up to mount only a primary drive.
  • If the server has multiple HDDs and you attempt to only capture the primary disk, the fstab file configuration expects the secondary HDDs. 
  • When that image is used to deploy to a new server, even if it has secondary HDDs, it does not match the fstab file configuration and can cause boot failure. 
  • Comment out or remove these unused mount points in /etc/fstab. Failure to do so runs the risk that servers provisioned via the image won’t boot without human intervention.

4. Perform operating system-based shutdown

  • One requirement for image capture is to have the server in a powered-off state. 
  • Performing a graceful operating system shutdown helps prevent file system corruption. 
  • Hard shutdowns through management interface control or a power strip reboot can cause file system corruption.

Get started

Now you’re ready to create a custom image on IBM Cloud Bare Metal Servers. For more information, see “Creating a custom bare metal server image template.

Don’t forget, we’re celebrating custom image templates by offering 10% off Intel-based IBM Cloud Bare Metal servers. Use the promotion code, “IMAGE10” at check-out. Read the blog for more details.

Was this article helpful?
YesNo

More from Cloud

IBM Tech Now: April 8, 2024

< 1 min read - ​Welcome IBM Tech Now, our video web series featuring the latest and greatest news and announcements in the world of technology. Make sure you subscribe to our YouTube channel to be notified every time a new IBM Tech Now video is published. IBM Tech Now: Episode 96 On this episode, we're covering the following topics: IBM Cloud Logs A collaboration with IBM watsonx.ai and Anaconda IBM offerings in the G2 Spring Reports Stay plugged in You can check out the…

The advantages and disadvantages of private cloud 

6 min read - The popularity of private cloud is growing, primarily driven by the need for greater data security. Across industries like education, retail and government, organizations are choosing private cloud settings to conduct business use cases involving workloads with sensitive information and to comply with data privacy and compliance needs. In a report from Technavio (link resides outside ibm.com), the private cloud services market size is estimated to grow at a CAGR of 26.71% between 2023 and 2028, and it is forecast to increase by…

Optimize observability with IBM Cloud Logs to help improve infrastructure and app performance

5 min read - There is a dilemma facing infrastructure and app performance—as workloads generate an expanding amount of observability data, it puts increased pressure on collection tool abilities to process it all. The resulting data stress becomes expensive to manage and makes it harder to obtain actionable insights from the data itself, making it harder to have fast, effective, and cost-efficient performance management. A recent IDC study found that 57% of large enterprises are either collecting too much or too little observability data.…

IBM Newsletters

Get our newsletters and topic updates that deliver the latest thought leadership and insights on emerging trends.
Subscribe now More newsletters