LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 09-20-2017, 03:39 AM   #1
keif
Member
 
Registered: Apr 2013
Posts: 107

Rep: Reputation: Disabled
aws disk allocation filesystems


Hello,

I am being introduced to AWS and finding it to be fun learning, but also challenging (Thus my post).

I have a question about allocating disk space and creating filesystems when starting aws CentOS instances.

What I'm used to is I have a kickstart server (For hardware installs). And I was hoping I could use some of that knowledge and apply it to aws instances.

Here is my allocation for filesystems on the hardware kickstart installs for CentOS7:
Code:
logvol swap  --fstype swap --name=swap --vgname=SYSTEM --size=16384
logvol /     --fstype xfs --name=root --vgname=SYSTEM --size=1024
logvol /usr  --fstype xfs --name=usr  --vgname=SYSTEM --size=3072
logvol /var  --fstype xfs --name=var  --vgname=SYSTEM --size=1024
logvol /tmp  --fstype xfs --name=tmp  --vgname=SYSTEM --size=1024
logvol /home --fstype xfs --name=home --vgname=SYSTEM --size=1024
logvol /opt  --fstype xfs --name=opt  --vgname=SYSTEM --size=1024
When it comes to amazon aws I have yet to find anywhere in the tools to implement this info to allocate space and create file systems.

My end goal is to be able to start up aws instances on CentOS7 with the above filesystem. Something tells me I am thinking about this the wrong way because despite scouring google for answers I am not able to find something to work with.

So any advice would be greatly appreciated.

Thank you. Keith
 
Old 09-20-2017, 02:21 PM   #2
User9
Member
 
Registered: Mar 2016
Location: Boston
Distribution: Arch Linux, Debian, Ubuntu Server, FreeBSD, FreeNAS
Posts: 53

Rep: Reputation: Disabled
I don't know about Amazon AWS or LVM but I think you make LVM volumes the same way you would normally with out using logvol which I also don't know about but a quick search shows it seems to be a tool to automate making LVM volumes in CentOS(possibly other OS too)

Anyway Searched 'How to create LVM on Amazon AWS' and these two look like they may help

How to create LVM in Amazon AWS EC2 / CentOS
https://it.i88.ca/2014/09/how-to-cre...n-aws-ec2.html

How-to Create an LVM Volume on AWS
https://n2ws.com/how-to-guides/how-t...me-on-aws.html

Hope this helps
 
1 members found this post helpful.
Old 09-23-2017, 04:17 AM   #3
voleg
Member
 
Registered: Oct 2013
Distribution: RedHat CentOS Fedora SuSE
Posts: 354

Rep: Reputation: 51
Amazon images (and other cloud images) usually have no LVM.
They have only one partition, that is obviously /
If swap partition in use, then it comes before root partition.
The benefit of this structure is flexible OS disk size settings when ordering instance.
The cloud-init procedure will resize last (root) partition to fill all ordered disk.

Usually, you will attach another disk for data, that can be formatted as you want.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: List of 71 AWS services and their use! AWS cloud terminology! LXer Syndicated Linux News 0 03-17-2017 02:35 PM
Scripting for disk usage of filesystems. theondr Linux - Newbie 4 02-16-2013 10:02 AM
Strange debian 5.0 setup disk allocation units ? Vilius Debian 1 03-09-2009 12:42 PM
Virtual disk allocation advice requested =dn Linux - Server 3 06-30-2008 09:54 AM
FreeBSD disk space allocation help. LinuxNewbie999 *BSD 1 03-31-2008 02:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

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