This shows you the differences between two versions of the page.
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> |