免费注册 查看新帖 |

Chinaunix

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

[小机硬件] 各位老大那个用过rs6000下DVD刻录机??? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-09-24 17:54 |只看该作者 |倒序浏览
rs6000下DVD刻录及如何使用呀???

要不要什么工具软件??

论坛徽章:
0
2 [报告]
发表于 2003-09-24 19:10 |只看该作者

各位老大那个用过rs6000下DVD刻录机???

我在linux下用过,和普通的文件系统使用差不多。
可以cp,mv,touch,rm....操作。想必AIX也该如此吧。

论坛徽章:
0
3 [报告]
发表于 2003-09-24 21:14 |只看该作者

各位老大那个用过rs6000下DVD刻录机???

这样可以吗???

论坛徽章:
5
荣誉会员
日期:2011-11-23 16:44:17CU大牛徽章
日期:2013-09-18 15:15:15CU大牛徽章
日期:2013-09-18 15:15:45未羊
日期:2014-02-25 14:37:19射手座
日期:2014-12-26 22:55:37
4 [报告]
发表于 2003-09-24 22:10 |只看该作者

各位老大那个用过rs6000下DVD刻录机???

好像不是吧,还是弄个mkiosfs之类的东西看看。

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
5 [报告]
发表于 2003-09-26 11:59 |只看该作者

各位老大那个用过rs6000下DVD刻录机???

man mkcd

论坛徽章:
0
6 [报告]
发表于 2003-09-26 12:53 |只看该作者

各位老大那个用过rs6000下DVD刻录机???

Procedure: a system backup with  DVD-ram on aix 4.3.3

This document describes which parameters have to be chanced and which sofware is needed to make a system backup on  DVD-ram.

software:

rpm.rte
rpm-3.0.5-30.aix4.3.ppc.rpm
cdrecord-1.9-4.aix4.3.ppc.rpm
mkisofs-1.13-4.aix4.3.ppc.rpm

These packages are present on the AIX Toolbox for Linux Applications for POWER systems cd.
But its much better to get the latest versions from the internet.  
Put these in some install directory on your system.
The versions that i show in this document are the ones that i used at the beginning of 2003 .   


Procedure 1:
Install first the rpm.rte package with help from smit. This is needed because you need to use this program to install the rest of the software.
Below are the panels under smit that i used to install the rpm software:

1.

                                                   System Management

Move cursor to desired item and press Enter.

  Software Installation and Maintenance
  Software License Management
  Devices
  System Storage Management (Physical & Logical Storage)
  Security & Users
  Communications Applications and Services
  Print Spooling
  Problem Determination
  Performance & Resource Scheduling
  System Environments
  Processes & Subsystems
  Applications
  Using SMIT (information only)












2.   
                 Software Installation and Maintenance

Move cursor to desired item and press Enter.

  Install and Update Software
  List Software and Related Information
  Software Maintenance and Utilities
  Network Installation Management
  System Backup Manager

3.

Install and Update Software

Move cursor to desired item and press Enter.

  Install and Update from LATEST Available Software
  Update Installed Software to Latest Level (Update All)
  Install and Update Software by Package Name (includes devices and printers)
  Install Software Bundle (Easy Install)
  Update Software by Fix (APAR)
  Install and Update from ALL Available Software

4.
          Install and Update Software by Package Name (includes devices and printers)

Type or select a value for the entry field.
Press Enter AFTER making all desired changes.

                                                        [Entry Fields]
* INPUT device / directory for software              [installdir]                                           +


The rest is simple. After the enter a list appears of software thats located in your install directory.
Select  rpm and install it with the default options.



Procedure 2:

Don’t use smit anymore en use for the rest of the software installations the rpm command.
You can find the executable rpm command in the directory /usr/bin
Its recommended  to upgrade the rpm package first to the latest version. Use the following command:
rpm –Uvh rpm-3.0.5-30.aix4.3.ppc.rpm



