User Tools

Site Tools


aix:format_disk

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

aix:format_disk [2021/01/01 21:21]
127.0.0.1 external edit
aix:format_disk [2022/05/13 21:27] (current)
manu
Line 12: Line 12:
 <cli prompt='#'>​ <cli prompt='#'>​
 [root@aix01]/​root#​ dd if=/​dev/​zero of=/​dev/​hdisk3 bs=1024k count=$(bootinfo -s hdisk3) [root@aix01]/​root#​ dd if=/​dev/​zero of=/​dev/​hdisk3 bs=1024k count=$(bootinfo -s hdisk3)
 +</​cli>​
 +
 +Cleanup alternate disk
 +<cli prompt='#'>​
 +# alt_rootvg_op -X old_rootvg #remove the old vios installation
 +# chdev -l hdisk1 -a pv=clear # wipe out the PVID
 +# chpv -c hdisk1 #remove boot record
 +# dd if=/​dev/​zero of=/​dev/​hdisk1 bs=4092 count=12800 #erase hdisk1
 </​cli>​ </​cli>​
aix/format_disk.1609532501.txt.gz ยท Last modified: 2021/01/01 21:21 by 127.0.0.1