How to resize the Root volume on LVM
location: ubuntuforums.com - date: July 24, 2010
LVM is a great utility for being able to resize volumes on the fly. However, resizing the root (/) volume is tricky since you need to unmount the volume to do file system checks, and that is impossible if you are using it. I wrote this because I could not find a way to do it anywhere else, so I studied and figured it out on my own and figure others out there may want to do this.
My reason for this was because I needed more space in my /home directories, and my root directory was way to large for what I was using it for. I made it 30GB in size, and was only using 6GB and it was not going to grow any more. I decided to shrink the root file system from 30GB to 15GB and give the other 15GB to /home. This is how I did it.
The best way to do it is with the Ubuntu Live CD for Alternate Install. It has the LVM applications already to go.
1. Reboot the computer with the CD in and boot off of CD.
2. Select Rescue a Broken System. When it gets to the point of asking you to mount a fi
New raid5 w/xfs, should I use LVM?
location: ubuntuforums.com - date: June 5, 2009
I'm going to be setting up a new software raid5 with 5x 1.5TB disks and I can't decide if I should be using LVM on it or not. I was going to just have it as a single partition, with XFS, and don't really need to be able to change partition sizes on the fly. Is there something I'm missing and I should be contemplating using LVM or should I just do without it and build the raid like usual?
Also does anyone have comments on using XFS on a partition this big (essentially 6TB).
HOW TO SETUP AND USE A LVM on a running system
location: ubuntuforums.com - date: September 20, 2007
This guide is based on using Feisty, but should work well with Edgy and Gutsy too. The guide originally showed how to use it with an XFS file system but the XFS files system has no tool to shrink it like reiser and ext3. The guide now shows how to use it with a reiser file system. Other file systems can be used.
This guide describes how to set up a LVM drive for data on a working system. This can be used, in my case for MythTv to have an expandable volume for recordings.
Parts of this guide were adapted for ubuntu from the following sources.
WARNING --- BEFORE STARTING
MAKE A BACKUP OF ANYTHING YOU DO NOT WANT TO LOSE OR CANNOT REPLACE. There are plenty of guides to backing up data here on the forums. If you follow the steps below you should not lose data. It is always a good idea to have b
A few questions about creating an LVM
location: ubuntuforums.com - date: November 26, 2012
My current setup is a 18GB root, 400GB /home, 2GB swap, 80GB Windows.
Is /home automatically separated?
Can I reinstall root without wiping home?
How much space on my 500GB drive should be allocated to the LVM? It'll dual-boot with a Windows 8 partition. This partition will also be the one that both OSes share.
LVM on RAID or RAID on LVM?
location: ubuntuforums.com - date: June 26, 2009
My analysis leads me to believe that running all your disks on an LVM, then creating a RAID based on partitions in the LVM is more flexible.
12.04 server install LVM options
location: ubuntuforums.com - date: February 22, 2013
Ok.. currently looking at building a 12.04 media server. have a 250gb drive that I wanted to dedicate to the server and software. A 2 Tb drive that I'd like to grow later to 10 Tb using LVM. But reading thru the forums, I'm a little confused so I thought it was time to ask.
The current thought process I have is to leave the 2 Tb drive disconnected and go thru the server install with a Guided Partition with no LVM. After install, install the LVM portion with the 2Tb drive installed. As I really am looking to have the 250gb drive as the OS only, as I think it would be better not to tie LVM to it incase of failure.
Am I looking at this correctly or will LVM install on the 250gb anyhow?
Repartitioning disks start again..
location: ubuntuforums.com - date: August 31, 2011
I'm reinstalling ubuntu server. I just installed it for the first time two days ago using guided partioning. I'm pretty sure I selected some guided LVM partioning because there are LVM partitions.
Anyway, I want to install raid 1. I have never done this before because I'm very inexperienced with linux and general system admin, but I'm following the instructions in the ubuntu server manual.
But before I do that I just want to basically reformat both disks I have installed and start from scratch. DOes anyone know the best way to do this. I have attempted and it said for the second disk that the LVM is using part of it and so no changes could be made.
new Ubuntu install using alt. cd and LVM (please help!)
location: linuxquestions.com - date: May 4, 2012
HI, I'm not exactly new to using Linux, but I am not technically proficient in coping with what I'm needing to accomplish.
I want to install Ubuntu 12.04 using LVM and including all 4 physical hard drives in my computer.
so far I have been able to install using the alternative cd using LVM but only on one drive. once installed I haven't been able to add the other drives into the LVM (sorry if the terminology isn't correct)
here are the questions I need answered and maybe help with.
1. can I get the Ubuntu alt. cd installer to use all 4 drives as one logical volume during the install? if so how?
2. if the answer to question 1 is no, can I add the other 3 drives to the logical volume after the install? if so how?
someone suggested using Fedora as it makes it easy to accomplish what I want, but I'm having reliability issues that I never had with Ubuntu and I'd like to move back.
here is what my current LVM looks like under Fedora 14:
ubuntu graphical lvm
location: linuxquestions.com - date: July 12, 2009
I loaded the graphical LMV application but it will not launch.
Is there any good readme on using the LVM. I read the man pages but was looking for a graphical interface if possible.
This is the program I loaded.
Logical Volume Management
System-config-lvm provides a graphical interface to the LVM tools (and related utilities, including fsck and resize2fs) which is good for non-emergency storage administration. It enables you to manage your logical volume and filesystem configuration with a few mouse clicks, and it prevents potentially- disasterous command-line mistakes such as reducing a logical volume size before reducing the filesystem contained within that volume.
(One word of warning: system-config-lvm does not recognize RAID elements as being in use, and therefore lists them as "Unitnitialized Entities". If you are using a LVM-on-RAID configuration, system-config-lvm will let you wipe out RAID elements by making them into PVs. Be careful!)
Page: 1 2 3 4 5 6 7 8 9 10