LVM and VxVM
Showing results for 
Search instead for 
Do you mean 

I/O tree node does not exist

SOLVED
Go to Solution
Occasional Advisor

I/O tree node does not exist

Hi

When doing a vgextend I got this error message...

First doing a successfull pvcreate:
# pvcreate -B /dev/rdsk/c2t0d0
Physical volume "/dev/rdsk/c2t0d0" has been successfully created.

Then problems:
# vgextend /dev/vg00 /dev/dsk/c2t0d0
Volume group "/dev/vg00" has been successfully extended.
Unable to query the I/O interface: I/O tree node does not exist.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf


# ioscan -fnk |grep disk
disk 0 0/0/2/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-N
disk 2 0/1/1/0.1.0 sdisk CLAIMED DEVICE HP 73.4GMAX3073NC

The device (c2t0d0) I am looking for is missing...
disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 73.4GMAX3073NC


Any idea what could be wrong?

Best regards
Hans Ove
11 REPLIES
Honored Contributor Honored Contributor

Re: I/O tree node does not exist

what is it showing for vgdisplay -v vg00

is device driver showing for the new device which you added recently? check with ioscan -fnC disk command.
Occasional Advisor

Re: I/O tree node does not exist

Hi

System: hpux 11.23, rp3410
With MirrorDisk/UX

# vgdisplay -v vg00
+++
--- Physical volumes ---
PV Name /dev/dsk/c2t1d0
PV Status available
Total PE 4374
Free PE 2040
Autoswitch On

PV Name /dev/dsk/c2t0d0
PV Status available
Total PE 4374
Free PE 4374
Autoswitch On

# ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
============================================================================
disk 0 0/0/2/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-N
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 73.4GST373454LC
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
disk 2 0/1/1/0.1.0 sdisk CLAIMED DEVICE HP 73.4GMAX3073NC
/dev/dsk/c2t1d0 /dev/rdsk/c2t1d0


Hans Ove
Honored Contributor Honored Contributor

Re: I/O tree node does not exist

Please post complete vgdisplay -v vg00

like this way:

# vgdisplay -v vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 9
Open LV 9
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 4350
VGDA 4
PE Size (Mbytes) 4
Total PE 8680
Alloc PE 8544
Free PE 136
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
Occasional Advisor

Re: I/O tree node does not exist

# vgdisplay -v vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 9
Open LV 9
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 4384
VGDA 4
PE Size (Mbytes) 16
Total PE 8748
Alloc PE 2334
Free PE 6414
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

--- Logical volumes ---
LV Name /dev/vg00/lvol1
LV Status available/syncd
LV Size (Mbytes) 304
Current LE 19
Allocated PE 19
Used PV 1

LV Name /dev/vg00/lvol2
LV Status available/syncd
LV Size (Mbytes) 4096
Current LE 256
Allocated PE 256
Used PV 1

LV Name /dev/vg00/lvol3
LV Status available/syncd
LV Size (Mbytes) 544
Current LE 34
Allocated PE 34
Used PV 1

LV Name /dev/vg00/lvol4
LV Status available/syncd
LV Size (Mbytes) 208
Current LE 13
Allocated PE 13
Used PV 1

LV Name /dev/vg00/lvol5
LV Status available/syncd
LV Size (Mbytes) 32
Current LE 2
Allocated PE 2
Used PV 1

LV Name /dev/vg00/lvol6
LV Status available/syncd
LV Size (Mbytes) 3728
Current LE 233
Allocated PE 233
Used PV 1

LV Name /dev/vg00/lvol7
LV Status available/syncd
LV Size (Mbytes) 3824
Current LE 239
Allocated PE 239
Used PV 1

LV Name /dev/vg00/lvol8
LV Status available/syncd
LV Size (Mbytes) 4608
Current LE 288
Allocated PE 288
Used PV 1

