RE: How to erase all data on disks

"Masopust, Christian" <[email protected]> Tue, 4 Mar 2008 13:05:06 +0100
Newsgroups gmane.linux.redhat.release.taroon.general
Message-ID <60721B67EAF0994EAFFB561767B70014025656A3@nets13ha.ww300.siemens.net>
wouldn't it be better to have if=3D/dev/random or /dev/urandom ??

--
"I sense much NT in you, NT leads to Blue Screen.=20
Blue Screen leads to downtime, downtime leads to suffering. NT is the pat=
h to the darkside."=20

- Unknown Unix Jedi =20

> -----Original Message-----
> From: [email protected]=20
> [mailto:[email protected]] On Behalf Of SAID MOKHTARI
> Sent: Tuesday, March 04, 2008 9:29 AM
> To: Discussion of Red Hat Enterprise Linux 3 (Taroon)
> Subject: RE: How to erase all data on disks
>=20
> boot from cd or dvd with rescue mode (linux rescue)
> Then you can use dd to erase each disk=20
>=20
> # dd if=3D/dev/zero of=3D/dev/sda
> # dd if=3D/dev/zero of=3D/dev/sdb
> # sync
>=20
> bye
> -----Message d'origine-----
> De=A0: [email protected]=20
> [mailto:[email protected]] De la part de=20
> 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
>=20
> 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.
>=20
> How do I erase all the data on each disk?
>=20
> fdisk -l  displays the following file systems.
>=20
> # fdisk -l
>=20
> Disk /dev/sda: 255 heads, 63 sectors, 2213 cylinders
> Units =3D cylinders of 16065 * 512 bytes
>=20
>    Device Boot    Start       End    Blocks   Id  System
> /dev/sda1             6        71    530145   fd  Linux raid=20
> autodetect
> /dev/sda2            72       333   2104515   fd  Linux raid=20
> autodetect
> /dev/sda3             1         5     40131   12  Compaq diagnostics
> /dev/sda4           334      2213  15101100    5  Extended
> /dev/sda5           334       464   1052226   fd  Linux raid=20
> autodetect
> /dev/sda6           465       628   1317298+  fd  Linux raid=20
> autodetect
> /dev/sda7           629       890   2104483+  fd  Linux raid=20
> autodetect
> /dev/sda8           891      2213  10626966   fd  Linux raid=20
> autodetect
>=20
> Partition table entries are not in disk order
>=20
> Disk /dev/sdb: 255 heads, 63 sectors, 2213 cylinders
> Units =3D cylinders of 16065 * 512 bytes
>=20
>    Device Boot    Start       End    Blocks   Id  System
> /dev/sdb1             6        71    530145   fd  Linux raid=20
> autodetect
> /dev/sdb2            72       333   2104515   fd  Linux raid=20
> autodetect
> /dev/sdb3   *         1         1      8001   12  Compaq diagnostics
> /dev/sdb4           334      2213  15101100    5  Extended
> /dev/sdb5           334       464   1052226   fd  Linux raid=20
> autodetect
> /dev/sdb6           465       628   1317298+  fd  Linux raid=20
> autodetect
> /dev/sdb7           629       890   2104483+  fd  Linux raid=20
> autodetect
> /dev/sdb8           891      2213  10626966   fd  Linux raid=20
> autodetect
>=20
> Partition table entries are not in disk order
>=20
>=20
> --
> Taroon-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/taroon-list
>=20
>=20
> --
> Taroon-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/taroon-list
>=20

--
Taroon-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/taroon-list