Skip to content


backupy wparów

Polskie tłumaczenie wkrótce

InfoPROD:/>lswpar
Name State Type Hostname Directory RootVG WPAR
-----------------------------------------------------------------------
infaprtu001 A S infaprtu001 /wpars/infaprtu001 yes

/dev/informatica_lv 73400320 73101776 1% 4 1% /informatica
/dev/cda_lv 1048576 1039568 1% 4 1% /cda
/dev/ilmstage_lv 209715200 208863440 1% 4 1% /ilmstage

/dev/fslv00 196608 103480 48% 2522 18% /wpars/infaprtu001
/wpars/infaprtu001/dev/hd4 196608 103480 48% 2522 18% /wpars/infaprtu001/
/wpars/infaprtu001/dev/hd2 11272192 2241528 81% 45833 16% /wpars/infaprtu001/usr
......................

InfoPROD:/>crfs -v jfs2 -g rootvg -m /wpars/infaprtu001/opt/IBM/ITM \
-u infaprtu001 -a logname=INLINE -a size=1G
File system created successfully.
1040148 kilobytes total disk space.
New File System size is 2097152

/wpars/infaprtu001/opt/IBM/ITM:
        dev = /dev/fslv02
        vfs = jfs2
        log = INLINE
        mount = false
        type = infaprtu001
        account = false

In wpar /etc/filesystem we now also have:

/opt/IBM/ITM:
        dev = /dev/ITM_lv
        vfs = jfs2
        log = INLINE
        mount = true
        account = false

for wpar in `lswpar -c | grep -v '#name' | awk -F ':' '{print $1}'`
do
    rm -f /mksysbimg/* 2>/dev/null
    rm -f /tmp/wpardata/* 2>/dev/null
    /usr/bin/savewpar -f /mksysbimg/$wpar.bak $wpar
    if [ $? -ne 0 ]; then
      echo "Error: $wpar savewpar failed" | MAIL
    fi
dsmc incr /mksysbimg/$wpar.bak
done

InfoPROD:/>savewpar -f /backups/infaprtu001.bak infaprtu001
Creating list of files to back up.
Backing up 62988 files................
62988 of 62988 files (100%)
0512-038 savewpar: Backup Completed Successfully.
InfoPROD:/>

InfoPROD:/>restore -T -f infaprtu001.bak
Please mount volume 1 on infaprtu001.bak.
Press the Enter key to continue.
./var/websm/lwi/runtime/core/rcp/eclipse/plugins/com.ibm.lwi.deployment.nl2_7.1.1.0-LWI/fragment.xml
./var/websm/lwi/runtime/core/rcp/eclipse/plugins/com.ibm.lwi.deployment.nl2_7.1.1.0-LWI/nl2.jar
./var/websm/lwi/runtime/core/rcp/eclipse/plugins/com.ibm.lwi.deployment.nl3_7.1.1.0-LWI
./var/websm/lwi/runtime/core/rcp/

Posted in Real life AIX, wpar.

Tagged with , , , , , , , , , .


0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.



Some HTML is OK

or, reply to this post via trackback.

WordPress Anti Spam by WP-SpamShield



Copyright © 2016 - 2017 Waldemar Mark Duszyk. All Rights Reserved. Created by Blog Copyright.