LV Name /dev/vg00/lvol9
LV Status available/syncd
LV Size (Mbytes) 20000
Current LE 1250
Allocated PE 1250
Used PV 1


--- Physical volumes ---
PV Name /dev/dsk/c2t1d0
PV Status available
Total PE 4374
Free PE 2040
Autoswitch On

PV Name /dev/dsk/c2t0d0
PV Status available
Total PE 4374
Free PE 4374
Autoswitch On
Honored Contributor Honored Contributor

Re: I/O tree node does not exist

Could you post the output of the following:

# ioscan -f /dev/dsk/c2t0d0
# lssf /dev/dsk/c2t0d0
# lvlnboot -v

Are you trying to create vg00 for the first time or are you modifying it ex. replacing a small disk with a big one? Could you specify what you are doing on vg00.

~cheers
Honored Contributor Honored Contributor

Re: I/O tree node does not exist

Do you see any errors in syslog. Please check.

Try to reduce /dev/dsk/c2t0d0 from vg00 and reinitialize it.

vgreduce /dev/vg00 /dev/dsk/c2t0d0
pvcreate -fB /dev/rdsk/c2t0d0
vgextend /dev/vg00 /dev/dsk/c2t0d0
Occasional Advisor

Re: I/O tree node does not exist

Hi

For the first time I'am trying to configure a MirrorDisk/UX setup. Mirroring all logical volumes at vg00. It's all working find for two disks. I have tested to removed one disk at the time and both are booting fine from each of them. Everything ok.

When I want to replace one of the disks with a new one, I start getting these problems...

Hans Ove

# ioscan -f /dev/dsk/c2t0d0
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 73.4GST373454LC

# lssf /dev/dsk/c2t0d0
sdisk card instance 2 SCSI target 0 SCSI LUN 0 section 0 at address 0/1/1/0.0.0 /de
v/dsk/c2t0d0

# lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c2t1d0 (0/1/1/0.1.0) -- Boot Disk
/dev/dsk/c2t0d0 (0/1/1/0.0.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c2t1d0
Root: lvol3 on: /dev/dsk/c2t1d0
Swap: lvol2 on: /dev/dsk/c2t1d0
Dump: lvol2 on: /dev/dsk/c2t1d0, 0


Highlighted
Honored Contributor Honored Contributor

Re: I/O tree node does not exist

It's 11.23 and you are doing pvcreate on /dev/dsk/cxtxdx instead of /dev/dsk/cxtxdxs2. There is completely new procedure for preparing boot disk on 11.23 itanium.
There is no substitute to HARDWORK
Occasional Advisor

Re: I/O tree node does not exist

YES!

vgreduce seems to fix the problem.
Mirroring working fine and I am able to boot from the disk also :-)

Thank you both for helping me!

Best regards
Hans Ove

# vgreduce /dev/vg00 /dev/dsk/c2t0d0
Volume group "/dev/vg00" has been successfully reduced.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf

# pvcreate -fB /dev/rdsk/c2t0d0
Physical volume "/dev/rdsk/c2t0d0" has been successfully created.

# vgextend /dev/vg00 /dev/dsk/c2t0d0
Volume group "/dev/vg00" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf

# mkboot /dev/rdsk/c2t0d0
# mkboot -a "hpux -lq /stand/vmunix" /dev/rdsk/c2t0d0


Made a small script for extending the logical volumes
disk=c2t0d0
echo "Extending logical volumes for disk $disk"
echo
for lvol in lvol1 lvol2 lvol3 lvol4 lvol5 lvol6 lvol7 lvol8 lvol9
do
echo $lvol
lvextend -m 1 /dev/vg00/$lvol /dev/dsk/$disk
echo
done

lvol1
The newly allocated mirrors are now being synchronized. This operation will
take some time. Please wait ....
Logical volume "/dev/vg00/lvol1" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf

lvol2
The newly allocated mirrors are now being synchronized. This operation will
take some time. Please wait ....
Logical volume "/dev/vg00/lvol2" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf

