Debian接FC找不到LUN - Linux
By Hedy
at 2018-11-15T13:48
at 2018-11-15T13:48
Table of Contents
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
--
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
--
Tags:
Linux
All Comments
By Anonymous
at 2018-11-17T23:24
at 2018-11-17T23:24
By Brianna
at 2018-11-22T07:04
at 2018-11-22T07:04
By Rae
at 2018-11-26T05:54
at 2018-11-26T05:54
Related Posts
cluster 的使用率
By Tristan Cohan
at 2018-11-14T19:54
at 2018-11-14T19:54
Samsung 開放 Linux on DeX Beta 註冊
By Hardy
at 2018-11-14T14:34
at 2018-11-14T14:34
linux sever網路驅動問題
By Adele
at 2018-11-14T02:24
at 2018-11-14T02:24
GNU Hello的非官方Snap打包
By Oscar
at 2018-11-13T23:54
at 2018-11-13T23:54
[Linux] ubuntu server 掛了
By Gilbert
at 2018-11-13T19:37
at 2018-11-13T19:37