LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 01-18-2017, 12:14 AM   #1
haseem saeed
Member
 
Registered: Jan 2017
Location: karachi,Pakistan
Distribution: Centos,Ubuntu
Posts: 34

Rep: Reputation: Disabled
Angry creating lvm on centos


i am using a virtual box in which i am using Centos .so my main target is actually to make lvm on that .for that i have to see my sata drives which i am not being able to see or open .but as i can see there is vol group over there but as i am a newbie so i want to do it myself .and i am new to the virtual environment as well .i am attaching the screenshots so that it may backup what i want to ask :-)Click image for larger version

Name:	VirtualBox_centos_18_01_2017_10_58_49.png
Views:	19
Size:	14.6 KB
ID:	23998

Click image for larger version

Name:	VirtualBox_centos_18_01_2017_10_49_50.png
Views:	14
Size:	10.2 KB
ID:	23999
 
Old 01-18-2017, 01:41 AM   #2
ericson007
Member
 
Registered: Sep 2004
Location: Japan
Distribution: CentOS 7.1
Posts: 735

Rep: Reputation: 154Reputation: 154
In virtualbox you will be assigned a virtual drive. In that respect when installing centos it will see that specific virtual drive as if it is a sata drive. You do not need to explicitly need the sata drives connected on the hypervisor.

Just treat the virtual disk assigned by virtual box as if a real disk.

By default centos install usig lvm unless told otherwise. So if you want to do some testing from scratch, you can use virtualbox to assign another virtual disk to the virtual machine and try adding that to volumes etc. The red hat manuals have lots of information about lvm and how to work with them, so head over to their docimentation and start from there.

You can assign a physical disk to a virtual machine but i would have no idea if that is possible or how to do with virtualbox.

If you use kvm which comes with default with centos it is pretty straight forward, but i recommend while playing with it, use virtual disks without data you wish to keep. They are easier to assign and destroy.
 
1 members found this post helpful.
Old 01-18-2017, 04:06 AM   #3
haseem saeed
Member
 
Registered: Jan 2017
Location: karachi,Pakistan
Distribution: Centos,Ubuntu
Posts: 34

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ericson007 View Post
in virtualbox you will be assigned a virtual drive. In that respect when installing centos it will see that specific virtual drive as if it is a sata drive. You do not need to explicitly need the sata drives connected on the hypervisor.

Just treat the virtual disk assigned by virtual box as if a real disk.

By default centos install usig lvm unless told otherwise. So if you want to do some testing from scratch, you can use virtualbox to assign another virtual disk to the virtual machine and try adding that to volumes etc. The red hat manuals have lots of information about lvm and how to work with them, so head over to their docimentation and start from there.

You can assign a physical disk to a virtual machine but i would have no idea if that is possible or how to do with virtualbox.

If you use kvm which comes with default with centos it is pretty straight forward, but i recommend while playing with it, use virtual disks without data you wish to keep. They are easier to assign and destroy.
thank you so much.i found it very good .thanks for guiding me out..
 
  


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
[SOLVED] Can I move an lvm hard drive to another machine? [CentOS 6.6 - CentOS 7] ohmster Linux - Hardware 2 05-17-2015 12:07 AM
LVM - creating extra logical volumes (using extra space outside LVM) rhbegin Linux - Server 1 01-30-2013 07:08 PM
Creating additional volumes with LVM Zymus Linux - General 1 10-20-2011 02:41 AM
Problems with creating LVM in dual boot (CentOS/Win7) system jeff_schaffzin Linux - Newbie 4 07-28-2011 04:48 PM
Creating a LVM that uses XFS don_wombat_73 Linux - Newbie 1 12-01-2008 05:52 PM

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

All times are GMT -5. The time now is 07:51 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
Open Source Consulting | Domain Registration