LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   delete logical volume (lvm) (http://www.linuxquestions.org/questions/slackware-14/delete-logical-volume-lvm-937531/)

Art McClure 04-01-2012 07:22 AM

delete logical volume (lvm)
 
I obtained a HDD that had fedora 16 on it. Checking with pmagic I found a logical volume on the drive. Pmagic would not delete it. I basically want to wipe the whole drive, so that I can have 2 computers for slackware, one stable system, and one experimental. Any command or program that will do that?
Other than that, I stopped using pclos and suse. I like slacking better. As L. Torvalds said recently, suse security is a pain. It sorta is.

Thom1b 04-01-2012 07:27 AM

Hi,

Delete all partitions with fdisk or cfdisk should be enough to wipe the drive completely. Then you can create your partitions like you want and format them.

Art McClure 04-01-2012 09:41 AM

Thanks very much. I tried fdisk and couldn't delete the lv partition. I then realized that I had to delete the fs first. The HDD is one partition now. Ready to install slackware. (I'm gonna make seperate partitions first.)

Richard Cranium 04-01-2012 01:32 PM

LVM works just fine with slackware. It's worth learning how to use it.

Art McClure 04-01-2012 01:47 PM

Yeah, I learned a bit of lvm in fedora 16, but was a bit afraid of it, like anything new. It seems more useful for a sys admin with a bunch of servers to maintain. I like the way you can change volume size, if your initial install ratios were a bit off. Volume management is easier too. Once you learn the outs and ins. Its definitely the present and future.
However, I am a computer oaf with a small network. After trying a good number of distros over 14 years, I like slackware. Many very knowledgeable people in the forum. Go to an ubuntu forum and check the messages. Some are very sad. But that's who ubuntu serves.
Thanks for the info. Can I install slackware with lvm on my next computer?

stormtracknole 04-01-2012 05:54 PM

Quote:

Originally Posted by Art McClure (Post 4642136)
Yeah, I learned a bit of lvm in fedora 16, but was a bit afraid of it, like anything new. It seems more useful for a sys admin with a bunch of servers to maintain. I like the way you can change volume size, if your initial install ratios were a bit off. Volume management is easier too. Once you learn the outs and ins. Its definitely the present and future.
However, I am a computer oaf with a small network. After trying a good number of distros over 14 years, I like slackware. Many very knowledgeable people in the forum. Go to an ubuntu forum and check the messages. Some are very sad. But that's who ubuntu serves.
Thanks for the info. Can I install slackware with lvm on my next computer?

You can. Just follow this how to: README_LVM

Richard Cranium 04-01-2012 07:04 PM

Quote:

Originally Posted by Art McClure (Post 4642136)
However, I am a computer oaf with a small network. After trying a good number of distros over 14 years, I like slackware. Many very knowledgeable people in the forum. Go to an ubuntu forum and check the messages. Some are very sad. But that's who ubuntu serves.
Thanks for the info. Can I install slackware with lvm on my next computer?

Well, I liked the fact that I didn't have to guess the correct size of my partitions when I was doing the install. I could fsck it up at install, but as long as I didn't allocate all of my extents to logical volumes, I could always add more stuff to the partitions that needed it. If I needed to make a temporary mount point for something, it was easy to add a new logical volume, mount it, and maybe throw it away when I was done.

I refrained from using LVM for a long time since I thought that it would complicate things. It actually made things easier.


All times are GMT -5. The time now is 07:40 PM.