Find Linux WWID’s and Fiber Channel Storage
来源:互联网 发布:淘宝手机号绑定怎么改 编辑:程序博客网 时间:2024/06/05 14:20
Enterprise Linux the very term usually refers to some type of storage area network normally fiber channel. In all my experience I have not yet met a storage administrator who went to formal storage training. So it’s no doubt that there are some weaknesses when it comes to storage with linux. Here are some of the storage basics. This article assumes you already have a working knowledge of WWID’s, WWN’s and fiber channel storage.
There are multiple WWID’s involved in the process here are a few:
As you can see we need a lot of WWID’s to make fiber channel storage work. This article will focus on getting the Storage LUN WWID from the server. This will allow us to identify our mount points to storage LUN’s.
First thing to identify is the SCSI WWID this is used by Linux Native Multipathing (MPIO) this is found by using the following command (for device sda):
scsi_id -g -u -s /block/sda
38001438005dea3760000700002660000
This will return the SCSI device WWID not to be confused with any other WWID’s. If you want to know more information about the device you can get a manufactures label by using:
scsi_id -g -u /dev/sda
A lot of this information is stored in /dev/disk in various directories:
The information we want is inside /dev/disk/by-path which looks like this:
lrwxrwxrwx 1 root root 10 Jan 22 13:48 scsi-38001438005dea3760000700002660000 -> ../../sdfj
So in this case the SCSI WWID is 38001438005dea3760000700002660000 while the LUN WWID is :
8001-4380-05de-a376-0000-7000-0266-0000
That’s about it. Now just tie that to your storage system.
- Find Linux WWID’s and Fiber Channel Storage
- linux's coredump storage
- Get audio channel's average and peak RMS power
- read a image and show it's channel
- linux locate and find
- Thread Local Storage Platform Issues and Dbstl's Solutions
- linux document and directory find
- ls, find and grep's parameters and xargs
- Find unique identifier of the SCSI device - 查找scsi设备的wwid
- DB29 for Linux,UNIX,and WINDOWS - section 11(DB2 storage)
- Linux系统下安装FASTDFS STORAGE AND TRACKER
- Golang goroutine and channel
- createrepo and smart channel
- s thre anything default "Find and Replace" Dialog box
- Storage Structure and Relationships
- VMotion and Storage VMotion
- c++ linkage and storage
- Linux命令温故而知新:find and grep
- Sphinx多线程分布式搜索
- StreamReader和StreamWriter类的基本操作
- iOS开发—02音频处理(音乐播放器2)
- VC设置鼠标光标方法
- Cvmat 的知识
- Find Linux WWID’s and Fiber Channel Storage
- WCF广州本田整车销售系统技术解析(五) 换车功能解析1
- iOS开发—03音频处理(音乐播放器3)
- 在linux下配置nginx+java+php的环境
- sed命令详解
- UNP学习记录---三次握手和四次挥手
- 高负载PHP-FPM调优
- 理解“属性”
- Android 优化电池使用时间——根据需要操作广播接收器