AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
  • 1.  How to copy AIX 6.1 CDs/DVDs

    Posted Mon December 06, 2010 09:38 AM

    Originally posted by: shashiscreen


    I was planning to setup a NFS server with AIX medias shared.

    So on my Linux desktop i mounted all DVD ISO images and trying "Scp" from ISO mounted directory to NFS server.

    The problem is because of the way AIX DVD files are organized, the scp/cp command copies the files again & again in different locations recursively, and it is consuming total space on NFS server.

    Is there any trick to solve this problem? What is the correct way to copy AIX DVDs ? What is correct way to share AIX media through NFS?

    Thank you.


  • 2.  Re: How to copy AIX 6.1 CDs/DVDs

    Posted Mon December 06, 2010 10:43 AM

    Originally posted by: j.gann


    smitty bffcreate


  • 3.  Re: How to copy AIX 6.1 CDs/DVDs

    Posted Mon December 06, 2010 10:51 AM

    Originally posted by: LeoAN


    i couldn't suggest anything on the scp as i'm not sure why it behave's differently.

    You could try copying the whole ISO to your NFS server, mount it there and share it.

    Here are some commands which can be used to mount the ISO

    #/usr/sbin/crfs -v jfs -g rootvg -a size=800 -m/cd1iso -Ano -pro -tno -a frag=4096 -a nbpi=4096 -a ag=8
    This command creates the /cd1iso file system on the rootvg volume group.

    Now dd the "iso" image into rlv00

    1. dd if=image.iso of=/dev/lv00 bs=10M
    Use chfs to change the attributes of a file system:

    1. chfs -a vfs=cdrom cd1iso
    2. mount /cd1iso


  • 4.  Re: How to copy AIX 6.1 CDs/DVDs

    Posted Mon December 06, 2010 05:43 PM

    Originally posted by: nagger


    Hi,
    Instead of the crfs, dd, chfs and mount commands trick - you could use the loopmount command.

    See the loopmount manual page examples for details on use
    • you would never guess looking at the options list :-)

    Thank, Nigel Griffiths


  • 5.  Re: How to copy AIX 6.1 CDs/DVDs

    Posted Mon December 06, 2010 08:51 PM

    Originally posted by: shashiscreen


    "loopmount" is good.

    I have copied the ISO image to AIX 6.1 box, mounted the iso image using loopmount command, then smitty->install software ->.....

    getting the error "restore: 0511-133 There is a data read error.: There is an input or output error.
    0503-405 installp: An error occurred while running the restore command.
    Use local problem reporting procedures."


  • 6.  Re: How to copy AIX 6.1 CDs/DVDs

    Posted Mon December 06, 2010 12:06 PM

    Originally posted by: shargus


    the scp/cp command copies the files again & again in different locations recursively, and it is consuming total space on NFS server.

    Sounds like the cp command is copying links as separate regular files. Try adding the -l option to the cp command.

    You might also consider tar'ing up the contents of the CD, copying the tar file over, then untar'ing on the NFS server.


  • 7.  Re: How to copy AIX 6.1 CDs/DVDs

    Posted Tue December 07, 2010 04:23 PM

    Originally posted by: Siddhartha.Sinha


    You can use

    gencopy -X -b "-qv" -d /dev/cd0 -t /export/lpp_source/610TL0BASELPP/ all

    Copy copy DVDs in an AIX box and you can use rsync to transfer to any box.