How do I expand/extend VM partion (Xen, Ubuntu)
-
Easy button.....blast the VM out of existence. Who has time to fight this crap?
I'll rebuild my Seafile system from the start but I just want to set it up better. Probably run on CentOS7 instead of Ubuntu, especially Ubuntu 14.
Since this is a file store, some other arrangement of VDs would probably be appropriate to make sure I have a backup of our data. That is, instead of running everything off a single large disk.
-
@travisdh1 said in How do I expand/extend VM partion (Xen, Ubuntu):
@matteo-nunziati said in How do I expand/extend VM partion (Xen, Ubuntu):
@travisdh1 said in How do I expand/extend VM partion (Xen, Ubuntu):
@matteo-nunziati said in How do I expand/extend VM partion (Xen, Ubuntu):
not the answer you are seacrhing for. anyway while this is really rude, if I have space, I prefer to create a new disk and use stuff like a live distro to move the system to the new disk, reinstall grub and go...
Yeah, I very much prefer adding another drive myself. But you just don't have to move anything with LVM, just extend the volume group.
I tend to not use LVM in VMs, just because mine are so small that it is realy simple to cp -va /* from live and then chroot and reinstall grub.
I don't like reinstalling grub when I don't have to. And I never have to move/copy anything. Might be doing yourself a disservice in not learning logical volume management (weather that's LVM, btrfs, or zfs.)
It is not about not learning LVM: I use it into the host, for the very purpouse of have flaxibility in storage config/expansion.
It is about having really simple containers for my apps. -
XenCenter released for Linux? Nice, when did that happen?
-
@matteo-nunziati said in How do I expand/extend VM partion (Xen, Ubuntu):
@travisdh1 said in How do I expand/extend VM partion (Xen, Ubuntu):
@matteo-nunziati said in How do I expand/extend VM partion (Xen, Ubuntu):
@travisdh1 said in How do I expand/extend VM partion (Xen, Ubuntu):
@matteo-nunziati said in How do I expand/extend VM partion (Xen, Ubuntu):
not the answer you are seacrhing for. anyway while this is really rude, if I have space, I prefer to create a new disk and use stuff like a live distro to move the system to the new disk, reinstall grub and go...
Yeah, I very much prefer adding another drive myself. But you just don't have to move anything with LVM, just extend the volume group.
I tend to not use LVM in VMs, just because mine are so small that it is realy simple to cp -va /* from live and then chroot and reinstall grub.
I don't like reinstalling grub when I don't have to. And I never have to move/copy anything. Might be doing yourself a disservice in not learning logical volume management (weather that's LVM, btrfs, or zfs.)
It is not about not learning LVM: I use it into the host, for the very purpouse of have flaxibility in storage config/expansion.
It is about having really simple containers for my apps.Then just go fully containerized with docker or something like it, why tie your own shoe laces together?
-
@travisdh1 easy&sad: docker is a new technology which is by no means well known here outside the devel circles. no sysadmin is aware of them. so if I have to make something which is expected to survive me, I have to go mainstream. small VM and go...
-
@matteo-nunziati said in How do I expand/extend VM partion (Xen, Ubuntu):
@travisdh1 easy&sad: docker is a new technology which is by no means well known here outside the devel circles. no sysadmin is aware of them. so if I have to make something which is expected to survive me, I have to go mainstream. small VM and go...
Containerization a new technology? I had it available in IRIX back in the 1990s, how could it be new?
-
@scottalanmiller It's called XO.
-
@travisdh1 said in How do I expand/extend VM partion (Xen, Ubuntu):
@matteo-nunziati said in How do I expand/extend VM partion (Xen, Ubuntu):
@travisdh1 easy&sad: docker is a new technology which is by no means well known here outside the devel circles. no sysadmin is aware of them. so if I have to make something which is expected to survive me, I have to go mainstream. small VM and go...
Containerization a new technology? I had it available in IRIX back in the 1990s, how could it be new?
it is not the tech is how people invest in knowledge. here is just windows server 2012+vmware. P.E.R.I.O.D.
want more knowledge? pass to enterprise level supply chains.
really, even yesterday I've talked with e potential new service provider: it was a microsoft shop. linux? naaa. unix? in the '80... -
@matteo-nunziati of course when I say windows I mean GUI not powershell. hell, the sysadmin has gone a bit nervous when he seen my server core VM and my hyper-v server install. he asked: are you sure you do not want a gui?
answer: yes please, put a cream topping on it, also!
-
of course it is a matter of market: if you move in the ICT market your providers are more skilled. but if you work in manufacturing with the S of SMB, what you get is this. It is not supply chain segmentation: it is your employer mindset which casts you to certain type of providers and you have to manage to change the mindset (good luck) and deal with daily issues to be solved.
as example: did you see my VoIP incident?
-
@Danp said in How do I expand/extend VM partion (Xen, Ubuntu):
@scottalanmiller It's called XO.
XO is only on 5.7. So that can't be it.
-
@scottalanmiller said in How do I expand/extend VM partion (Xen, Ubuntu):
@Danp said in How do I expand/extend VM partion (Xen, Ubuntu):
@scottalanmiller It's called XO.
XO is only on 5.7. So that can't be it.
Not sure what you mean here.
TBH, I think @guyinpv meant XS when he said XC.
-
@Danp said in How do I expand/extend VM partion (Xen, Ubuntu):
@scottalanmiller said in How do I expand/extend VM partion (Xen, Ubuntu):
@Danp said in How do I expand/extend VM partion (Xen, Ubuntu):
@scottalanmiller It's called XO.
XO is only on 5.7. So that can't be it.
Not sure what you mean here.
TBH, I think @guyinpv meant XS when he said XC.
That makes more sense except he said that he was running ON Ubuntu. XS is a base install, it does not run "on" anything else. So no matter what assumption we've come up with, the OP has some part of the statement that makes it impossible.
Someone thought that I was kissing when I asked what he was running... but now I've gotten about four different people who are all sure that he "obviously" meant something totally different from each other. So everyone thinks it is obvious, but clearly it is not. Is it XO, XS, XC or something else?
-
@scottalanmiller said
Someone thought that I was kissing when I asked what he was running... but now I've gotten about four different people who are all sure that he "obviously" meant something totally different from each other. So everyone thinks it is obvious, but clearly it is not. Is it XO, XS, XC or something else?
Slight typo there.
-
@BRRABill said in How do I expand/extend VM partion (Xen, Ubuntu):
@scottalanmiller said
Someone thought that I was kissing when I asked what he was running... but now I've gotten about four different people who are all sure that he "obviously" meant something totally different from each other. So everyone thinks it is obvious, but clearly it is not. Is it XO, XS, XC or something else?
Slight typo there.
LOL
-
@scottalanmiller Actually, he said "running a Ubuntu".
-
@Danp said in How do I expand/extend VM partion (Xen, Ubuntu):
@scottalanmiller Actually, he said "running a Ubuntu".
Oh, you are right. That makes more sense. So assuming that XenCenter means XenServer, that makes a lot more sense. I'm sure my brain assumed the key word was XenCenter and then added "on" because XenCenter is an app that can only run "on" not run something itself. Then it just got more and more confusing from there.
-
Dang it.
XenServer is 6.5.
XenCenter is 7.1 as of today.
The VM is headless Ubuntu 14.04 running Seafile.
I happen to also run a VM for XO but I don't know how that plays into this. Is XO better at extending partitions?I eventually gave up trying to extend the partition anyway. The docs I found said I had to blast away the partition so I needed to move data around to do it. Just a pain in the butt. It was only a test install of Seafile anyway. I intend to build it up properly this round.
The only question is now, I really don't want to go through this again, or I need to set it up so changing drive size isn't as big a deal.
We've used up our 10GB of Box space so I could easily just throw, say, 50GB at the new setup and it would probably last us a half decade. But still, it would be nice to do this in a way where I can more easily adjust available space if the time comes.