Proxmox

From PostgreSQL_wiki
Revision as of 19:31, 31 May 2023 by Martin (talk | contribs) (Resize disk)
Jump to: navigation, search

Technische oplossingen

Resize disk

Dit zijn de stappen:

  1. Vergroot de disk via de GUI, bijvoorbeeld van 12Gb naar 24Gb
  2. parted /dev/vda
  3. (parted) print
(parted) print                                                            
Model: QEMU QEMU HARDDISK (scsi)
Disk /dev/sda: 25.8GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type      File system  Flags
 1      1049kB  256MB   255MB   primary   ext2         boot
 2      257MB   12.9GB  12.6GB  extended
 5      257MB   12.9GB  12.6GB  logical                lvm
  1. (parted) resizepart 2 100%
  2. (parted) print
Model: QEMU QEMU HARDDISK (scsi)
Disk /dev/sda: 25.8GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type      File system  Flags
 1      1049kB  256MB   255MB   primary   ext2         boot
 2      257MB   25.8GB  25.5GB  extended
 5      257MB   12.9GB  12.6GB  logical                lvm
  1. (parted) resizepart 5 100%
  2. (parted) print
Model: QEMU QEMU HARDDISK (scsi)
Disk /dev/sda: 25.8GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type      File system  Flags
 1      1049kB  256MB   255MB   primary   ext2         boot
 2      257MB   25.8GB  25.5GB  extended
 5      257MB   25.8GB  25.5GB  logical                lvm
  1. (parted) quit

Ethernet configuratie

Probleem: Connectie gaat verloren Oplossing: ethtool -K eth0 tx off rx off


Terug naar: Main Page