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

A clear path to value: Overcome challenges on your FinOps journey 

3 min read - In recent years, cloud adoption services have accelerated, with companies increasingly moving from traditional on-premises hosting to public cloud solutions. However, the rise of hybrid and multi-cloud patterns has led to challenges in optimizing value and controlling cloud expenditure, resulting in a shift from capital to operational expenses.   According to a Gartner report, cloud operational expenses are expected to surpass traditional IT spending, reflecting the ongoing transformation in expenditure patterns by 2025. FinOps is an evolving cloud financial management discipline…

IBM Power8 end of service: What are my options?

3 min read - IBM Power8® generation of IBM Power Systems was introduced ten years ago and it is now time to retire that generation. The end-of-service (EoS) support for the entire IBM Power8 server line is scheduled for this year, commencing in March 2024 and concluding in October 2024. EoS dates vary by model: 31 March 2024: maintenance expires for Power Systems S812LC, S822, S822L, 822LC, 824 and 824L. 31 May 2024: maintenance expires for Power Systems S812L, S814 and 822LC. 31 October…

24 IBM offerings winning TrustRadius 2024 Top Rated Awards

2 min read - TrustRadius is a buyer intelligence platform for business technology. Comprehensive product information, in-depth customer insights and peer conversations enable buyers to make confident decisions. “Earning a Top Rated Award means the vendor has excellent customer satisfaction and proven credibility. It’s based entirely on reviews and customer sentiment,” said Becky Susko, TrustRadius, Marketing Program Manager of Awards. Top Rated Awards have to be earned: Gain 10+ new reviews in the past 12 months Earn a trScore of 7.5 or higher from…

IBM Newsletters

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