Search This Blog

Friday, March 9, 2012

How to copy mksysb from tape to disk ?

run below command --

tctl -f /dev/rmt0 rewind
tctl -f /dev/rmt0.1 fsf 3
dd if=/dev/rmt0.1 of=/mksysb/clone.image bs=<tapebs>


Where -
rmt0 = tape drive
bs=block size

how to get disk information from vgda ?

just run this ..

lqueryvg -Atp <diskname>  

NOTE :: Disk must be in a VG

How To commit all fileset from command line ?

just run this --

/usr/lib/instl/sm_inst installp_cmd -c -f all -g -X >> /tmp/commit.out 2>&1
How to restart a HMC?