Tutti Nuovi

user:thomas utente che ha creato il gist

title:mygist titolo del gist

filename:myfile.txt nome di file nel gist

extension:yml estensione del file nel gist

language:go linguaggio del file nel gist

topic:homelab gists with given topic

Entra


Tutti Nuovi Entra

All gists matching topic systemd

Più recente creazione
Meno recente creazione
Più recente aggiornamento
Meno recente aggiornamento

timmy / 🔥 iSCSI 健康檢查一把抓!NAS 連線懶人包

0 mi piace
0 forks
1 files
Ultima volta attivo 8 months ago
快速檢查 Synology 連線、iscsid 狀態、iSCSI 登入與 LVM,這支 script 超實用!
bash-script iscsi linux lvm synology systemd
1 #!/bin/bash
2 # 檔名:check_iscsi_status.sh
3
4 TARGET_IP="192.168.42.20"
5
6 echo "🔍 檢查是否能 ping 到 Synology..."
7 ping -c 2 $TARGET_IP || {
8 echo "❌ 無法連線到 $TARGET_IP"
9 exit 1
10 }
Più nuovi Più vecchi

Creato da Opengist ⋅ Load: 16ms⋅

Italiano
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文