Update fs orders

This commit is contained in:
root
2024-03-17 00:22:47 +03:00
parent e2b36dd829
commit 7f10197281

View File

@@ -1,11 +1,24 @@
# LVM
#### Extend
```bash
lvextend -L+1G /dev/vg4/homevol
```
# Btrfs
### Snapshot
#### Create shapshot
```bash
btrfs subvolume snapshot xyz xyz-snapshot-path-name
# or
btrfs subvolume snapshot main "main-`date +%Y-%m-%d`"
```
#### Delete shapshot
```bash
btrfs subvolume delete xyz-snapshot-path-name
# or
btrfs subvolume delete "`echo main-* | tr ' ' \\\\n | sort | head -n 1`"
```
#### Resize
```bash
btrfs filesystem resize max /mnt/dmp/
@@ -20,23 +33,10 @@ btrfs property set -f . ro false
btrfs property set -f . ro true
```
### Snapshot
#### Create shapshot
# LVM
#### Extend
```bash
btrfs subvolume snapshot xyz xyz-snapshot-path-name
# or
btrfs subvolume snapshot main main-`date +%Y-%m-%d`
```
#### Delete shapshot
```bash
btrfs subvolume delete xyz-snapshot-path-name
# or
btrfs subvolume delete "`echo main-* | tr ' ' \\\\n | sort | head -n 1`"
lvextend -L+1G /dev/vg4/homevol
```
# Ext4