How do I expand/extend VM partion (Xen, Ubuntu)
-
@guyinpv said in How do I expand/extend VM partion (Xen, Ubuntu):
@travisdh1
So here is the output of those commands:Physical volume "/dev/xvda5" changed 1 physical volue(s) resized / 0 physical volume(s) not resized ... resize2fs 1.42.9 (4-Feb-2014) The filesystem is already 3832832 blocks long. Nothing to do!
But if I type
df -h
those 35GB or so aren't appearing anywhere.Did you reboot since changing the drive size? If not you'll have to tell the system to re-scan the block device.
echo 1 > /sys/block/xvda/rescan
If that doesn't work, then it get's slightly more complicated knowing where to look in /sys.
-
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...
-
@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.
-
@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.
-
@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.)
-
@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 don't usually extend the existing group. I have a VG for the OS and a VG for the data. Then I can just unattach/reattach the disk if I need to rebuild.
-
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.