Hi
Please I dont have a lot of redhat skills, but I need some help on creating a file system.
I need to rescan for this new LUN, so I try to check existing LUNs:
fdisk -l
Disk /dev/sda: 299.4 GB, 299439751168 bytes
255 heads, 63 sectors/track, 36404 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000080
Device Boot Start End Blocks Id System
/dev/sda1 * 1 64 512000 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 64 36405 291908608 8e Linux LVM
Disk /dev/sdb: 598.9 GB, 598879502336 bytes
255 heads, 63 sectors/track, 72809 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000ddc20
Device Boot Start End Blocks Id System
/dev/sdb1 1 72809 584838261 83 Linux
Disk /dev/mapper/vg_outsystemdb-lv_root: 53.7 GB, 53687091200 bytes
255 heads, 63 sectors/track, 6527 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/mapper/vg_outsystemdb-lv_swap: 29.6 GB, 29611786240 bytes
255 heads, 63 sectors/track, 3600 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/mapper/vg_outsystemdb-lv_home: 215.6 GB, 215612391424 bytes
255 heads, 63 sectors/track, 26213 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Then I try to check for controllers:
ls -lrt /sys/class/fc_host
total 0
lrwxrwxrwx. 1 root root 0 Nov 20 15:26 host2 -> ../../devices/pci0000:00/0000:00:07.0/0000:06:00.1/host2/fc_host/host2
lrwxrwxrwx. 1 root root 0 Nov 20 15:26 host1 -> ../../devices/pci0000:00/0000:00:07.0/0000:06:00.0/host1/fc_host/host1
Then I try to scan for new disks:
echo "1" > /sys/class/fc_host/host2/issue_lip
But now I dont seem to see anything usefull in /var/log/messages:
tail /var/log/messages
Nov 24 03:10:02 OutsystemDB rhsmd: In order for Subscription Manager to provide your system with updates, your system must be registered with the Customer Portal. Please enter your Red Hat login to ensure your system is up-to-date.
Nov 25 03:35:02 OutsystemDB rhsmd: In order for Subscription Manager to provide your system with updates, your system must be registered with the Customer Portal. Please enter your Red Hat login to ensure your system is up-to-date.
Nov 26 03:21:01 OutsystemDB rhsmd: In order for Subscription Manager to provide your system with updates, your system must be registered with the Customer Portal. Please enter your Red Hat login to ensure your system is up-to-date.
Nov 26 10:03:55 OutsystemDB kernel: qla2xxx [0000:06:00.1]-1020:2: **** Failed mbx[0]=4005, mb[1]=8, mb[2]=0, mb[3]=0, cmd=72 ****.
Nov 26 10:24:12 OutsystemDB kernel: qla2xxx [0000:06:00.1]-1020:2: **** Failed mbx[0]=4005, mb[1]=8, mb[2]=0, mb[3]=0, cmd=72 ****.
Nov 26 10:24:55 OutsystemDB kernel: qla2xxx [0000:06:00.0]-505f:1: Link is operational (8 Gbps).
Nov 26 10:24:55 OutsystemDB kernel: qla2xxx [0000:06:00.0]-2064:1: SNS scan failed -- assuming zero-entry result.
Nov 26 10:25:16 OutsystemDB kernel: qla2xxx [0000:06:00.1]-1020:2: **** Failed mbx[0]=4005, mb[1]=8, mb[2]=0, mb[3]=0, cmd=72 ****.
Nov 26 10:25:38 OutsystemDB kernel: qla2xxx [0000:06:00.0]-505f:1: Link is operational (8 Gbps).
Nov 26 10:25:39 OutsystemDB kernel: qla2xxx [0000:06:00.0]-2064:1: SNS scan failed -- assuming zero-entry result.
Please help me to scan for this new LUNs