vblade(8)

πŸ“¦
version 25 Β· 2 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– vblade β€” the manual page, but make it make sense πŸ’–

okay bestie, so this is the page for vblade (and its little sibling vbladed), from the System Manager's Manual. It's giving "storage but make it ethernet" and honestly? iconic. Let's get into it. πŸ¦‹


✨ NAME ✨

vblade, vbladed β€” export data via ATA over Ethernet πŸ’…


✨ SYNOPSIS ✨

vblade [ -m mac[,mac...] ] shelf slot netif filename

🌸 DESCRIPTION 🌸

The vblade command starts a process that uses raw sockets to do ATA over Ethernet, acting like a virtual EtherDrive (R) blade. Yes, literally β€” it plays pretend and the network believes it. πŸ‘‘

The vbladed script can be used to daemonize the vblade process, detaching it from your terminal and sending its output to the system logs. So it ghosts your terminal but tells the logs everything. no cap. 🌈

πŸŽ€ Arguments πŸŽ€

  • shelf β€” This should be the shelf address (major AoE address) of the AoE device to create. It's the main-character identity number fr fr.
  • slot β€” This should be the slot address (minor AoE address) of the AoE device to create. The sidekick number, and equally required. 🫢
  • netif β€” The name of the ethernet network interface to use for AoE communications. That's the little pipe it yells through.
  • filename β€” The name of the regular file or block device to export. Whatever you point at is what the whole LAN gets to meet. πŸ™ˆ

πŸ’œ Options πŸ’œ

  • -b β€” The -b flag takes an argument, the advertised buffer count, specifying the maximum number of outstanding messages the server can queue for processing. Basically: how many texts can pile up in the inbox before it's a problem. πŸ“₯
  • -d β€” The -d flag selects O_DIRECT mode for accessing the underlying block device. Straight to the point, no caching middleman.
  • -s β€” The -s flag selects O_SYNC mode for accessing the underlying block device, so all writes are committed to disk before returning to the client. Slow? maybe. Safe? yes. periodt. πŸ’Ύ
  • -r β€” The -r flag restricts the export of the device to be read-only. Look but don't touch, bestie. βœ‹
  • -m β€” The -m flag takes an argument, a comma separated list of MAC addresses permitted access to the vblade. A MAC address can be specified in upper or lower case, with or without colons. It's the guest list, and if you're not on it, you're not coming in. 🚫
  • -o β€” The -o flag takes an argument, the number of sectors at the beginning of the exported file that are excluded from AoE export (default zero). Like skipping the intro of a song. 🎡
  • -l β€” The -l flag takes an argument, the number of sectors to export. Defaults to the file size in sectors minus the offset.
  • -m, mac[,mac...] β€” see above, the comma separated MAC list.

🌟 EXAMPLE 🌟

In this example, the root user on a host named nai exports a file named "3TB" to the LAN on eth0 using AoE shelf address 11 and slot address 1. The process runs in the foreground. Using vbladed would have resulted in the process running as a daemon in the background.

nai:~# vblade 11 1 eth0 /data/3TB

⚠️ NOTES AND WARNINGS ⚠️

Jumbo frames girlies: read the README file distributed with vblade to learn about a workaround for kernel buffering limitations. This is not a drill, it's a real limitation, go read the README. 😭
At least one AoE initiator (WinAoE) has been found to enforce legacy CHS geometry for drives by discarding sectors. You should ensure that the underlying regular file or block device size is a multiple of 8225280 bytes (255 heads, 63 sectors/track, 512 bytes/sector) if you encounter filesystem corruption. That number is not a vibe, it's a warning: 8225280. Write it down. πŸ”₯

πŸ› REPORTING BUGS πŸ›

Please report bugs to the aoetools-discuss mailing list. Tell them everything, they're nice. πŸ’–


πŸ‘‘ AUTHOR πŸ‘‘

Brantley Coile (brantley@coraid.com)


and that's the whole page, bestie β€” this was vblade(8) from the System Manager's Manual, closing out with vblade(8) again because it loves a symmetry moment. stay slaying, stay synced, and go export responsibly. πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from