Keyhelp unter KVM Proxmox. Festplatte vergrössern
Keyhelp unter KVM Proxmox. Festplatte vergrössern
Guten Abend,
Ich betreibe keyhelp in einem KVM unter Proxmox. Nun möchte ich gerne die Festplatte etwas vergrössern. Wie das unter Proxmox geht ist mir klar, allerdings ist dann die erweiterte Festplattengrösse noch nicht unter keyhelp verfügbar weil man da irgendwie die ext4 Partition noch anpassen müsste. Hat da jemand einen Tipp für mich wie man das durchführen kann?
Besten Dank im voraus
Otmar Schuster
Ich betreibe keyhelp in einem KVM unter Proxmox. Nun möchte ich gerne die Festplatte etwas vergrössern. Wie das unter Proxmox geht ist mir klar, allerdings ist dann die erweiterte Festplattengrösse noch nicht unter keyhelp verfügbar weil man da irgendwie die ext4 Partition noch anpassen müsste. Hat da jemand einen Tipp für mich wie man das durchführen kann?
Besten Dank im voraus
Otmar Schuster
Re: Keyhelp unter KVM Proxmox. Festplatte vergrössern
Code: Select all
resize2fs /dex/vdx
mfg Micha
--
If Bill Gates had a nickel for every time Windows crashed …
… oh wait, he does.
--
If Bill Gates had a nickel for every time Windows crashed …
… oh wait, he does.
Re: Keyhelp unter KVM Proxmox. Festplatte vergrössern
Die grösse muss ich da nirgens angeben? Ich denke der macht die also genauso so gross wie die festplatte ist?
Re: Keyhelp unter KVM Proxmox. Festplatte vergrössern
Yap, ohne weitere Parameter nimmt er alles.
mfg Micha
--
If Bill Gates had a nickel for every time Windows crashed …
… oh wait, he does.
--
If Bill Gates had a nickel for every time Windows crashed …
… oh wait, he does.
Re: Keyhelp unter KVM Proxmox. Festplatte vergrössern
Da kommt als Antwort:
Code: Select all
resize2fs 1.46.5 (30-Dec-2021)
The filesystem is already 62913787 (4k) blocks long. Nothing to do!
Re: Keyhelp unter KVM Proxmox. Festplatte vergrössern
Erst muss die Partition vergrössert werden, dann das Dateisystem.
War mir nicht mehr sicher, ob Proxmox das erledigt oder nicht, habe ich lange nicht mehr gemacht.
Edit: Wenn das bei Dir nicht drauf ist, einfach nachinstallieren:
Code: Select all
growpart /dev/xvda 1
Edit: Wenn das bei Dir nicht drauf ist, einfach nachinstallieren:
Code: Select all
apt-cache search growpart
cloud-guest-utils - cloud guest utilities
mfg Micha
--
If Bill Gates had a nickel for every time Windows crashed …
… oh wait, he does.
--
If Bill Gates had a nickel for every time Windows crashed …
… oh wait, he does.
Re: Keyhelp unter KVM Proxmox. Festplatte vergrössern
das mit growpart hat geklappt aber nun beim resis2fs meckert er:
Code: Select all
resize2fs: Permission denied to resize filesystem
Re: Keyhelp unter KVM Proxmox. Festplatte vergrössern
Probier mal nen fsck vorher …
Oder, wenn möglich, einfach nen reboot.
Code: Select all
fsck -n /dev/xvda
mfg Micha
--
If Bill Gates had a nickel for every time Windows crashed …
… oh wait, he does.
--
If Bill Gates had a nickel for every time Windows crashed …
… oh wait, he does.
Re: Keyhelp unter KVM Proxmox. Festplatte vergrössern
Ja das war's. Das fs hatte Fehler. Jetzt hat es geklappt! Vielen Dank
Re: Keyhelp unter KVM Proxmox. Festplatte vergrössern
mfg Micha
--
If Bill Gates had a nickel for every time Windows crashed …
… oh wait, he does.
--
If Bill Gates had a nickel for every time Windows crashed …
… oh wait, he does.