免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
123下一页
最近访问板块 发新帖
查看: 27212 | 回复: 27
打印 上一主题 下一主题

[求助] 磁带备份vg00不成功,报错看不懂,求助。 [复制链接]

论坛徽章:
2
技术图书徽章
日期:2013-11-15 00:23:25双鱼座
日期:2013-11-25 13:13:29
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2013-10-24 09:06 |只看该作者 |倒序浏览
我把关键报错的地方贴出来,磁带机没有报警。

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 EAT  make_tape_recovery completed unsuccessfully

#

论坛徽章:
2
技术图书徽章
日期:2013-11-15 00:23:25双鱼座
日期:2013-11-25 13:13:29
2 [报告]
发表于 2013-10-24 15:28 |只看该作者
呼叫版主大侠  求助

论坛徽章:
1
白羊座
日期:2014-05-04 17:53:33
3 [报告]
发表于 2013-10-24 16:01 |只看该作者
你是怎么备的呀?是不是用:
  1. make_tape_recovery -Av
复制代码

评分

参与人数 1可用积分 +5 收起 理由
lbseraph + 5 谢谢积极回复!

查看全部评分

论坛徽章:
2
技术图书徽章
日期:2013-11-15 00:23:25双鱼座
日期:2013-11-25 13:13:29
4 [报告]
发表于 2013-10-24 16:32 |只看该作者
回复 3# jackiew


    对 还用x排除了两个目录
  1. #cd /tmp
  2. #nohup make_tape_recvoery -Av -x exclude=/mu1 -x exclude=/mu2 &
复制代码

论坛徽章:
1
白羊座
日期:2014-05-04 17:53:33
5 [报告]
发表于 2013-10-24 18:00 |只看该作者
make_tape_recovery -AV 是备份系统根盘的,直接执行以下指令试试:
  1. # cd /
  2. # make_tape_recovery -Av
复制代码

论坛徽章:
48
15-16赛季CBA联赛之青岛
日期:2021-01-07 13:41:2315-16赛季CBA联赛之上海
日期:2020-12-01 18:02:0720周年集字徽章-20	
日期:2020-10-28 14:14:2620周年集字徽章-20	
日期:2020-10-28 14:04:3015-16赛季CBA联赛之天津
日期:2020-10-18 22:51:412016猴年福章徽章
日期:2016-02-18 15:30:3415-16赛季CBA联赛之北控
日期:2015-12-22 13:30:48操作系统版块每日发帖之星
日期:2015-12-07 06:20:00操作系统版块每日发帖之星
日期:2015-09-04 06:20:002015亚冠之德黑兰石油
日期:2015-08-05 18:46:082015年亚洲杯之巴勒斯坦
日期:2015-04-19 10:42:502015年亚洲杯之巴林
日期:2015-04-09 08:03:23
6 [报告]
发表于 2013-10-25 10:48 |只看该作者
回复 1# lgatuk

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

论坛徽章:
2
技术图书徽章
日期:2013-11-15 00:23:25双鱼座
日期:2013-11-25 13:13:29
7 [报告]
发表于 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    10485760  973384 9438072    9% /
/dev/vg00/lvol1    4194304  348960 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    10485760  119032 10285832    1% /home
/dev/vg03/lvol1    512000000 140281513 348486190   29% /soaapp
/dev/vg00/lvolsoa  143360000 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的话需要先卸载原来的吗

论坛徽章:
48
15-16赛季CBA联赛之青岛
日期:2021-01-07 13:41:2315-16赛季CBA联赛之上海
日期:2020-12-01 18:02:0720周年集字徽章-20	
日期:2020-10-28 14:14:2620周年集字徽章-20	
日期:2020-10-28 14:04:3015-16赛季CBA联赛之天津
日期:2020-10-18 22:51:412016猴年福章徽章
日期:2016-02-18 15:30:3415-16赛季CBA联赛之北控
日期:2015-12-22 13:30:48操作系统版块每日发帖之星
日期:2015-12-07 06:20:00操作系统版块每日发帖之星
日期:2015-09-04 06:20:002015亚冠之德黑兰石油
日期:2015-08-05 18:46:082015年亚洲杯之巴勒斯坦
日期:2015-04-19 10:42:502015年亚洲杯之巴林
日期:2015-04-09 08:03:23
8 [报告]
发表于 2013-10-28 12:13 |只看该作者
lgatuk 发表于 2013-10-28 09:52
回复 6# lbseraph

1、

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

论坛徽章:
2
技术图书徽章
日期:2013-11-15 00:23:25双鱼座
日期:2013-11-25 13:13:29
9 [报告]
发表于 2013-10-28 14:01 |只看该作者
回复 8# lbseraph


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

论坛徽章:
48
15-16赛季CBA联赛之青岛
日期:2021-01-07 13:41:2315-16赛季CBA联赛之上海
日期:2020-12-01 18:02:0720周年集字徽章-20	
日期:2020-10-28 14:14:2620周年集字徽章-20	
日期:2020-10-28 14:04:3015-16赛季CBA联赛之天津
日期:2020-10-18 22:51:412016猴年福章徽章
日期:2016-02-18 15:30:3415-16赛季CBA联赛之北控
日期:2015-12-22 13:30:48操作系统版块每日发帖之星
日期:2015-12-07 06:20:00操作系统版块每日发帖之星
日期:2015-09-04 06:20:002015亚冠之德黑兰石油
日期:2015-08-05 18:46:082015年亚洲杯之巴勒斯坦
日期:2015-04-19 10:42:502015年亚洲杯之巴林
日期:2015-04-09 08:03:23
10 [报告]
发表于 2013-10-28 15:05 |只看该作者
lgatuk 发表于 2013-10-28 14:01
回复 8# lbseraph


那是因为你写到头了,换磁带就可以了吧。我的意思是证明磁带机、磁带应该没有问题。第2个读的时候应该先回卷再读吧?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP