LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-30-2011, 08:49 AM   #1
splinux
Member
 
Registered: Jun 2011
Location: Sri Lanka
Distribution: centos,redhat,ubuntu
Posts: 90

Rep: Reputation: Disabled
Logical Volume Important question


When we install the OS, we can create the volume group ?

if we select the default layout, the system creating volume group automatically. so we cant create in OS installation time ?
 
Old 06-30-2011, 09:01 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
You've not even said what distro you're talking about, but if you mean RHEL / CentOS then you are free to choose if you don't choose default layout.

I don't understand how you expect to be able to create volume groups when you are selecting "default layout"? Kind of defeats the point of it doesn't it??
 
Old 06-30-2011, 09:04 AM   #3
splinux
Member
 
Registered: Jun 2011
Location: Sri Lanka
Distribution: centos,redhat,ubuntu
Posts: 90

Original Poster
Rep: Reputation: Disabled
i am using centos 5.6.
 
Old 06-30-2011, 09:05 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
right, so my previous answer applies.
 
Old 06-30-2011, 09:09 AM   #5
splinux
Member
 
Registered: Jun 2011
Location: Sri Lanka
Distribution: centos,redhat,ubuntu
Posts: 90

Original Poster
Rep: Reputation: Disabled
This is my target.

I have install the centos then i have create virtualization

Base OS 5.6

i have to create two virtualizal OS 5.6
One is for mail server
another one is for web server

but any tiem i should able to extend space when i require for mail server or web server.

plz tell me good solution for this
 
Old 06-30-2011, 09:11 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
a solution for what?? You want to be able to add more space to an LV in the future? the disk management tools can handle this, but it's pretty simple to do manually. Plenty of guides available. There's no consequence of your method of installation if it's already LVM.
 
Old 06-30-2011, 09:14 AM   #7
splinux
Member
 
Registered: Jun 2011
Location: Sri Lanka
Distribution: centos,redhat,ubuntu
Posts: 90

Original Poster
Rep: Reputation: Disabled
if use the tools then not loosing any data ?
 
Old 06-30-2011, 09:18 AM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
extending an LVM volume is not at all dangerous.

Extending the filesystem that is on the volume can be dangerous though. You should be aware of the layers involved here...

- Disk
- LVM type Partition
- Physical volume
- Volume Group
- Logical Volume
- Filesystem
- Files

whilst the size of the LV should be the same size as the filesystem they are VERY different things. That said using a tool like resize2fs is very simple and generally very benign when englarging it.
 
Old 06-30-2011, 09:28 AM   #9
splinux
Member
 
Registered: Jun 2011
Location: Sri Lanka
Distribution: centos,redhat,ubuntu
Posts: 90

Original Poster
Rep: Reputation: Disabled
i am very new in linux thats why i asked. i will get the back up every time.
i dont have any experience in such tools can u send me name of the link that tool ?
if i want to use that tool , i have install in which file system ?
LVM or normal file system
 
Old 06-30-2011, 09:34 AM   #10
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
it doesn't matter when you install it. I would strongly suggest planning properly in the first place. Make sure you don't need to make changes and you'll be much better off.
 
  


Reply



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
LVM Mount Physical Volume/Logical Volume without a working Volume Group mpivintis Linux - Newbie 10 01-11-2014 07:02 AM
Extending logical volume LogVol01 Insufficient allocatable logical exte swap space umeshsharma Linux - Newbie 4 06-22-2009 12:26 PM
Logical Volume Management "pvmove" Question jamida Linux - Software 1 02-23-2008 09:56 AM
logical volume question binary_0011 Other *NIX 3 01-11-2007 08:43 AM
Logical volume management question smoker Linux - Software 2 08-17-2005 12:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:47 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