作者LaughPoint (腳步)
看板Linux
標題[問題] Debian接FC找不到LUN
時間Thu Nov 15 13:48:44 2018
OS:Debian 9
SAN:NETAPP E2812
HBA卡:QLE2562
OS版本:
root@node06:/# cat /etc/*-release
PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
NAME="Debian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=debian
HOME_URL="
https://www.debian.org/"
SUPPORT_URL="
https://www.debian.org/support"
BUG_REPORT_URL="
https://bugs.debian.org/"
--------------------------------------------
查看看HBA卡
root@node06:/# lspci|grep -i Fibre
05:00.0 Fibre Channel: QLogic Corp. ISP2532-based 8Gb Fibre Channel to PCI
Express HBA (rev 02)
05:00.1 Fibre Channel: QLogic Corp. ISP2532-based 8Gb Fibre Channel to PCI
Express HBA (rev 02)
---------------------------------------------
看FC狀態 HOST2是UP狀態的
root@node06:/# cat /sys/class/fc_host/host1/port_state
Linkdown
root@node06:/# cat /sys/class/fc_host/host2/port_state
Online
---------------------------------------------
看HAB的WWN
root@node06:/# cat /sys/class/fc_host/host1/port_name
0x21000024ff34df24
root@node06:/# cat /sys/class/fc_host/host2/port_name
0x21000024ff34df25
---------------------------------------------
BUT 看不到SAN的LUN,sda是伺服器local掛載的raid
我怎找到SAN的LUN把它掛載到Device上?
打電話問廠商說照理應該就自己掛上去了
他們也沒處理過linux的平台,暈
root@node06:/#fdisk -l
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 2E4B69BF-B567-4FA6-A2FF-B5A2E68B9D98
Device Start End Sectors Size Type
/dev/sda1 2048 4095 2048 1M BIOS boot
/dev/sda2 4096 528383 524288 256M EFI System
/dev/sda3 528384 23437770718 23437242335 10.9T Linux LVM
Disk /dev/mapper/pve-swap: 8 GiB, 8589934592 bytes, 16777216 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/pve-root: 96 GiB, 103079215104 bytes, 201326592 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 210.63.214.193
※ 文章網址: https://www.ptt.cc/bbs/Linux/M.1542260930.A.E1B.html
推 hizuki: hba卡都有一個cli工具太多,配一下就好了 11/15 17:03
→ mirc: 檢查netapp volume設定,以及san switch zone的設定。 11/15 17:52
→ jamselee: 重開機就認到了 11/18 18:12