Operating System - HP-UX
1748154 Members
3688 Online
108758 Solutions
New Discussion юеВ

Re: problem of make full backup and mirroring

 
Alexo
Advisor

problem of make full backup and mirroring

hi 

when i check mirroring og server by this command

# lvdisplay -v /dev/vg00/lvo* | grep -e "stale"

i have some lvolume stale

after i run this commands

for lv in /dev/vg00/lvol*

>do

>lvreduce -m 0 $lv /dev/dsk/c2t0d0

>done

and after run this command

#scmirrorfs

after check again this command for mirroring check

# lvdisplay -v /dev/vg00/lvo* | grep -e "stale"

and i have not any stale .but still i can't mack full backup or ignite because i have this error message.

report of ths command for me is:

# scextendfs тАУi

_______________________________________________________________________________
Volume Group Free Space

vg00 FreePE 4 (MBytes 256) (pvg0=542 pvg1=4)
_______________________________________________________________________________

 

Total disk(s) found = 2
Total CDRoms found = 1


Disks Selection
_______________________________________________________________________________

Device MByte Hardware Path Usage Type VolGroup
_______________________________________________________________________________
c2t0d0 34720 0/1/1/0.0.0 __Data__ _Main_ vg00
c2t1d0 34720 0/1/1/0.1.0 Pri_Boot Mirror vg00
_______________________________________________________________________________

 

please help me

 

 

 

P.S. This thread has been moved from VM and VxVM to Ignite. - Hp forum Moderator

5 REPLIES 5
Dennis Handly
Acclaimed Contributor

Re: problem of make full backup and mirroring

>because I have this error message.

 

What error message?  You said you got rid of the stale extents.

Alexo
Advisor

Re: problem of make full backup and mirroring

i give a message that means your ignite backup not completed check ignite_recovery.log.

i put for you the last report of this file:

NOTE: In Resume Mode. Do you wish to continue?
Continue?(y/n) * Creating The Tape Archive
Adding /opt/ignite/Version file to LIF.
48214+0 records in
48214+0 records out
* /opt/ignite/data/scripts/make_sys_image -c n -d /dev/rmt/0mn -t n -s
local -n 2014-08-30,12:12 -m t -w
/var/opt/ignite/recovery/latest/recovery.log -u -R -g
/var/opt/ignite/recovery/latest/flist -a 1273150

* Preparing to create a system archive.
read: I/O error
read_blocks(lifvol): error on 1024 byte write
lifls: Can't list /dev/dsk/c2t0d0; not a LIF volume
WARNING: /dev/dsk/c2t0d0 is not a LIF volume.
No LIF files on the boot disk will be archived.
Check /stand/bootconf, man bootconf(4), and /dev/dsk to
ensure that the bootconf file is set up correctly.

* Archiving contents of nm01 via tar image to local device/dev/rmt/0mn.
* Creation of system archive complete.

NOTE: Could not read the /etc/resolv.conf file.

======= 08/30/14 12:19:02 GMT make_tape_recovery completed with warnings

 

 

and i have this message for this command .may be help you beter

sys,root # scmirrorfs

=>Sun Aug 31 07:49:23 GMT 2014
=>START: OSConf File(s) System Mirroring


ERROR: Volume Group: "vg00" have more than one Physical Volume Group

 

 

please check result of last command in ago post that have __Date__ .....

 

 

Torsten.
Acclaimed Contributor

Re: problem of make full backup and mirroring

Please post the result of

# lvlnboot -v

# vgdisplay -v

# cat /stand/bootconf

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Alexo
Advisor

Re: problem of make full backup and mirroring

,sys,root # lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c2t0d0 (0/1/1/0.0.0)
/dev/dsk/c2t1d0 (0/1/1/0.1.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
------------------------------------------------------------

sys,root # vgdisplay -v
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 17
Open LV 17
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 5372
VGDA 4
PE Size (Mbytes) 64
Total PE 1084
Alloc PE 538
Free PE 546
Total PVG 2
Total Spare PVs 0
Total Spare PVs in use 0

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

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

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

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

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

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

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

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

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

LV Name /dev/vg00/lvol10
LV Status available/syncd
LV Size (Mbytes) 384
Current LE 6
Allocated PE 6
Used PV 1

LV Name /dev/vg00/lvol11
LV Status available/syncd
LV Size (Mbytes) 12672
Current LE 198
Allocated PE 198
Used PV 1

LV Name /dev/vg00/lvol12
LV Status available/syncd
LV Size (Mbytes) 4736
Current LE 74
Allocated PE 74
Used PV 1

LV Name /dev/vg00/lvol13
LV Status available/syncd
LV Size (Mbytes) 1216
Current LE 19
Allocated PE 19
Used PV 1

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

LV Name /dev/vg00/lvol15
LV Status available/syncd
LV Size (Mbytes) 512
Current LE 8
Allocated PE 8
Used PV 1

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

LV Name /dev/vg00/lvol17
LV Status available/syncd
LV Size (Mbytes) 704
Current LE 11
Allocated PE 11
Used PV 1


--- Physical volumes ---
PV Name /dev/dsk/c2t0d0
PV Status unavailable
Total PE 542
Free PE 542
Autoswitch On

PV Name /dev/dsk/c2t1d0
PV Status available
Total PE 542
Free PE 4
Autoswitch On


--- Physical volume groups ---
PVG Name pvg0
PV Name /dev/dsk/c2t0d0

PVG Name pvg1
PV Name /dev/dsk/c2t1d0

------------------------------------------------------------
sys,root # cat /stand/bootconf
l /dev/dsk/c2t0d0
l /dev/dsk/c2t1d0

Torsten.
Acclaimed Contributor

Re: problem of make full backup and mirroring

You have 2 disks in vg00

 

Physical Volumes belonging in Root Volume Group:
/dev/dsk/c2t0d0 (0/1/1/0.0.0)
/dev/dsk/c2t1d0 (0/1/1/0.1.0) -- Boot Disk

 

all LVOLs are unmirrored and 1 disk has failed:

 

PV Name /dev/dsk/c2t0d0
PV Status unavailable

 

replace the disk, re-mirror and backup again.

 

 


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!