Now its time to install the rest of the needed software.
Commands:
rpm –Uvh cdrecord-1.9-4.aix4.3.ppc.rpm
rpm –Uvh mkisofs-1.13-4.aix4.3.ppc.rpm

Note: I use almost always the update command of rpm.
Because is the software already installed it will be upgraded to the latest version and If its not on the system it will be installed anyway.

Procedure 3:

Making links: With a standard installation there will be a few sample cd and dvd scripts installed.  These scripts are found in the directory /usr/samples/oem_cdwriters/
Two of these scripts must be linked and renamed to the /usr/sbin directory with the following commands:
ln –s /usr/samples/oem_cdwriters/burn_cd_gnu_dvdram   /usr/sbin/burn_cd
ln –s /usr/samples/oem_cdwriters/ mkrr_fs_gnu  /usr/sbin/mkrr_fs

To make the scripts working properly you need two other links.
See the next commands:

ln –s /usr/bin/mkisofs /usr/local/bin/mkisofs
ln –s /usr/bin/readcd /usr/local/bin/readcd

note: You can also change the scripts instead of making the last two links.

Procedure 4:

Change the security limits file:

The command limit –a shows the settings for a particular user.
We need to change the settings for the root user, specially if you have made a default installation.  
The settings are found in the /etc/security/limits file. The file should be changed to the settings below:

default:
        fsize = 2097151
        core = 2097151
        cpu = -1
        data = 262144
        rss = 65536
        stack = 65536
        nofiles = 2000

root:
        fsize = -1
        core = 2097151
        cpu = -1
        data = -1
        rss = -1
        stack = -1
        nofiles = 2000
In my case after this procedure i need to restart the system cause otherwise the changed parameters are not recognized by the system.  Inspite of the fact that the command ulimit –a show the right parameters after i changed the file.

Procedure 5:

Make the system backup with the following command:
mkcd  –d  /dev/cd0  –L

Examples of faults/messages after the sys backup command:

1.
>; mkcd -d /dev/cd0 -L
Initializing mkcd log: /var/adm/ras/mkcd.log...
Verifying command parameters...
Creating image.data file...
Creating temporary file system: /mkcd/mksysb_image...
Creating mksysb image...

Creating list of files to back up
Backing up 43238 files..............................
33942 of 43238 files backed up (78%)
43238 of 43238 files backed up (100%)
0512-005 mksysb: Backup Completed.
        The backup command completed with errors.
        The messages displayed on Standard Error contained additional
        information.
0512-039 mksysb: WARNING: /mkcd/mksysb_image/mksysb_5096 does not appear to be a tape device and
        will NOT have a bootable image.
backup medium write error: File too large
Check backup media and rerun the backup
0512-040 mksysb: WARNING: /mkcd/mksysb_image/mksysb_5096 does not appear to be a tape device and
        does NOT have a bootable image.
0512-300 mkcd: Error in routine: manage_mksysb.
Cleaning up...
Removing temporary file system: /mkcd/cd_images...
umount: Could not find anything to unmount
0512-300 mkcd: Error in routine: remove_file_system.
rmfs: No record matching '/mkcd/cd_images' was found in /etc/filesystems.
0512-300 mkcd: Error in routine: remove_file_system.
Removing temporary file system: /mkcd/cd_fs...
umount: Could not find anything to unmount
0512-300 mkcd: Error in routine: remove_file_system.
rmfs: No record matching '/mkcd/cd_fs' was found in /etc/filesystems.
0512-300 mkcd: Error in routine: remove_file_system.
Removing temporary file system: /mkcd/mksysb_image...

If the system shows this you need to change the limits for the root user in the /etc/security/limits file.
2.

>; mkcd -d /dev/cd0 -L
Initializing mkcd log: /var/adm/ras/mkcd.log...
Verifying command parameters...
Creating image.data file...
Creating temporary file system: /mkcd/mksysb_image...
Creating mksysb image...

