[ILUG] New drives getting recognized as device mapper devices

Walter Faleiro curtorkar at gmail.com
Mon Oct 20 22:25:55 IST 2008


> Achim,

I want to use the drives anew.

I had run fdisk and deleted all the partitions on it and after rebooting it
still shows device-mapper info.
Will the below command clear all information on the drive if I run it after
deleting the current partitions? Or is there more configuration after it.

Regards,
--Walter

>
>
> To clear the device-mapper data from an *empty* partition overwrite the
> first 2-4MB with zeros:
>        # dd if=/dev/zero of=/dev/sdb1 bs=1M count=2
>
>
> Regards,
> Achim
>
>
> --
> Achim Dreyer                || http://www.adreyer.com/
> Senior Unix & Network Admin || RHCE, RHCA, CCSA, CCSE, CCNA
> Phone: +44 7756 948229      || CACert assurer
>
> --
> Irish Linux Users' Group mailing list
> About this list : http://mail.linux.ie/mailman/listinfo/ilug
> Who we are : http://www.linux.ie/
> Where we are : http://www.linux.ie/map/
>



More information about the ILUG mailing list