refalimo.blogg.se

Get the wwn of multipatch luns linux
Get the wwn of multipatch luns linux















Collect LUN id and path details go to SAN console and match with LUN id. Highlighted output is showing that scsi channel id is 8 and LUN id is 1, Like wise we can identify the associated disk name /dev/sde and its LUN id. Lrwxrwxrwx 1 root root 0 Nov 16 03:00 /sys/block/sde/device ->. Lrwxrwxrwx 1 root root 0 Nov 13 23:29 /sys/block/sdd/device ->. Type: Direct-Access ANSI SCSI revision: 05īy reading above output of the command we can identify that scsi8 channel is NetApp SAN disk and it’s LUN id is 01. Vendor: NETAPP Model: LUN C-Mode Rev: 8300 Type: Direct-Access ANSI SCSI revision: 04 Use below command to see all attached disks are SAN disks are local disks Identify SAN LUN underlying OS Disk ~]# cat /proc/scsi/scsi

#Get the wwn of multipatch luns linux how to

Units = cylinders of 16065 * 512 = 8225280 bytesĭisk /dev/sde doesn't contain a valid partition table how to find SAN Disk LUN id in Linux Identify SAN LUN underlying OS Disk ls /sys/class/scsi_host/ | while read host do echo "-" > /sys/class/scsi_host/$host/scan doneĪfter that you can use fdisk -l command display the attached disks Identify SAN LUN underlying OS Disk ~]#sudo /sbin/fdisk -lĭisk /dev/sde: 236.2 GB, 236223201280 bytesĢ55 heads, 63 sectors/track, 28719 cylinders

get the wwn of multipatch luns linux

Use below command to scan for new SAN LUN’s, Required Super User privileges to run command. Let’s see how to find SAN Disk LUN id in Linux.Īfter attaching the storage LUN’s to Linux you have to scan to display as attached disks. Identify SAN LUN underlying OS disk is not straight forward we have to match few outputs together to identify them. Most of the times when your dealing with SAN attached disks, some times you would like to increase / decrease LUN space by decreasing / Increasing LUN size you should definitely know which LUN is assigned to which OS Underlying disk.















Get the wwn of multipatch luns linux