Tag Archives: LUN

Count lines separated by new line

By prashant2507198

Hi guys,

I have a file which has random records like mentioned below

Code:

emcpower28a
pci@3,03 (disk physical name)
pci@3,04

emcpower9a
pci@1,03
pci@2,03
pci@3,01
pci@4,03


there could be any number of disk names for any LUN (emc…) So, I want a solution to count disk names for its respective LUN which means

emcpower28a – 2
emcpower9a – 4

Can somebody help me in this? I am not able to think of any idea to achieve this.

…read more

Source: FULL ARTICLE at The UNIX and Linux Forums

Scsi bus scan

By Duffs22

Hi,

I have presented a LUN to a VM (RHEL 5.8) and need to scan the scsi bus in order for the OS to pick it up.

On FC attached hosts I can:


echo "1" > /sys/class/fc_host/host0/issue_lip
echo "- - -" > /sys/class/scsi_host/host0/scan


….but this does not work on my vm.

Anyone know how to get the OS pick up the new disk space without having to reboot the box?

R,
D.

…read more
Source: FULL ARTICLE at The UNIX and Linux Forums

OVM Server for SPARC … Need Your Help Guys !

By Mack1982

>* I have two SPARC T4-2 servers:
Oracle Solaris 11.1 Installed.
– Oracle VM Server for SPARC 3.0 software Installed.
– Shared LUN provisioned to both servers from Clariion CX4 storage box (shared LUN to be used for the Live Migration of the VMs).
– Oracle VM Agent 3.2.1 for SPARC installed.

* Oracle Linux and Oracle VM Manager 3.2.1 installed on Oracle X6220 server.
– the T4-2 SPARC servers has been discovered and added to a pool using the OVM Manager.

How can i configure the shared LUN that was provisioned from the CX4 storage box to the OVM servers to be as the VMs repo./location and use the Live Migration Feature?
I tried to scan/discover the local disks attached to OVM servers from the Manager GUI but it didn’t drop any thing !

Please advice about the proper configuration apart from using NFS …… if it is not possible to use the SAN …. how we can configure the NFS so !

Source: FULL ARTICLE at The UNIX and Linux Forums