[Durham] Removing LVM

Dougie Nisbet dougie at highmoor.co.uk
Mon Feb 20 06:14:34 UTC 2012


I usually stick with 'cfdisk' for deleting and creating partitions.

cfdisk /dev/sdb

Can you delete the partition then create a new one using 'entire disk'?

Dougie

On 20/02/12 01:07, Andrew Glass wrote:
> Morning all :)
> Im tearing my hair out here (I dont have much left so could do with 
> keeping some :P )
> I have been given a 1tb drive that was formerly part of an LVM 
> system.  I would like to flatten it and format it as ext4.....its 
> driving me nuts!  using fdisk -l it only shows as
> Disk /dev/sdb: 33 MB, 33348608 bytes
> 14 heads, 55 sectors/track, 84 cylinders, total 65134 sectors
> Units = sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disk identifier: 0xdd6f3073
>    Device Boot      Start         End      Blocks   Id  System
> /dev/sdb1            2048       65133       31543   83  Linux
> Can anyone point me in the right direction for removing lvm and 
> getting its size back please?
> Cheers
> Andy
>
> -- 
> Im running the *Virgin London Marathon 2012* in aid of *Henshaw's 
> Society for Blind People*.  You can please help me raise vital funds 
> for this local charity which doesn't have the resources of other 
> national charities by visiting my Just Giving page @ 
> *http://www.justgiving.com/Andrew-GlassHULK*
> *
> *
> Donate via text message text ESAG53 followed by your amount to 70070 
> e.g. ESAG53 £20 to 70070 to donate £20 -  all multiples from £1 are 
> accepted :)
>
> Many thanks and cheers! :)
>
> Andrew
>
>
>
> _______________________________________________
> Durham mailing list   -   Durham at mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/durham
> http://www.nelug.org.uk/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/durham/attachments/20120220/58889048/attachment.htm>


More information about the Durham mailing list