Compare commits

..

4 Commits

Author SHA1 Message Date
4c7d8fa703
Create pve-update.md 2024-12-10 14:07:47 +01:00
59e403ff61
Update linux-disk-resize.md 2024-12-10 14:02:59 +01:00
065c517ba4
Update linux-disk-resize.md 2024-12-10 14:02:37 +01:00
fded74c558
Create linux-disk-resize.md 2024-12-10 14:01:09 +01:00
2 changed files with 69 additions and 0 deletions

View File

@ -0,0 +1,29 @@
---
title: Ресайз диска
description: ext4
date: 2024-12-10T13:57:00+01:00
tags: [linux]
---
## Расширение раздела
`<disk>` - sda \
`<partition>` - 1
```shell
growpart /dev/<disk> <partition>
```
## Увеличение ФС
`<partition>` - sda1
```shell
resize2fs /dev/<partition>
```
## Очистка логов
Если совсем нет места для выполнения команд
```shell
journalctl --vacuum-time=1d
```

View File

@ -0,0 +1,40 @@
---
title: Обновление Proxmox 7 -> Proxmox 8
description: И дошлифовка
date: 2024-12-10T14:05:00+01:00
tags: [linux]
---
## Актуализация ОС
```shell
apt -y update
apt -y dist-upgrade
```
## Проверка готовности обновления
```shell
pve7to8 --full
```
## Актуализация репозиториев
```shell
sed -i 's/bullseye/bookworm/g' /etc/apt/sources.list
sed -i 's/bullseye/bookworm/g' /etc/apt/sources.list.d/*.list
```
## Обновление ОС и PVE
```shell
apt -y update
apt -y dist-upgrade
init 6
```
## Дошлифовка
```shell
bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/misc/post-pve-install.sh)"
```