[vox-tech] Remove a filesystem

MB vox-tech@lists.lugod.org
Sun, 02 May 2004 20:05:54 -0700


Jay,

I think that if you delete the partition in question, and then recreate 
it.  That should do the trick.  Something  like:

fdisk /dev/hdc
or
cfdisk /dev/hdc

Mark

me@heyjay.com wrote:

>Hi,
>
>Is there a command to remove a filesystem?
>
>If I partition a disk, build a filesystem (mke2fs), is there anything like
>rme2fs?  I'm playing with software raid and after I've built my raid device,
>built a filesystem on it, mounted it, I'd like to delete the filesystem, so
>that the next time I do a:
>
>mdadm -C /dev/md0 --level raid1 --raid-disks 2 missing /dev/hdc1
>
>It doesn't give me a message like:
>mdadm: /dev/hdc2 appears to contain an ext2fs file system
>    size=40001728K  mtime=Sun May  2 22:32:37 2004
>mdadm: /dev/hdc2 appears to be part of a raid array:
>    level=1 devices=2 ctime=Sun May  2 22:28:46 2004
>Continue creating array? y
>
>
>Thanks
>Jay
>
>_______________________________________________
>vox-tech mailing list
>vox-tech@lists.lugod.org
>http://lists.lugod.org/mailman/listinfo/vox-tech
>
>  
>