잡다한 명령어 모음

2026. 1. 15. 15:40·OS/Install & Modify

OS

WWN 보기

lspci | grep -i Fibre

root@pve:/sys/class/scsi_host# lspci | grep -i Fibre
11:00.0 Fibre Channel: QLogic Corp. ISP2722-based 16/32Gb Fibre Channel to PCIe Adapter (rev 01)
11:00.1 Fibre Channel: QLogic Corp. ISP2722-based 16/32Gb Fibre Channel to PCIe Adapter (rev 01)
61:00.0 Fibre Channel: QLogic Corp. ISP2722-based 16/32Gb Fibre Channel to PCIe Adapter (rev 01)
61:00.1 Fibre Channel: QLogic Corp. ISP2722-based 16/32Gb Fibre Channel to PCIe Adapter (rev 01)

 

cd /sys/class/scsi_host

ls -l

root@pve:~# cd /sys/class/scsi_host
root@pve:/sys/class/scsi_host# ls -l
total 0
lrwxrwxrwx 1 root root 0 Mar 13 11:22 host0 -> ../../devices/pci0000:00/0000:00:11.5/ata1/host0/scsi_host/host0
lrwxrwxrwx 1 root root 0 Mar 13 11:22 host1 -> ../../devices/pci0000:00/0000:00:11.5/ata2/host1/scsi_host/host1
lrwxrwxrwx 1 root root 0 Mar 13 11:22 host10 -> ../../devices/pci0000:60/0000:60:00.0/0000:61:00.1/host10/scsi_host/host10
lrwxrwxrwx 1 root root 0 Mar 13 11:22 host2 -> ../../devices/pci0000:00/0000:00:11.5/ata3/host2/scsi_host/host2
lrwxrwxrwx 1 root root 0 Mar 13 11:22 host3 -> ../../devices/pci0000:00/0000:00:11.5/ata4/host3/scsi_host/host3
lrwxrwxrwx 1 root root 0 Mar 13 11:22 host4 -> ../../devices/pci0000:00/0000:00:11.5/ata5/host4/scsi_host/host4
lrwxrwxrwx 1 root root 0 Mar 13 11:22 host5 -> ../../devices/pci0000:00/0000:00:11.5/ata6/host5/scsi_host/host5
lrwxrwxrwx 1 root root 0 Mar 13 11:22 host6 -> ../../devices/pci0000:b0/0000:b0:00.0/0000:b1:00.0/host6/scsi_host/host6
lrwxrwxrwx 1 root root 0 Mar 13 11:22 host7 -> ../../devices/pci0000:10/0000:10:00.0/0000:11:00.0/host7/scsi_host/host7
lrwxrwxrwx 1 root root 0 Mar 13 11:22 host8 -> ../../devices/pci0000:10/0000:10:00.0/0000:11:00.1/host8/scsi_host/host8
lrwxrwxrwx 1 root root 0 Mar 13 11:22 host9 -> ../../devices/pci0000:60/0000:60:00.0/0000:61:00.0/host9/scsi_host/host9

 

cat host7/device/fc_host/host7/port_name

root@pve:/sys/class/scsi_host# cat host7/device/fc_host/host7/port_name
0x51402e0000000000

 

MariaDB

grant

권한주기

GRANT ALL PRIVILEGES ON DB명.* TO 계정ID@localhost;
저작자표시 비영리 변경금지 (새창열림)

'OS > Install & Modify' 카테고리의 다른 글

[Windows 11] 선택적 기능 WMIC, .NET Framework 3.5 수동 설치하기  (0) 2026.03.10
[Rocky Linux] nmcli 명령어  (0) 2026.02.10
[Rocky Linux] opendkim 설치하기  (0) 2025.12.15
[Linux] MariaDB 10.6 수동 설치  (2) 2025.09.15
[WS 2025] 선택적 기능(WMIC, .NET Framework 3.5) 및 언어 팩 수동 설치하는 방법  (0) 2025.06.11
'OS/Install & Modify' 카테고리의 다른 글
  • [Windows 11] 선택적 기능 WMIC, .NET Framework 3.5 수동 설치하기
  • [Rocky Linux] nmcli 명령어
  • [Rocky Linux] opendkim 설치하기
  • [Linux] MariaDB 10.6 수동 설치
PeamS
PeamS
본 블로그의 글들은 제 주관적인 생각이 반영되어 있으니, 항상 절대적인 정답이 아닐 수 있음을 유의해 주세요. 모든 글은 수시로 바뀝니다. 미완성에 주의하세요. 위키 처럼 사용중
  • PeamS
    각박딱딱
    PeamS
  • 전체
    오늘
    어제
    • 분류 전체보기 (32) N
      • SERVER (11)
        • HPE (10)
        • DELL (1)
      • OS (12) N
        • Install & Modify (7) N
        • Troubleshooting (4)
        • Command (1)
      • Network (3)
        • OmniSwitch (3)
      • 백업 (4)
        • Veeam (2)
      • 가상화 (2)
        • proxmox (2)
      • ETC (0)
        • 기록 (0)
  • 블로그 메뉴

    • 홈
    • 태그
    • 미디어로그
    • 위치로그
    • 방명록
  • 링크

  • 공지사항

    • 위키처럼 쓰는 블로그
  • 인기 글

  • 태그

    언어팩 수동설치
    .NET Framework 3.5 수동설치
    선택적기능 수동설치
    mariadb
    wmic 수동설치
    수동설치
    Veeam Backup Replication
    proxmox
    opendkim
    Linux
    MariaDB 10.6
    source install
    opendkim 설치
    v13
    윈도우 서버 설치 시 드라이브 안 보임
    root 접속하기
  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.5
PeamS
잡다한 명령어 모음
상단으로

티스토리툴바