Creating list of files to back up .
Backing up 42455 files..............................
35958 of 42455 files backed up (84%)..
42455 of 42455 files backed up (100%)
0512-038 mksysb: Backup Completed Successfully.
Creating temporary file system: /mkcd/cd_fs...
Populating the CD or DVD file system...
Copying backup to the CD or DVD file system...
Creating temporary file system: /mkcd/cd_images...
Creating Rock Ridge format image...
/usr/sbin/mkrr_fs[65]: /usr/local/bin/mkisofs:  not found
Running mkisofs ...
/usr/sbin/mkrr_fs[77]: /usr/local/bin/mkisofs:  not found
Error mkrr_fs: command error.
0512-324 mkcd: The mkrr_fs command failed.  Check the linked
OEM script for possible errors.
Cleaning up...
Removing temporary file system: /mkcd/cd_images...
Removing temporary file system: /mkcd/cd_fs...
Removing temporary file system: /mkcd/mksysb_image...

If the system shows this you have no mkisofs link to /usr/bin/mkisofs in the   /usr/local/bin/ directory  or you didn’t install the mkisofs rpm and thats why the link is also missing because there is nothing to link to.

3.
>; mkcd -d /dev/cd0 -L
Initializing mkcd log: /var/adm/ras/mkcd.log...
Verifying command parameters...
Creating image.data file...
Creating temporary file system: /mkcd/mksysb_image...
Creating mksysb image...

Creating list of files to back up
Backing up 42475 files..............................
32200 of 42475 files backed up (75%)...
42475 of 42475 files backed up (100%)
0512-038 mksysb: Backup Completed Successfully.
Creating temporary file system: /mkcd/cd_fs...
Populating the CD or DVD file system...
Copying backup to the CD or DVD file system...
Creating temporary file system: /mkcd/cd_images...
Creating Rock Ridge format image...
Running mkisofs ...
mkrr_fs was successful.
Making the personal CD or DVD image bootable...
Writing the CD or DVD image to device: /dev/cd0...
Running readcd ...
/usr/sbin/burn_cd[80]: /usr/local/bin/readcd:  not found
burn_cd: Command error.
0512-322 mkcd: An error has occurred
writing the CD or DVD image to the CD or DVD device.

If you would like to attempt to write to another CD or DVD, replace
the current CD or DVD with a new writable CD or DVD.  Press the <enter>; key when ready...
If you would like to stop the command and cleanup, Press 'q' to quit...

If the system shows you this you have no readcd link to  /usr/bin/readcd in the directory /usr/local/bin/   

4. If the backup is a succes you see the following output:
>; mkcd -d /dev/cd0 -L
Initializing mkcd log: /var/adm/ras/mkcd.log...
Verifying command parameters...
Creating image.data file...
Creating temporary file system: /mkcd/mksysb_image...
Creating mksysb image...

Creating list of files to back up
Backing up 42476 files..............................
35186 of 42476 files backed up (82%)..
42476 of 42476 files backed up (100%)
0512-038 mksysb: Backup Completed Successfully.
Creating temporary file system: /mkcd/cd_fs...
Populating the CD or DVD file system...
Copying backup to the CD or DVD file system...
Creating temporary file system: /mkcd/cd_images...
Creating Rock Ridge format image...
Running mkisofs ...
mkrr_fs was successful.
Making the personal CD or DVD image bootable...
Writing the CD or DVD image to device: /dev/cd0...
Running readcd ...
Capacity: 2236704 Blocks = 4473408 kBytes = 4368 MBytes = 4580 prMB
Sectorsize: 2048 Bytes
burn_cd was successful.
Removing temporary file system: /mkcd/cd_images...
Removing temporary file system: /mkcd/cd_fs...
Removing temporary file system: /mkcd/mksysb_image...

[Jurjen Jonkheer <jurjen.jonkheer@logicacmg.com>;]
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP