Difference between revisions of "Proxmox"
 (→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:
- Vergroot de disk via de GUI, bijvoorbeeld van 12Gb naar 24Gb
 - parted /dev/vda
 - (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
- (parted) resizepart 2 100%
 - (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
- (parted) resizepart 5 100%
 - (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
- (parted) quit
 
Ethernet configuratie
Probleem: Connectie gaat verloren Oplossing: ethtool -K eth0 tx off rx off
Terug naar: Main Page