LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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, 08: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, 08:54 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
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-18-2012 11:08 PM
[SOLVED] how to add/convert memory from my NTFS partition to Linux partition? Morgan- Linux - Software 4 06-07-2010 10:27 PM
Shrink ext3 partition and convert to ntfs? NewLeaf General 6 03-30-2007 11:07 PM
Fedora5 help convert NTFS partition/format to Linux please lizard_king825 Linux - General 4 05-21-2006 12:11 AM
How to convert partition to LVM? TheOther1 Linux - General 0 01-04-2004 12:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:51 AM.

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
Open Source Consulting | Domain Registration