LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-13-2012, 09:45 AM   #1
grendle65
LQ Newbie
 
Registered: May 2012
Posts: 4

Rep: Reputation: Disabled
How to Convert NTFS Partition to LVM


Hello, I am new to Linux and also this site. I have a Redhat 5 enterprise server that keeps running low on space. After looking through the server i have come accross an NTFS partition that is not being used. I would like to take that 107 GB and add it to my current LVM.

First - How do i mount that drive to see what is on it

Second - how do i convert that space to the existing LVM?

Thanks
DJ
 
Old 09-13-2012, 09:54 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,578
Blog Entries: 14

Rep: Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969
Haven't done it but the answer to your first question appears to be addressed well at:
http://linuxconfig.org/How_to_mount_...d_write_access

On your second question:
You'd unmount the NTFS filesystem if still mounted.
Use fdisk or parted to change the partition type from NTFS to Linux LVM
Run pvcreate on the partition to make it a Physical Volume (PV) ready for LVM
Use vgextend to add the new PV to your existing volume group (VG).
Use lvextend to add the new space in the VG to the logical volume (LV)
Use resize2fs to make the ext* filesystem use the space that was added to the LV. (Assuming this is an ext2 or ext3 filesystem).

In Linux there are manual pages for most commands. You can run the following to get more details:
man fdisk
man pvcreate
man vgextend
man lvextend
man resize2fs
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to convert non LVM root partition to LVM? pinga123 Linux - Newbie 5 04-19-2012 12:08 AM
[SOLVED] how to add/convert memory from my NTFS partition to Linux partition? Morgan- Linux - Software 4 06-07-2010 11:27 PM
Shrink ext3 partition and convert to ntfs? NewLeaf General 6 03-31-2007 12:07 AM
Fedora5 help convert NTFS partition/format to Linux please lizard_king825 Linux - General 4 05-21-2006 01:11 AM
How to convert partition to LVM? TheOther1 Linux - General 0 01-04-2004 01:29 PM


All times are GMT -5. The time now is 12:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration