能用其他机器的磁带机备份本机的操作系统吗

比如A机没有磁带机,想借用B机的磁带机备份操作系统,有没有相关的命令,谢谢!

[ 本帖最后由 hjw20000 于 2009-8-17 14:20 编辑 ]
参与14

14同行回答

爱如潮水爱如潮水研发工程师四川农信
原帖由 Karl 于 2009-8-21 21:21 发表 Bingo! You got the point!So for AIX OS backup and restore, there are the following ways to archive:1. Tape backup and restore.2. NIM Backup and restore.3. CD/DVD backup and restore.4. Third party ... 方法确实有很...显示全部
原帖由 Karl 于 2009-8-21 21:21 发表


Bingo! You got the point!
So for AIX OS backup and restore, there are the following ways to archive:
1. Tape backup and restore.
2. NIM Backup and restore.
3. CD/DVD backup and restore.
4. Third party ...

方法确实有很多 但如果不熟悉的话 江湖救急就麻烦了收起
金融其它 · 2009-08-24
浏览2477
KarlKarl系统架构师Anonymous
Bingo! You got the point!So for AIX OS backup and restore, there are the following ways to archive:1. Tape backup and restore.2. NIM Backup and restore.3. CD/DVD backup and restore.4. Third party software such as Sysbak and etc.Every approach has its...显示全部
Bingo! You got the point!
So for AIX OS backup and restore, there are the following ways to archive:
1. Tape backup and restore.
2. NIM Backup and restore.
3. CD/DVD backup and restore.
4. Third party software such as Sysbak and etc.

Every approach has its own pros and cons, for enterprise level, high recommend to use NIM.

Cheers,收起
金融其它 · 2009-08-21
浏览2462
lghready1lghready1技术经理POLYSTOR
个人觉得这样备下来没有意义你想想看如果主机发生crash导致rootvg损坏或无法引导,你即便是有磁带,也没办法从磁带引导所以建议,还是配一个小磁带机比较安全显示全部
个人觉得这样备下来没有意义
你想想看
如果主机发生crash导致rootvg损坏或无法引导,你即便是有磁带,也没办法从磁带引导
所以
建议,还是配一个小磁带机比较安全收起
互联网服务 · 2009-08-21
浏览2382
apsbbapsbb系统工程师mp
呵呵..................显示全部
呵呵..................收起
系统集成 · 2009-08-20
浏览2411
colinscolins系统工程师金融行业
这个非常不错。呵呵显示全部
这个非常不错。呵呵收起
银行 · 2009-08-19
浏览3116
KarlKarl系统架构师Anonymous
Yes. Please look it here:http://bbs.chinaunix.net/viewthread.php?tid=592849Hope it helps.显示全部
Yes.

Please look it here:
http://bbs.chinaunix.net/viewthread.php?tid=592849

Hope it helps.收起
金融其它 · 2009-08-19
浏览3117
下面这个好像有问题。#  bosboot -a -d /dev/rmt0.1bosboot: Boot image is 37631 512 byte blocks.0301-161 bosboot: dd failed to copy /dev/rmt0.1.0301-165 bosboot: WARNING! bosboot failed - do not attempt to boot device.另外,根据一般磁带备份的内...显示全部
下面这个好像有问题。
#  bosboot -a -d /dev/rmt0.1

bosboot: Boot image is 37631 512 byte blocks.

0301-161 bosboot: dd failed to copy /dev/rmt0.1.

0301-165 bosboot: WARNING! bosboot failed - do not attempt to boot device.

另外,根据一般磁带备份的内容,分为
主要由BOS boot image、mkinsttape image、Dummy.toc、rootvg data四个部分组成。
1>BOS boot image:包含从mksysb磁带引导所需的系统内核和设备驱动的副本。
2>mkinsttape image:其中有三个重要文件
./tapeblksz:包含mksysb命令运行时设定磁带驱动器的块大小
./bosinst.data:包含自定义的BOS安装过程和指示BOS安装程序如何运行。执行mksysb 命令前可自定义该文件,或映像备份完成后使用程序自定义该文件。
./image.data:包含描述 BOS 安装过程中安装的映像的信息。这些信息包括逻辑卷的大小、名称、映射以及在rootvg 的安装点。可在使用 mksysb 命令之前自定义该文件,或在备份期间运行mksysb -i命令在磁带上生成一个新的./image.data 文件。mkszfile命令生成 ./image.data文件。./image.data 文件以 stanza 格式安排。
3>dummy table of contents(TOC):使 mksysb 磁带包含和BOS安装磁带同样数目的映像。
4>rootvg data:包含 mksysb 命令备份的 rootvg 卷组上的所有数据。mksysb 命令使用
backup 命令保存 rootvg 上安装 JFS 数据内容,除了raw数据


这个HostB# echo "Dummy tape TOC" | dd of=/dev/rmt0.1 bs=512 conv=sync 是对应第3部分?收起
2009-08-18
浏览3148
KarlKarl系统架构师Anonymous
Sorry, chdev command should be:chdev -a block_size=1024 -l /dev/rmt0Good luck.显示全部
Sorry, chdev command should be:
chdev -a block_size=1024 -l /dev/rmt0

Good luck.收起
金融其它 · 2009-08-18
浏览3117
KarlKarl系统架构师Anonymous
Please try the following:HostB# cat /etc/exports/mksysb_images -rwHostB# exportfs -aHostA# mount HostB:/mksysb_images /mntHostA# mksysb -A -X -i /mnt/mksysb.HostAHostB# chdev -a block_size=512 /dev/rmt0      # Say you are using rm...显示全部
Please try the following:

HostB# cat /etc/exports
/mksysb_images -rw
HostB# exportfs -a
HostA# mount HostB:/mksysb_images /mnt
HostA# mksysb -A -X -i /mnt/mksysb.HostA
HostB# chdev -a block_size=512 /dev/rmt0      # Say you are using rmt0 for backup tape device.
HostB# tctl -f /dev/rmt0 -rewind
HostB# bosboot -a -d /dev/rmt0.1
HostB# mkinsttape /dev/rmt0.1
HostB# echo "Dummy tape TOC" | dd of=/dev/rmt0.1 bs=512 conv=sync
HostB# chdev -a block_size=1024 /dev/rmt0
HostB# dd if=/mksysb_images/mksysb.HostA of=/dev/rmt0 bs=1024

Let me know the results, good luck.收起
金融其它 · 2009-08-17
浏览3144
smart_zhaozfsmart_zhaozf系统管理员北京数字认证股份有限公司
cd relative-path        tar cvf - .| remsh remote-system dd of=/dev/rmt/0m显示全部
cd relative-path
        tar cvf - .| remsh remote-system dd of=/dev/rmt/0m收起
生活生产服务 · 2009-08-17
浏览3117

提问者

相关问题

问题状态

  • 发布时间:2009-08-17
  • 关注会员:0 人
  • 问题浏览:12688
  • 最近回答:2009-08-24
  • X社区推广