Operating System - HP-UX
1752588 Members
3858 Online
108788 Solutions
New Discussion юеВ

Re: Problem iSCSI mountpoint on remote storage system - HPUX 11iv2

 
NAGA_4
Occasional Advisor

Problem iSCSI mountpoint on remote storage system - HPUX 11iv2

During system startup, my file system or LVM Logical Volumes that are defined on iSCSI Physical Volumes, will generate error messages

Is there a workaround ? (Patchs ?)

NB: I've only found for HPUX 11.11

Thanks.

Copy result rc.log file:
------------------

Mount file systems
Output from "/sbin/rc1.d/S100localmount start":
----------------------------
mountall: cannot mount /dev/vg_app/lvol1
mountall: diagnostics from mount
vxfs mount: Cannot open /dev/vg_app/lvol1: Network is unreachable
The device is inaccessible as the network has not yet been initialized
11 REPLIES 11
rariasn
Honored Contributor

Re: Problem iSCSI mountpoint on remote storage system - HPUX 11iv2

Hi,

Verify vg_app

- vgdisplay vg_app

Verify /etc/fstab entrys for vg_app file

- grep vg_app /etc/fstab

rgs,

NAGA_4
Occasional Advisor

Re: Problem iSCSI mountpoint on remote storage system - HPUX 11iv2

Hi,

My Configuration is :

myserveur[root]# vgdisplay vg_app
--- Volume groups ---
VG Name /dev/vg_app
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 1
Open LV 1
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 12799
VGDA 2
PE Size (Mbytes) 4
Total PE 12797
Alloc PE 12797
Free PE 0
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0


myserveur[root]# grep /dev/vg_app /etc/fstab
/dev/vg_app/lvol1 /vg_app vxfs delaylog,largefiles 0 2

Thanks for your help.
rariasn
Honored Contributor

Re: Problem iSCSI mountpoint on remote storage system - HPUX 11iv2

Hi,

# vgdisplay -v vg_app
# lvdisplay /dev/vg_app/lvol1
# ll /dev/vg_app
# strings /etc/lvmtab

rgs,
TTr
Honored Contributor

Re: Problem iSCSI mountpoint on remote storage system - HPUX 11iv2

What do you do after the server boots up? Do you have to activate the volumegroups and mount the volumes manually? And do they work fine thereafter?

It seems to me that this is expected behavior. When S100localmount runs, the network has not been initialized yet so the iSCSI volumes are not available yet, hence the error.

You probably get more errors at the console when bcheckrc runs and activates all volume groups using /sbin/lvmrc and /etc/lvmrc

I think the workaround would be to customize the volume group activation in /sbin/lvmrc, /etc/lvmrc and leave out the iSCSI based entries from /etc/fstab. Then a script should be setup to run later after the network is initialized and any iSCSI drivers are loaded. This script would activate the volume groups and mount the volumes for all iSCSI based devices.

Are you sure the iSCSI package does not provide any of this mechanism?
rariasn
Honored Contributor

Re: Problem iSCSI mountpoint on remote storage system - HPUX 11iv2

Hi,

Read HP-UX iSCSI Software Initiator
Release Notes

http://docs.hp.com/en/5990-8516/5990-8516.pdf

rgs,

TTr
Honored Contributor

Re: Problem iSCSI mountpoint on remote storage system - HPUX 11iv2

The iSCSI support guide has good notes on troubleshooting in chapter6. It also mentions exactly what I indicated above on page 72.
http://docs.hp.com/en/T1452-90011/T1452-90011.pdf
NAGA_4
Occasional Advisor

Re: Problem iSCSI mountpoint on remote storage system - HPUX 11iv2

TTrc it's exactely that.
i've created a file script for to mount this mountpoint which to execute my command mount after initialisation iscsi and network config.
You talk about iscsi mechanism inside the package for which I do not know.
and
in the documentation page 72 il est ├Г┬йcrit "The iSCSI Software Intitiator startup script has been modified to perform iSCSI target access operations a
second time after networking has been initialized." you know where is this second operation it does not work on my server..

Thanks TTr and rariasn
rariasn
Honored Contributor

Re: Problem iSCSI mountpoint on remote storage system - HPUX 11iv2

Hi,

Verify the latest LVM cummulative patch

Patch Name: PHCO_35955

Patch Description: s700_800 11.11 LVM commands cumulative patch




SR:8606217852 CR:JAGad87002 )

Without the changes delivered by this patch, unrecognized errors will be returned by iSCSI PVs which will cause these
PVs not to be attached to the Volume Group. Mounting filesystems residing on logical volumes comprising of iSCSI PVs will then result in error messages as the iSCSI PVs will not be accessible at the time filesystems are mounted during the boot-up sequence. This product update contains minor enhancements required to enable iSCSI support in LVM.

rgs,
NAGA_4
Occasional Advisor

Re: Problem iSCSI mountpoint on remote storage system - HPUX 11iv2

Hi rariasn,

Sorry for the delay.

The Patch Name: PHCO_35955 is for hpux 11.11
and my server is hpux 11.23.

Thanks