Update btrfs

This commit is contained in:
root
2024-03-17 00:25:02 +03:00
parent 7f10197281
commit 82d90061d9

View File

@@ -5,20 +5,22 @@
#### Create shapshot
```bash
btrfs subvolume snapshot xyz xyz-snapshot-path-name
# or
```
or
```bash
btrfs subvolume snapshot main "main-`date +%Y-%m-%d`"
```
#### Delete shapshot
```bash
btrfs subvolume delete xyz-snapshot-path-name
# or
```
or
```bash
btrfs subvolume delete "`echo main-* | tr ' ' \\\\n | sort | head -n 1`"
```
### Common
#### Resize
```bash
btrfs filesystem resize max /mnt/dmp/