9.26.2024

HP Smart Array P410i controller - change mode from RAID to HBA mode

This is the easiest way I found to do this on i2 (and maybe i4/i6) bl860c i2 blades:

launch the efi shell
drivers
# in first column, find the driver that corresponds to Smart Array SAS Driver
# in my case it was A3
devices
# in first column, find the device, Smart Array P420i Controller
# in my case it was A1
drvcfg -s a3 a1

sometimes you get a "drvcfg: Driver image handle [A3] does not support Driver Configuration Protocol"
that is most likely the version of the EFI driver, v3.54 supports this, but at least v3.50 does not


3.08.2023

ftp issue HPUX to windows

if you are transferring file from HPUX to windows and you get this error:
ftp R:ICMP port unreachable

the transfer says complete, but the file does not show up in windows.

it's likely the file you're transferring contains a colon (common with ignite archive image) or other character(s) that are permissible in Unix, but not windows


2.06.2023

MobaXterm home directory in Windows

C:\Users\%username%\AppData\Roaming\MobaXterm\home

Or

 %userprofile%\AppData\Roaming\MobaXterm\home

4.29.2022

no inq or syminq - using scsimgr to get lun details

for i in 0 1 2

do

echo ; echo disk10$i

scsimgr get_info -D /dev/rdisk/disk10$i | grep -e WWID -e "Serial number" -e "V

endor id" -e "Product id" -e "Product revision"

done

 #SaveSoil

4.11.2022

easy HPUX expand examples

bdf /ora01 /grid

 

ioscan ; insf

(PRO TIP:  do NOT use insf -e unless you know what you are doing.  you could kill the oracle asm or any device special file ownership or permissions)

ioscan -funNH $(grep vmunix /var/adm/syslog/syslog.log | grep 64000 | tail -1 | awk '{print $6}')

 

pvcreate /dev/disk/disk112

vgextend vg01 /dev/disk/disk112

 

lvdisplay /dev/vg01/lvora01 | grep -i "LV size"

NEWSIZE=$(expr `lvdisplay /dev/vg01/lvora01 | grep -i "LV size" | awk '{print $4}'` + 20480)

lvextend -L ${NEWSIZE} /dev/vg01/lvora01

fsadm -F vxfs -b ${NEWSIZE}m /ora01

 

lvdisplay /dev/vg01/lvgrid | grep -i "LV size"

NEWSIZE=$(expr `lvdisplay /dev/vg01/lvgrid | grep -i "LV size" | awk '{print $4}'` + 20480)

lvextend -L ${NEWSIZE} /dev/vg01/lvgrid

fsadm -F vxfs -b ${NEWSIZE}m /grid

 

bdf /ora01 /grid

 

 

#SaveSoil – it's a generational responsibility, Let's make it happen

4.05.2022

get EMC Lun ID serial number without EMC tools

Get EMC Lun ID without inq or syminq or symcli sympd commands:

 

scsimgr get_attr -D /dev/rdisk/disk112 -a serial_number

 

yep, that easy


#SaveSoil


3.31.2022

can't connect to ILO

Their offerdiffie-hellman-group1-sha1 root@shoesdekho

Solution:

ssh -o KexAlgorithms=diffie-hellman-group1-sha1 test@123.123.123.123


yea


#SaveSoil

Thanks for reaching out.  I'm not in the job market currently.


However I'm requesting your attention to the most urgent responsibility we have:  #SaveSoil

Please visit:  savesoil.com   http://savesoil.com


  The magic of Soil is

     it turns death into life


 Depleted Soils will not quench the fire of hunger

   unquenched hunger can burn the very world


this is a generational responsibility


Save Soil


Let's make it happen