Difference between revisions of "Proxmox"

From PostgreSQL_wiki
Jump to: navigation, search
(Resize disk)
(Resize disk)
Line 2: Line 2:
 
=== Resize disk ===
 
=== Resize disk ===
 
Dit zijn de stappen:
 
Dit zijn de stappen:
# Vergroot de disk via de GUI
+
# Vergroot de disk via de GUI, bijvoorbeeld van 12Gb naar 24Gb
  +
# parted /dev/vda
  +
# (parted) print
  +
<pre>
  +
(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
  +
</pre>
  +
# (parted) resizepart 2 100%
  +
# (parted) print
  +
<pre>
  +
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
  +
</pre>
  +
# (parted) resizepart 5 100%
  +
# (parted) print
  +
<pre>
  +
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
  +
</pre>
  +
# (parted) quit
   
 
=== Ethernet configuratie ===
 
=== Ethernet configuratie ===

Revision as of 19:31, 31 May 2023

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