lvol3
The newly allocated mirrors are now being synchronized. This operation will
take some time. Please wait ....
Logical volume "/dev/vg00/lvol3" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf

lvol4
The newly allocated mirrors are now being synchronized. This operation will
take some time. Please wait ....
Logical volume "/dev/vg00/lvol4" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf

lvol5
The newly allocated mirrors are now being synchronized. This operation will
take some time. Please wait ....
Logical volume "/dev/vg00/lvol5" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf

lvol6
The newly allocated mirrors are now being synchronized. This operation will
take some time. Please wait ....
Logical volume "/dev/vg00/lvol6" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf

lvol7
The newly allocated mirrors are now being synchronized. This operation will
take some time. Please wait ....
Logical volume "/dev/vg00/lvol7" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf

lvol8
The newly allocated mirrors are now being synchronized. This operation will
take some time. Please wait ....
Logical volume "/dev/vg00/lvol8" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf

lvol9
The newly allocated mirrors are now being synchronized. This operation will
take some time. Please wait ....
Logical volume "/dev/vg00/lvol9" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf


# vgdisplay -v
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 9
Open LV 9
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 4384
VGDA 4
PE Size (Mbytes) 16
Total PE 8748
Alloc PE 4668
Free PE 4080
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

--- Logical volumes ---
LV Name /dev/vg00/lvol1
LV Status available/syncd
LV Size (Mbytes) 304
Current LE 19
Allocated PE 38
Used PV 2

LV Name /dev/vg00/lvol2
LV Status available/syncd
LV Size (Mbytes) 4096
Current LE 256
Allocated PE 512
Used PV 2

LV Name /dev/vg00/lvol3
LV Status available/syncd
LV Size (Mbytes) 544
Current LE 34
Allocated PE 68
Used PV 2

LV Name /dev/vg00/lvol4
LV Status available/syncd
LV Size (Mbytes) 208
Current LE 13
Allocated PE 26
Used PV 2

LV Name /dev/vg00/lvol5
LV Status available/syncd
LV Size (Mbytes) 32
Current LE 2
Allocated PE 4
Used PV 2

LV Name /dev/vg00/lvol6
LV Status available/syncd
LV Size (Mbytes) 3728
Current LE 233
Allocated PE 466
Used PV 2

LV Name /dev/vg00/lvol7
LV Status available/syncd
LV Size (Mbytes) 3824
Current LE 239
Allocated PE 478
Used PV 2

LV Name /dev/vg00/lvol8
LV Status available/syncd
LV Size (Mbytes) 4608
Current LE 288
Allocated PE 576
Used PV 2

LV Name /dev/vg00/lvol9
LV Status available/syncd
LV Size (Mbytes) 20000
Current LE 1250
Allocated PE 2500
Used PV 2


--- Physical volumes ---
PV Name /dev/dsk/c2t1d0
PV Status available
Total PE 4374
Free PE 2040
Autoswitch On

PV Name /dev/dsk/c2t0d0
PV Status available
Total PE 4374
Free PE 2040
Autoswitch On


# lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c2t1d0 (0/1/1/0.1.0) -- Boot Disk
/dev/dsk/c2t0d0 (0/1/1/0.0.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c2t1d0
/dev/dsk/c2t0d0
Root: lvol3 on: /dev/dsk/c2t1d0
/dev/dsk/c2t0d0
Swap: lvol2 on: /dev/dsk/c2t1d0
/dev/dsk/c2t0d0
Dump: lvol2 on: /dev/dsk/c2t1d0, 0
Occasional Advisor

Re: I/O tree node does not exist

Hi RAC

Do you have a link to a document, where the new procedure for the 11.23 itanium could be found?

Best regards
Hans Ove
Honored Contributor Honored Contributor

Re: I/O tree node does not exist

doc id - KBRC00014526
There is no substitute to HARDWORK