RE: How to erase all data on disks
"SAID MOKHTARI" <SAID.MOKHTARI-zHj1J8mdWntS5n6/[email protected]> Tue, 4 Mar 2008 08:28:45 -0000
| Newsgroups | gmane.linux.redhat.release.taroon.general |
|---|---|
| Message-ID | <[email protected]> |
boot from cd or dvd with rescue mode (linux rescue) Then you can use dd to erase each disk=20 # dd if=3D/dev/zero of=3D/dev/sda # dd if=3D/dev/zero of=3D/dev/sdb # sync bye -----Message d'origine----- De=A0: [email protected] [mailto:taroon-list-bounces@redhat.= com] De la part de d.qureshi-7yFXA2EciJlaa/[email protected] Envoy=E9=A0: lundi 3 mars 2008 16:42 =C0=A0: [email protected] Objet=A0: How to erase all data on disks I have a Compaq Prolianr ML370 server running Red Hat Linux release 7.1. The server has two local disks each 18GB and mirrored as RAID 1. How do I erase all the data on each disk? fdisk -l displays the following file systems. # fdisk -l Disk /dev/sda: 255 heads, 63 sectors, 2213 cylinders Units =3D cylinders of 16065 * 512 bytes Device Boot Start End Blocks Id System /dev/sda1 6 71 530145 fd Linux raid autodetect /dev/sda2 72 333 2104515 fd Linux raid autodetect /dev/sda3 1 5 40131 12 Compaq diagnostics /dev/sda4 334 2213 15101100 5 Extended /dev/sda5 334 464 1052226 fd Linux raid autodetect /dev/sda6 465 628 1317298+ fd Linux raid autodetect /dev/sda7 629 890 2104483+ fd Linux raid autodetect /dev/sda8 891 2213 10626966 fd Linux raid autodetect Partition table entries are not in disk order Disk /dev/sdb: 255 heads, 63 sectors, 2213 cylinders Units =3D cylinders of 16065 * 512 bytes Device Boot Start End Blocks Id System /dev/sdb1 6 71 530145 fd Linux raid autodetect /dev/sdb2 72 333 2104515 fd Linux raid autodetect /dev/sdb3 * 1 1 8001 12 Compaq diagnostics /dev/sdb4 334 2213 15101100 5 Extended /dev/sdb5 334 464 1052226 fd Linux raid autodetect /dev/sdb6 465 628 1317298+ fd Linux raid autodetect /dev/sdb7 629 890 2104483+ fd Linux raid autodetect /dev/sdb8 891 2213 10626966 fd Linux raid autodetect Partition table entries are not in disk order -- Taroon-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/taroon-list -- Taroon-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/taroon-list