AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
Expand all | Collapse all

Wipe Physical Volume from NIM

  • 1.  Wipe Physical Volume from NIM

    Posted Tue October 14, 2014 09:27 AM

    Originally posted by: TheDecoy


    Hi all,

    im looking to be able to wipe physical drive (in phys server) from the NIM.  This needs to be a DoD level wipe (multipass). I'm looking at creating a SPOT from maybe the AIX boot disk but need to know what utility i can run from the disk (included) that can do the disk wipe.  I figure i can create an lpp source from the boot disk and create a SPOT from that to push to a client and wipe the disk from there.

    Tell me i'm not crazy and this can be done...

    Thanks in advance.



  • 2.  Re: Wipe Physical Volume from NIM

    Posted Mon October 27, 2014 04:55 AM

    Originally posted by: PontiacGeronimo



    you can create spot from mksysb but i believe you can use any SPOT to boot and erase even rootvg disk.

     

    other disks can be erased as internet says:

     

    Diag
    Task Selection
    Format Media
    Select disk, F7 to continue
    Erase Disk
    Enter to continue
    YES to continue
    Write patterns to drive
    Take your pick, 3 random patterns should be fairly safe but use more if you want.

     

    also:

    AIX allows disks to be erased via the Format media service aid in the AIX diagnostic package. To erase a hard disk, run the following command:

    # diag -T format

    This will start the Format media service aid in a menu driven interface. If prompted, choose your terminal. You will then be presented with a resource selection list. Choose the hdisk devices you want to erase from this list and commit your changes according to the instructions on the screen.

    Once you have committed your selection, choose Erase Disk from the menu. You will then be asked to confirm your selection. Choose Yes. You will be asked if you want to Read data from drive or Write patterns to drive. Choose Write patterns to drive. You will then have the opportunity to modify the disk erasure options. After you specify the options you prefer, choose Commit Your Changes. The disk is now erased. Please note, that it can take a long time for this process to complete.