lgatuk 发表于 2013-10-24 09:06

磁带备份vg00不成功,报错看不懂,求助。

我把关键报错的地方贴出来,磁带机没有报警。

WARNING: The volume group /dev/vg00 will be only partially included in the
         System Recovery Archive.This means that not all files and
         directories on this volume group will be restored when the archive is
         installed.This message can be suppressed using the "-P s" option for
         make_tape_recovery. See make_tape_recovery(1M) for more details.
         
       * /opt/ignite/bin/save_config -f
         /var/opt/ignite/recovery/2013-10-23,15:33/system_cfg vg00
       * Backing Up Volume Group /dev/vg00
       * /usr/sbin/vgcfgbackup /dev/vg00
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
       * Creating Map Files for Volume Group /dev/vg00
       * /usr/sbin/vgexport -s -p -m /etc/lvmconf/vg00.mapfile /dev/vg00
vgexport: Volume group "/dev/vg00" is still active.
vgexport: Preview of vgexport on volume group "/dev/vg00" succeeded.

       * Backing Up Volume Group /dev/vg03
       * /usr/sbin/vgcfgbackup /dev/vg03
Volume Group configuration for /dev/vg03 has been saved in /etc/lvmconf/vg03.conf
       * Creating Map Files for Volume Group /dev/vg03
       * /usr/sbin/vgexport -s -p -m /etc/lvmconf/vg03.mapfile /dev/vg03
vgexport: Volume group "/dev/vg03" is still active.
vgexport: Preview of vgexport on volume group "/dev/vg03" succeeded.

       * Creating Control Configuration.
       * Creating Archive File List
       * Creating Archive Configuration

       * /opt/ignite/lbin/make_arch_config -c
         /var/opt/ignite/recovery/2013-10-23,15:33/archive_cfg -g
         /var/opt/ignite/recovery/2013-10-23,15:33/flist -n 2013-10-23,15:33 -r
         ipf -b 64 -d Recovery\ Archive -t 22 -i 1 -m t
       * Saving the information about archive to
         /var/opt/ignite/recovery/previews
       * Creating The Tape Archive
       * Checking configuration file for Syntax
WARNING: You are about to create an Itanium-based recovery tape.If this
         system does NOT support direct tape boot, you will need to perform
         "two-step media recovery" where the boot media (CD or DVD) has the
         same version of Ignite-UX as the version on this tape.
       * Complete writing boot LIF onto tape.
       * /opt/ignite/data/scripts/make_sys_image -c n -d /dev/rmt/0mn -t n -s
         local -n 2013-10-23,15:33 -m t -w
         /var/opt/ignite/recovery/2013-10-23,15:33/recovery.log -u -R -g
         /var/opt/ignite/recovery/2013-10-23,15:33/flist -a 15929350
         
       * Preparing to create a system archive.

       * Archiving contents of husoaa09 via tar image to local device /dev/rmt/0mn.
pax: write : I/O error
pax: A write error has occurred.
WARNING: The pax command returned a non-zero exit status (exit status 1).
ERROR:   The find_files command failed (exit status 141).

ERROR:   The make_sys_image command failed. The system recovery archive will
         not be created.


=======10/23/13 17:22:38 EATmake_tape_recovery completed unsuccessfully

#

lgatuk 发表于 2013-10-24 15:28

呼叫版主大侠求助

jackiew 发表于 2013-10-24 16:01

你是怎么备的呀?是不是用:make_tape_recovery -Av

lgatuk 发表于 2013-10-24 16:32

回复 3# jackiew


    对 还用x排除了两个目录#cd /tmp
#nohup make_tape_recvoery -Av -x exclude=/mu1 -x exclude=/mu2 &

jackiew 发表于 2013-10-24 18:00

make_tape_recovery -AV 是备份系统根盘的,直接执行以下指令试试:# cd /
# make_tape_recovery -Av

lbseraph 发表于 2013-10-25 10:48

回复 1# lgatuk

1. 直接tar文件到/dev/rmt/0mn是否工作正常?貌似没有问题的,毕竟LIF能写进去。不过报错是说写I/O错,最好tar个大点的文件确认磁带2G以内都能写。
2. 上面的输出也备份vg03了吧?你放进去的磁带容量是否小了?
3. 另外建议清洗一下磁带机,和用最新版本的Ignite-UX再试。
   

lgatuk 发表于 2013-10-28 09:52

回复 6# lbseraph

1、
/dev/vg00/lvol7    4194304 2411432 1769624   58% /tmp

    # tar cvf /dev/rmt/0mn /tmp
a /tmp/.kc.trace 25 blocks
a /tmp/portmap.file 1 blocks
a /tmp/install.vars 3 blocks
a /tmp/.s.PGSQL.10864.lock 1 blocks
a /tmp/krun.1507 0 blocks
a /tmp/hpce/1131.depot 311260 blocks
Tar: end of tape
Tar: to continue, enter device/file name when ready or null string to quit.

User entered a null name for next device file.
#
# tar tvf /dev/rmt/0m
Tar: tape read error
# tar xvf /dev/rmt/0mn
Tar: tape read error

2、
# bdf
Filesystem          kbytes    used   avail %used Mounted on
/dev/vg00/lvol3    10485760973384 9438072    9% /
/dev/vg00/lvol1    4194304348960 3815368    8% /stand
/dev/vg00/lvol9    10485760 2159144 8268072   21% /var
/dev/vg00/lvol8    8388608 3867288 4486056   46% /usr
/dev/vg00/lvol7    4194304 2411432 1769624   58% /tmp
/dev/vg00/lvol6    52428800 29190194 21786300   57% /soapp
/dev/vg00/lvol5    20971520 6462376 14395808   31% /opt
/dev/vg00/lvol4    10485760119032 10285832    1% /home
/dev/vg03/lvol1    512000000 140281513 348486190   29% /soaapp
/dev/vg00/lvolsoa143360000 100348524 40337473   71% /svn
如果算上vg03确实小了,但是我是用的make_tape_recovery -Av ,这个命令不是默认备份vg00的吗
3、
# swlist |grep -i ignite
IGNITE                        C.7.10.472   HP-UX Installation Utilities (Ignite-UX)
Ignite-UX-11-31               C.7.10.472   HP-UX Installation Utilities for Installing 11.31 Systems
安装最新的ignite的话需要先卸载原来的吗

lbseraph 发表于 2013-10-28 12:13

lgatuk 发表于 2013-10-28 09:52 static/image/common/back.gif
回复 6# lbseraph

1、

1. 可以写
2. 无法读?
3. 正常不需要卸载之前的。如果之前也是用默认路径安装的话会自动upgrade的,否则就会有2个版本的了。

lgatuk 发表于 2013-10-28 14:01

回复 8# lbseraph


    不可以写吧/tmp有2G 呢 一瞬间就出现end of tape了

lbseraph 发表于 2013-10-28 15:05

lgatuk 发表于 2013-10-28 14:01 static/image/common/back.gif
回复 8# lbseraph




那是因为你写到头了,换磁带就可以了吧。我的意思是证明磁带机、磁带应该没有问题。第2个读的时候应该先回卷再读吧?
页: [1] 2 3
查看完整版本: 磁带备份vg00不成功,报错看不懂,求助。