AW: Size of lppsource for NIM



Creating hard links works and saves a lot of disk space. I don't have a skript for it but I noted down the following commands when doing it.

regards,
Christian


# mkdir -p /export/AIX_FILESETS/520_BASE
# bffcreate -d '/dev/cd0' -f'all' \
-t'/export/AIX_FILESETS/520_BASE'
# cd /export/AIX_FILESETS/520_BASE/installp/ppc
# rm .toc
# find . -type f -exec chmod a+r {} \;
# mkdir -p /export/lpp_source/aix52/installp/ppc
# find . -type f -exec ln {} /export/lpp_source/aix52/installp/ppc \;
# cd /export/lpp_source/aix52/installp/ppc
# inutoc .
# cd /export/AIX_FILESETS/520_BASE/RPMS/ppc
# mkdir -p /export/lpp_source/aix52/RPMS/ppc
# find . -type f -exec ln {} /export/lpp_source/aix52/RPMS/ppc \;
# mkdir -p /export/AIX_FILESETS/520_PTFS
# bffcreate -d '/dev/cd0' -f 'all' \
-t'/export/AIX_FILESETS/520_PTFS'
# cd /export/AIX_FILESETS/520_PTFS/installp/ppc
# rm .toc
# find . -type f -exec chmod a+r {} \;
# mkdir -p /export/lpp_source/aix52_ptfs/installp/ppc
# cd /export/AIX_FILESETS/520_BASE/installp/ppc
# find . -type f -exec ln {} /export/lpp_source/aix52_ptfs/installp/ppc \;
# cd /export/AIX_FILESETS/520_PTFS/installp/ppc
# find . -type f -exec ln {} /export/lpp_source/aix52_ptfs/installp/ppc \;
# cd /export/lpp_source/aix52_ptfs/installp/ppc
# inutoc .
# cd /export/AIX_FILESETS/520_BASE/RPMS/ppc
# mkdir -p /export/lpp_source/aix52_ptfs/RPMS/ppc
# find . -type f -exec ln {} /export/lpp_source/aix52/RPMS/ppc \;


-----Ursprüngliche Nachricht-----
Von: IBM AIX Discussion List [mailto:aix-l@xxxxxxxxxxxxx] Im Auftrag von Enrique Sanchez Vela
Gesendet: Samstag, 23. September 2006 05:12
An: aix-l@xxxxxxxxxxxxx
Betreff: Re: Size of lppsource for NIM


--- Matt Lawrence <matt@xxxxxxxxxxxxxxx> wrote:

When building a NIM server to serve multiple
versions & maintenance levels
of AIX, it seems to me that creating hard links for
the filesets that have
not changed makes more sense than to create a
completely seperate tree.

Does this make sense? Does anyone have a quick
script for accomplishing
this task? Any other suggestions?

-- Matt
It's not what I know that counts.
It's what I can remember in time to use.


Matt,

Interesting idea you are proposing, however, remember
that the SPOT and lppsource are both exported via NFS,
I am not sure a symbolic or hard link will work ....

would it ?? you bet I'm testing it.

regards,
Enrique.

Enrique Sanchez Vela
email: esanchezvela@xxxxxxxxx
--------------------------------------
http://www.savetheinternet.com/

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com



Relevant Pages

  • Re: Size of lppsource for NIM
    ... Size of lppsource for NIM ... it seems to me that creating hard links for ... Do You Yahoo!? ... Mail has the best spam protection around ...
    (AIX-L)
  • Re: Size of lppsource for NIM
    ... it seems to me that creating hard links for ... the filesets that have ... Do You Yahoo!? ... Mail has the best spam protection around ...
    (AIX-L)
  • Re: default value of security.bsd.hardlink_check_[ug]id
    ... Allowing users to create hard links to files which they do not own ... involving setuid ... Do You Yahoo!? ... Mail has the best spam protection around ...
    (freebsd-arch)