Hugo 7.4.5 Resource

This resource was originally created by user: Daisuke on the TrueNAS Community Forums Archive. Please DM this account or comment in this thread to claim it.

https://www.truenas.com/community/resources/hugo.203/download

This is version 7.4.5 of the Western Digital HUGO utility, used for performing low-level maintenance on compatible disk drives, such as conversion to 4K native sectoring.

The indicated file date is January 2021, included is the accompanying manual.

Software comes with its own license agreement, it is strongly recommended to contact Western Digital and provide your hard drive serial number, to make sure you obtain a compatible low-level maintenance tool. Using the wrong tool could permanently brick your device. Install and usage instructions are provided into PDF document, created by Western Digital.

Related Discussion Threads

Files

  • HUGO_Users_Guide-7.4.5.pdf
  • HUGO-7.4.5.freebsd.tar.gz
  • HUGO-7.4.5.win64.exe
  • HUGO-7.4.5.x86_64.deb
  • HUGO-7.4.5.x86_64.tar.gz

Debian Bullseye
Install
Enable apt and dpkg:

Code:

sudo chmod 0755 /usr/bin/apt* /usr/bin/dpkg

Download and extract the package:

Code:

curl -JLO https://www.truenas.com/community/resources/hugo.203/download unzip ./hugo-7.4.5.zip

Install dependencies:

Code:

sudo apt-get update sudo apt-get -y install libncurses5 libncurses5-dev

Install Hugo:

Code:

sudo dpkg -i ./hugo/v7.4.5/HUGO-7.4.5.x86_64.deb

Disable apt and dpkg, then remove downloaded files:

Code:

sudo chmod 0644 /usr/bin/apt* /usr/bin/dpkg rm -rf ./hugo*

Uninstall
Enable apt and dpkg:

Code:

sudo chmod 0755 /usr/bin/apt* /usr/bin/dpkg

Uninstall Hugo:

Code:

sudo dpkg -r hugo

Uninstall dependencies:

Code:

sudo apt -y remove libncurses5 libncurses5-dev sudo apt autoremove

Disable apt and dpkg:

Code:

sudo chmod 0644 /usr/bin/apt* /usr/bin/dpkg

2 Likes

thank you for the work

The download does not seem to exit anymore. Are their updated instructions anywhere. Have a drive. Tried to sg_format --format --size=512 /dev/sdX now getting the error mode sense(10): Device not ready.

Read that this could help us format the disk and get it back online.

indeed, that link seems broken as a result of the forums transition.

these instructions to +x apt and dpkg also no longer apply to scale, given root is now a read only filesystem.

AFAIK you will need to enable developer mode on your system to use apt because of the so called “appliance” focus… which just makes needing to use a simple one-use diagnostic or vendor tool hugely inconvenient.

Apparently, you don’t need to do this through TrueNAS. I created a Debian container to run Hugo. It was a pain in the butt, but you don’t have to enable developer mode.

I can’t do that if I wanted to because I use NVIDIA GPUs, and it’s not compatible with those.

But instead of torching your TrueNAS install, all your drives in /dev are mounted in the Docker container. So if you load a Debian one, then all you need to do is install Hugo.

If someone on these forums wants to find the right version of Debian and put the whole Hugo executable in there with a bunch of firmware files, that’d be incredible!

Right now, I can install and run Hugo, but I can’t upgrade the firmware without the firmware files. Not sure where Western Digital keeps them.

Last time I emailed, mine were Oracle/Sun drives, so they said the firmware is OEM. The drives I recently bought use regular model numbers I’ve seen on the forums, so they should use off-the-shelf firmware.

Mine are a mix of A680, A923, A384 (only one), A38K, and A3Z4.

the new forums here do no allow .zip or archive uploads. Of course they dont, which speaks to why the forums are so dead/slow now. So one work around to get this file is the (awesome) wayback machine (you can get this .zip from it, see link at bottom):

its really sad that ixsys crapped on not only the forums and their content, but also on their power users that spent incredible amounts of time to create “resource” posts for the community, and in one (horrible) forum upgrade they wiped all that without any regard for the users. Ridiculous.

Hugo can also be used to go back to 512e for products that don’t support 4kn (macrium reflect).

Don’t forget sata power pin 3 issue if the drive spins up then down immediately when connected to a standard sata power connector. As my drives are out of warranty, I just use an exacto knife to lift and bend back and forth a few times until that one pin snaps.

Scratching my head for a bit trying to figure out why drive not recognized when NOT using sata power splitter.