• Contact
  • Cookie Policy
  • Helpdesk
Techspark Blogging about technical stuff

Category Archives: Hardware

Recover ESXi 7.x Bootbank

November 15, 2022 1:06 PM / Leave a Comment / XeroX

During the the installation of a VMware VIB file I lost connectivity to my usb stick containing the installation of esxi. Facing the following errors within ESXi Log:

Could not install image profile: Failed to copy files from /tmp/stagebootbank to /altbootbank: [Errno 5] Input/output error

Device or filesystem with identifier mpx.vmhba32:C0:T0:L0 has entered the All Paths Down Timeout state after being in the All Paths Down state for 140 seconds. I/Os will now be fast failed.

Lost connectivity to storage device mpx.vmhba32:C0:T0:L0. Path vmhba32:C0:T0:L0 is down. Affected datastores: BOOTBANK1″, “BOOTBANK2”, “LOCKER-624c4a59-8a3bf37a-8986-e435c87de92a.

After a reboot I saw the error message “BANK5: not a VMware boot bank” however BOOTBANK2 was intact so ESXi was booting with last working state from BOOTBANK2 (BANK6 in my case). Checking with “ls /altbootbank” I saw that alot of files where missing. I started to check if the filesystem was damaged with:

#Check ESXi bootbank device
vmkfstools -P /altbootbank

#Check and repair filesystem
dosfsck -r -w /dev/disks/mpx.vmhba32:C0:T0:L0:5

While mpx.vmhba32:C0:T0:L0:5 is the output of the previous command and :5 is the partition number. So :5 is BANK5 and :6 is BANK6.

Afterwards you can completely copy over the contents of /bootbank to /altbootbank with “cp”. You need to edit boot.cfg and modify “updated” to a number lower (-1). While the next VIB or update/patch you install on esxi will completely maintain the bootbanks again.

Posted in: ESXi, Hardware, vCenter, VMWare / Tagged: BANK5: not a VMware boot bank, BANK6: not a VMware boot bank, bootbank, bootbank recovery, ESXi, recovery

Boot Batocera from HDD/SSD

September 5, 2022 1:47 PM / 14 Comments / XeroX

Recently I acquired a Fujitsu Futro S740. Its sold as a thinclient, but is technically a full blown pc with a small SSD (8 or 16GB). I replaced it with a M.2 2280 B+M Key SSD and planned to use it as “Retrostation”. I tried recalbox, however the S740 only allows GPT/EFI boot, there is no legacy mode anymore. So I tried batocera. It boots well from the USB Stick but after installing to the SSD from the Menu it doesn’t boot.

I got this fixed by booting a Live Linux and set the EFI Partition to label “EFI system partition” and edited the flags to “boot”,”esp”,”legacy boot” (use GParted and Ubuntu Mate Live CD for ex.). After wards you just register it to the BIOS with:

efibootmgr -c -d /dev/sda -p 1 -L "Batocera" -l '\EFI\BOOT\bootx64.efi'

The command won’t work from within Batocera, using a bootable linux of an USB stick is mandatory.

Reboot and have fun.

Posted in: Hardware / Tagged: Batocera, Fujitsu, Futro, S740

JBOD with HP Smart Array P410i

August 27, 2014 9:26 AM / 1 Comment / XeroX

I was trying to install NAS4Free (FreeBSD) on a HP ProLiant DL380G7. I entered Configuration Utility for the RAID Controller (HP Smart Array P410i) and removed all logical drives, as there is no need for a hardware raid if you’re going to use ZFS. I assumed no logical drives = JBOD but I was wrong.

The HP Smart Arry P410i does not support JBOD Configuration. HP seems to be aware of this so they created a…hmm… kind of a workaround. Simply boot up the latest smartstart package and start the smart storage configuration utility. In there you can create an array with RAID0, there is even a button for it.

20-08-_2014_09-52-03

Press “Create Array with RAID 0”.

20-08-_2014_09-52-32

Select all available disks.

20-08-_2014_09-53-54

After that you created a RAID0 on each physical drive.

Thats it. Its no pass-through but works like jbod.

Good luck.

 

Posted in: Hardware / Tagged: BSD, HP Smart Array, HP Smart Array P410i, JBOD, P410i, ProLiant, RAID, ZFS

Recent Posts

  • Running Sierra Wireless EM7455 on FreeBSD/OPNSense/pfSense
  • Recover ESXi 7.x Bootbank
  • Microsoft Edge URI List – Open Office Apps without Prompt for SharePoint
  • Boot Batocera from HDD/SSD
  • Synology iSCSI/LUN SSD Cache with DSM 7.0

Recent Comments

  • XeroX on Boot Batocera from HDD/SSD
  • Dom on Boot Batocera from HDD/SSD
  • XeroX on Boot Batocera from HDD/SSD
  • mhmuc on Boot Batocera from HDD/SSD
  • mhmuc on Boot Batocera from HDD/SSD

Archives

  • February 2023
  • November 2022
  • September 2022
  • September 2021
  • August 2021
  • November 2020
  • November 2015
  • June 2015
  • February 2015
  • August 2014
  • June 2014
  • March 2014
  • February 2014
  • January 2014
  • November 2013
  • September 2013
  • August 2013

Categories

  • ESXi
  • FreeBSD
  • Hardware
  • Hyper-V
  • iOS
  • Microsoft
  • OfficeWebApps
  • Operations Manager
  • SharePoint
  • Synology
  • vCenter
  • VMWare
  • Webserver
  • Windows Server
© Copyright 2023 - Techspark
Infinity Theme by DesignCoral / WordPress
This website uses Cookies and Matomo to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Reject Opt-Out
Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
CookieDurationDescription
_pk_id.1.03ee1 year 27 daysMatamo set this cookie to store a unique user ID.
_pk_ses.1.03ee30 minutesThis cookie is used to store a unique session ID for gathering information on how the users use the website.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT
Powered by CookieYes Logo