MLXCONTROL(8)
π mlxcontrol β the Mylex DAC-family RAID glow-up utility
okay so real quick bestie: this is a page from the System Manager's Manual, section 8 (that's the "system admin commands" section, iykyk), and it's your whole guide to wrangling RAID controllers without losing your mind π
β¨ NAME β¨
mlxcontrol β Mylex DAC-family RAID management utility π
πΈ SYNOPSIS πΈ
mlxcontrol β¨commandβ© [args]
mlxcontrol status [-qv] [drive]
mlxcontrol rescan controller [controller ...]
mlxcontrol detach drive [drive ...]
mlxcontrol detach -a
mlxcontrol check drive
mlxcontrol config controller
mlxcontrol help command
π¦ DESCRIPTION π¦
So mlxcontrol is the utility that gives you status monitoring and management functions for devices attached to the mlx(4) driver. That's it. That's the whole assignment. π
Now, naming conventions, because getting these wrong is so not the vibe:
- Controller names look like
"mlxN", whereNis the unit number of the controller π - Drive names look like
"mlxdN", whereNis the unit number of the drive π
β οΈ Do not specify the path to a device node. Just the name, bestie. Just the name. π
Here's the command rundown, one by one:
statusβ prints the status of controllers and system drives. If you pass one or more drives, it only prints info about those drives; otherwise it prints info about all controllers and drives in the system. With the-vflag you get much more verbose info (slay, give me the lore π₯). With the-qflag it prints no output at all (the silent treatment, but make it functional π). This command returns0if all drives tested are online,1if one or more drives are critical, and2if one or more are offline β so its exit status is literally the vibe check βrescanβ rescans one or more controllers for non-attached system drives (like, drives that have been detached, or drives created after driver initialisation β late bloomers, iconic honestly π). If the-aflag is supplied, it rescans all controllers in the system β¨detachβ detaches one or more system drives. Big caveat: the drives must be unmounted and not opened by any other utility for this command to succeed. Respect the boundaries, okay? π«Ά If the-aflag is supplied, it detaches all system drives from the nominated controller πcheckβ initiates a consistency check and repair pass on a redundant system drive (so like RAID1 or RAID5). The controller scans the system drive and repairs any inconsistencies. This command returns immediately, so use thestatuscommand to monitor the progress β it's giving "I fired off the task and I'm not waiting around" πrebuildβ requires two arguments:controllerandphysdrive, as specified in the output of thestatuscommand. All system drives using space on the physical drivephysdriveget rebuilt, reconstructing all the data on the drive πͺ Note that each controller can only perform one rebuild at a time β one at a time, bestie, patience is a virtue. This command also returns immediately; use thestatuscommand to monitor the progress πconfigβ prints the current configuration from the nominated controller. Heads up: this command will be updated to allow addition/deletion of system drives from a configuration in a future release. So for now it's read-only and we simply live with that π§helpβ prints usage information forcommandπ
π«Ά AUTHORS π«Ά
The mlxcontrol utility was written by Michael Smith <msmith@FreeBSD.org>. Give him his flowers ππ
π BUGS π
- The
configcommand does not yet support modifying system drive configuration. It's on the list, bestie. On the list. π - Error log extraction is not yet supported. Not yet! Future us will handle it πΈ
okay and the cute little sign-off at the very bottom: this page is from Debian, dated April 10, 2000 β so yes, it's vintage, it's retro, it's got main character energy from another era ππ and you now know literally everything it says. periodt. β¨
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- Copyright (c) 2000 Michael Smith
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms