mastodon.world is one of the many independent Mastodon servers you can use to participate in the fediverse.
Generic Mastodon server for anyone to use.

Server stats:

8.9K
active users

#iscsi

1 post1 participant0 posts today

On today's episode of knit-picking #SystemD;

Obviously, we'd need all the #ZFS storage to be fully set-up, running, and /dev/zvol/ populated, 1st. Only then, can we start our #iSCSI target service.

How do YOU do it? (please reply, *splaining)

The first two options might get evaluated to the same result by the systemd "magic" - either option should make sure the storage is ready for services, right?

Hmm, unser selbstgebautes #ISCSI beherbergt unsere gesamte Test Umgebung, sprich Platten für die VMs unter #proxmox. Das muss dringend ersetzt werden, weil ich jedesmal die Luft anhalten muss, ob es nach Problem X (Strom / HW / Reboot) wieder hochkommt. Nach dem das Prod Ceph ausgetauscht wurde, konnte ich mein Test #Ceph endlich fertigstellen, aber die Ceph #Performance ist wirklich mies. Rados bench liegt im 3 stelligen Bereich für MB/s .

Nächstes Wochenende spreche ich bei den Chemnitzer Linux-Tagen #clt2025 über das Backup-Programm #rsnapshot. Titel: Alles backupen mit Rsnapshot

💬 Welche Fragen habt ihr? Welche Aspekte interessieren euch besonders? Gerne kann ich noch einzelne Punkte in den Talk einbauen.

chemnitzer.linux-tage.de/2025/

Tipp: @clt_news hat für Samstag einen Track mit 3 Vorträgen zum Thema #Backup in Saal V1 geplant. Tim Oberschulte zeigt eine Lösung mit #iSCSI und @Kaffee_Junkie42 & @ascherbaum stellen @restic vor.

chemnitzer.linux-tage.deChemnitzer Linux-Tage 2025 · Vortrag: Alles backupen mit RsnapshotDie Chemnitzer Linux-Tage sind eine Veranstaltung rund um das Thema Linux und Open Source für jedermann, die Linux-Nutzer, Insider und Unternehmen zusammenbringt.
Replied in thread

@dalias @eniko Personally, I'll sooner or later have to engange the whole #ARMv5 / #ARM11r7 / #RaspberryPi architecture anyway with OS/1337.

  • Tho given it's a minimalist Linux merely booting an initramfs and never doing any writes, there should be no indurance issues.

But I know a #readonly - OS isn't practical and where it is people already use #iPXE & #iSCSI for #diskless setups!

  • THO AFAICT there should be an option to basically partition the system and only keep /boot on an SD card, and the rest could be on any USB mass storage device (i.e. SSD or even HDD)...

That being said Raspberry Pi do have the key advantage of being by far the best in terms of #documentation.

Replied in thread

@http @Rob298 precisely that!

  • Also most corp/org/edu networks only backup the $HOME directory and sometimes even allow syncing them across distros & keep them across version updates, so all the settings, addons and stuff remaib where they are: in said /home/ subfolders!

  • In fact most places with a sizeable #Linux-#Desktop landscape will just keep the /home/ directory on a redundant, #iSCSI-SAN and #netboot their #DisklessWorkstation|s via #iPXE, as this way burglars stealing devices most likely end up with a locked-down machine (anything but booting the preset network targets won't work without admin password!) that is a paperweight to them and espechally no data, which is crucial when it comes to #ITsec, #InfoSec, #OpSec & #ComSec.

Cuz it's way easier to secure 1-5 server rooms than thousands of publicly accessible machines on multiple campuses.

  • It's also a real godsent for technicians as they can just login / boot into a diagnostics system and quickly see what's wrong if a system has issues (if they don't already see it in their dashboard that collects logs, telling them they need to replace the CPU fan or clean a machine as it's overheating)...

Bon, ça me rend fou.

Sur
#proxmox lorsque j'ai une coupure du réseau (pour X ou Y raison), mes montages #iscsi passent en lecture seule.
OK, je veux bien, j'essaie de le remonter en lecture / ecriture donc

Je peux pas les umount / mount.

root@proxmox:/mnt/pve# umount /mnt/pve/ISCSI-5400 
umount: /mnt/pve/ISCSI-5400: target is busy.
root@proxmox:/mnt/pve# mount -o remount,rw /mnt/pve/ISCSI-5400
mount: /mnt/pve/ISCSI-5400: cannot remount /dev/sdh1 read-write, is write-protected.
       dmesg(1) may have more information after failed mount system call.


MAIS COMMENT JE FAIS POUR LE REMONTER FFS SANS AVOIR A REBOOT ?

My new #NixOS #NAS:
- An Intel server motherboard I bought in January of 2012
- A Celeron G530 I bought then too
- 16GB of RAM for $16 off Amazon
- 2 x 128GB SSD drive for the OS
- 2 x 2TB 3D NAND QLC drive for storage
- 2 x dual 2.5” SSDs in a 3.5” bay bracket
- a PCIe card with SATA 3 ports
- the small case & power supply I bought in 2012
- some cables
All that adds up to a mirrored #ZFS root pool and a mirrored ZFS pool for storage that I’ll export over #iSCSI to #Proxmox for my #HomeLab

Ran into some #freebsd problems and #iscsi
I can’t seem to find a tool that will tell me the LUN usage from the server, only the LUN size using ctladm
Might have to dust off my C coding skills and write something that interfaces with a not yet known library.

Replied in thread

@uastronomer it's something I.did implement in the past (abeit #KVM + #Proxmox, but the steps are similar enough):

You can seperate #Storage and #Compute given you have a Storage-LAN that is fast enough (and does at least 9k if not 64k Jumbo Frames) and have the "Compute Nodes" entirely #diskless (booting via #iPXE from the #SAN) and then mount the storage via #iSCSI or #Ceph.

  • Basically it allows you to scale Compute and Storage independently from each other as they are transparent layers and not be confined to limits of a single chassis & it's I/O options...

Did a bigger project (easily 8-digits in hardware, as per MSRP) where a Employer/Client did #CloudExit amidst escalating costs and #ROI being within quarters (if not months at the predicted growth rate)...

Another weird idea, i'd like to try:

adding a 3rd member to my #zfs mirror, but it's #iSCSI over fast ethernet over #powerline 😅 - put it in the cellar, 3 storeys down, see what happens.

I've got everything i'd need for a test setup - that little Wyse 3040 thin client has 1 USB3 port…
*record scratch, rewind*

I think #virtio NICs can be manually throttled to a fraction of "fast ethernet".

Hmm, virtualised, the test would exclude the weird old powerline bridges, though.

Back to Plan A, then!

Replied in thread

@SweetAIBelle @OS1337
So instead of relying on some non-#reproduceable system images for cheap SBCs, why not make something like #OS1337 that is compact enough that one can easily build everything one wants for it to get at least started with something.

  • After all, rarely does a project call for a fancy, hardware-accelerated GUI desktop with a Cube-Style animated Virtual Desktop switcher.

Sometimes one just needs to bood a system, check it's hardware and #ddrescue something off the internal harddrive because one doesn't have any other system that can run it...

GitHubGitHub - OS-1337/netboot: Network / Internet Boot Configurations needed to boot OS/1337 via Network and/or Internet using iPXENetwork / Internet Boot Configurations needed to boot OS/1337 via Network and/or Internet using iPXE - OS-1337/netboot