Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SWG #929

Open
wants to merge 658 commits into
base: master
Choose a base branch
from
Open

SWG #929

Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
658 commits
Select commit Hold shift + click to select a range
c51e1ed
Update New Community Member Storage Worker Onboarding Program.md
yasiryagi May 30, 2023
bce63bb
Update New Community Member Storage Worker Onboarding Program.md
yasiryagi May 30, 2023
5aef5fc
Add missing part to Caddyfile and enable external access to monitorin…
kalpakci Jun 5, 2023
4a8462e
Create backup Grafana Dashboards and Datasources.md
yasiryagi Jun 5, 2023
25c5c03
Update backup Grafana Dashboards and Datasources.md
yasiryagi Jun 5, 2023
54f279c
grafana dashboards and datasources back
yasiryagi Jun 5, 2023
7428c12
Update README.md
yasiryagi Jun 5, 2023
54528e5
Merge branch 'master' of https://github.com/yasiryagi/community-repo
yasiryagi Jun 5, 2023
be4c371
grafana dashboards and datasources back
yasiryagi Jun 5, 2023
6510a57
dashboards
yasiryagi Jun 5, 2023
fc3a658
Update README.md
yasiryagi Jun 6, 2023
7b31523
Update README.md
yasiryagi Jun 6, 2023
33abbd2
Update README.md
yasiryagi Jun 6, 2023
96b69c9
Update README.md
yasiryagi Jun 6, 2023
a20f7b5
Update README.md
yasiryagi Jun 6, 2023
48c1ef6
Update README.md
yasiryagi Jun 6, 2023
16e727a
Update README.md
yasiryagi Jun 7, 2023
febd306
Update README.md
yasiryagi Jun 11, 2023
615054b
Update README.md
yasiryagi Jun 11, 2023
05cc606
Update README.md
yasiryagi Jun 12, 2023
b9d2e2f
Update README.md
yasiryagi Jun 13, 2023
c0ba43f
Update README.md
yasiryagi Jun 19, 2023
e9e6123
hosting docker-compose
yasiryagi Jul 2, 2023
6b995c5
Merge branch 'master' into caddy-as-a-service
yasiryagi Jul 2, 2023
d6a57bf
Merge pull request #2 from kalpakci/caddy-as-a-service
yasiryagi Jul 2, 2023
1af9d33
update
yasiryagi Jul 2, 2023
757d710
correction --name
yasiryagi Jul 2, 2023
97d18b1
Update Strorage_WG_Worker.json
yasiryagi Jul 24, 2023
a64fc33
Worker_on_board_program
yasiryagi Jul 24, 2023
be30645
Update Strorage_WG_Worker_on_board_program.json
yasiryagi Jul 24, 2023
de85710
Update Strorage_WG_Worker_on_board_program.json
yasiryagi Jul 24, 2023
1b10075
Update Initial_ setup_commands.md
yasiryagi Jul 24, 2023
bd7344e
Update docker-compose.yml
yasiryagi Jul 25, 2023
08b004a
Update backup Grafana Dashboards and Datasources.md
yasiryagi Jul 27, 2023
c9d0e6f
dashboards and datasources
yasiryagi Jul 27, 2023
70132b4
Merge branch 'master' of https://github.com/yasiryagi/community-repo
yasiryagi Jul 27, 2023
12ccb20
lead dashboard
yasiryagi Jul 28, 2023
4694046
Update README.md
yasiryagi Jul 28, 2023
ddc6bb4
Grafana lead sources and dashboards
yasiryagi Aug 3, 2023
53d02b0
Merge branch 'master' of https://github.com/yasiryagi/community-repo
yasiryagi Aug 3, 2023
35382c3
Grafana lead sources and dashboards
yasiryagi Aug 3, 2023
7023165
Create discretionary payment
yasiryagi Aug 7, 2023
d8d6e96
Update and rename discretionary payment to discretionary payment.md
yasiryagi Aug 7, 2023
700c568
Update discretionary payment.md
yasiryagi Aug 7, 2023
df97c15
Update discretionary payment.md
yasiryagi Aug 7, 2023
747429f
Update Storage Scale.md
yasiryagi Aug 13, 2023
8abfa8a
Update Storage Scale.md
yasiryagi Aug 13, 2023
a144062
Update Storage Scale.md
yasiryagi Aug 13, 2023
9068b9e
Update Storage Scale.md
yasiryagi Aug 13, 2023
17f4e77
Update Storage Scale.md
yasiryagi Aug 13, 2023
e2e0f49
Update Storage Scale.md
yasiryagi Aug 13, 2023
f54fd6e
Update Storage Scale.md
yasiryagi Aug 13, 2023
4be0a4f
Update Storage Scale.md
yasiryagi Aug 13, 2023
3e4f943
Update Storage Scale.md
yasiryagi Aug 13, 2023
e9b4ef9
Update Storage Scale.md
yasiryagi Aug 13, 2023
13dd016
Create Salary_cal
yasiryagi Sep 5, 2023
c2cd387
Update and rename Salary_cal to Salary_cal.md
yasiryagi Sep 5, 2023
cdf9f37
Update Salary_cal.md
yasiryagi Sep 5, 2023
f96e455
Update Salary_cal.md
yasiryagi Sep 5, 2023
2a4ad95
Update Salary_cal.md
yasiryagi Sep 5, 2023
e5b3cb4
Update Salary_cal.md
yasiryagi Sep 5, 2023
40581ff
Update Salary_cal.md
yasiryagi Sep 5, 2023
0cb0434
Update Salary_cal.md
yasiryagi Sep 5, 2023
873f297
Update Salary_cal.md
yasiryagi Sep 5, 2023
092de17
Update Salary_cal.md
yasiryagi Sep 5, 2023
e8cdb0e
Update Salary_cal.md
yasiryagi Sep 6, 2023
67114f8
Update Salary_cal.md
yasiryagi Sep 6, 2023
db6175f
Update Salary_cal.md
yasiryagi Sep 6, 2023
ce01260
Update Salary_cal.md
yasiryagi Sep 6, 2023
3687dff
Update Salary_cal.md
yasiryagi Sep 8, 2023
d7627a3
Update README.md
yasiryagi Sep 8, 2023
8bce16b
Update Salary_cal.md
yasiryagi Sep 8, 2023
2f72a4e
Update Salary_cal.md
yasiryagi Sep 8, 2023
dfb527b
Update Salary_cal.md
yasiryagi Sep 9, 2023
12e76c2
Update Salary_cal.md
yasiryagi Sep 9, 2023
7043a7d
Update README.md
yasiryagi Oct 20, 2023
8d46b7c
Update README.md
yasiryagi Oct 20, 2023
65870b4
Create LVM
yasiryagi Oct 20, 2023
ed1f38b
Rename LVM to LVM.md
yasiryagi Oct 20, 2023
5000068
Update Initial_ setup_commands.md
yasiryagi Oct 21, 2023
bbb1c66
Update README.md
yasiryagi Oct 24, 2023
e2e41a3
Create copy_files.sh
yasiryagi Oct 28, 2023
22720b4
Update copy_files.sh
yasiryagi Oct 28, 2023
8c4e0c9
Update copy_files.sh
yasiryagi Oct 29, 2023
7326589
Update copy_files.sh
yasiryagi Oct 29, 2023
1d7bbf7
Update copy_files.sh
yasiryagi Oct 29, 2023
6116a6a
Update copy_files.sh
yasiryagi Oct 29, 2023
2e2f76a
Update copy_files.sh
yasiryagi Oct 30, 2023
b94c1ba
Update copy_files.sh
yasiryagi Oct 30, 2023
33a5c6d
Update README.md
yasiryagi Nov 8, 2023
d233b36
Update docker-compose.yml
yasiryagi Nov 10, 2023
6e63f7b
Update docker-compose.yml
yasiryagi Nov 10, 2023
060a5be
Update docker-compose.yml
yasiryagi Nov 10, 2023
21d79b3
Update docker-compose.yml
yasiryagi Nov 10, 2023
c01f04a
Update docker-compose.yml
yasiryagi Nov 10, 2023
15ec39e
Update docker-compose.yml
yasiryagi Nov 10, 2023
67dcad4
Update Caddyfile
yasiryagi Nov 10, 2023
6276920
Create scripts.md
yasiryagi Nov 12, 2023
1e0898a
Rename scripts.md to README.md
yasiryagi Nov 12, 2023
0619645
Rename copy_files.sh to copy_files.sh
yasiryagi Nov 12, 2023
81e81ca
Create buckets_diff.sh
yasiryagi Nov 12, 2023
e4a2625
Create mirror_bucket.sh
yasiryagi Nov 12, 2023
228f844
Update README.md
yasiryagi Nov 13, 2023
45b3495
Update README.md
yasiryagi Nov 13, 2023
1ccb59f
Update mirror_bucket.sh
yasiryagi Nov 13, 2023
8c15701
Update mirror_bucket.sh
yasiryagi Nov 13, 2023
2d8ec48
Update mirror_bucket.sh
yasiryagi Nov 13, 2023
a5cc622
Update mirror_bucket.sh
yasiryagi Nov 13, 2023
3d27c07
Update buckets_diff.sh
yasiryagi Nov 14, 2023
4cde6c0
Update mirror_bucket.sh
yasiryagi Nov 14, 2023
ecf1fdb
Update mirror_bucket.sh
yasiryagi Nov 15, 2023
eb134cc
Update copy_files.sh
yasiryagi Nov 15, 2023
21117e8
Update copy_files.sh
yasiryagi Nov 15, 2023
8923d5c
Create cmp_qn_local.sh
yasiryagi Nov 15, 2023
36d3e38
Update README.md
yasiryagi Nov 16, 2023
87bf0d3
Update README.md
yasiryagi Nov 16, 2023
dfc58cc
Update README.md
yasiryagi Dec 11, 2023
b534926
Update README.md
yasiryagi Dec 11, 2023
c2e8dcb
Update docker-compose.yml
yasiryagi Dec 11, 2023
c990588
Update README.md
yasiryagi Dec 11, 2023
399a731
Update README.md
yasiryagi Dec 11, 2023
a9b80e3
Update README.md
yasiryagi Dec 11, 2023
66efd2e
Update docker-compose.yml
yasiryagi Jan 3, 2024
9687427
Update README.md
yasiryagi Jan 4, 2024
763b9f9
Update LVM.md
yasiryagi Jan 15, 2024
1ff002c
Update README.md
yasiryagi Jan 17, 2024
c449202
Update README.md
yasiryagi Jan 17, 2024
9a20cf2
Update docker-compose.yml
yasiryagi Jan 17, 2024
defecdc
Update README.md
yasiryagi Jan 17, 2024
056d107
Update README.md
yasiryagi Jan 17, 2024
3d86263
Update docker-compose.yml
yasiryagi Jan 17, 2024
43c52c1
Update README.md
yasiryagi Jan 17, 2024
4d00eb9
Update prometheus.yml
yasiryagi Jan 17, 2024
6cb15f1
Update README.md
yasiryagi Jan 17, 2024
28afb79
Update README.md
yasiryagi Jan 17, 2024
b3da709
Update README.md
yasiryagi Jan 17, 2024
2a50346
Update README.md
yasiryagi Jan 17, 2024
92a0c16
Update README.md
yasiryagi Jan 17, 2024
6f7f39c
Update README.md
yasiryagi Jan 17, 2024
f8e20dc
Update README.md
yasiryagi Jan 17, 2024
f7c84bd
Update docker-compose.yml
yasiryagi Jan 17, 2024
27f8454
Update README.md
yasiryagi Jan 17, 2024
18ca59e
Update README.md
yasiryagi Jan 18, 2024
5db01d6
Update README.md
yasiryagi Jan 19, 2024
b5d565a
Update README.md
yasiryagi Jan 19, 2024
5282d43
Update README.md
yasiryagi Jan 19, 2024
b34359c
Update README.md
yasiryagi Jan 20, 2024
b74a24e
Update README.md
yasiryagi Jan 20, 2024
8b0c895
Update docker-compose.yml
yasiryagi Jan 20, 2024
88ba85d
Update docker-compose.yml
yasiryagi Jan 21, 2024
b2058de
Missing objects fix for Storage provider
Arsi44 Jan 28, 2024
506e6b1
Update mirror_bucket.sh
yasiryagi Jan 30, 2024
9430d2d
Update discretionary payment.md
yasiryagi Feb 7, 2024
54a3b93
feat: :sparkles: create tracking logic for already copied files
Feb 14, 2024
93d255f
Merge pull request #3 from Arsi44/master
yasiryagi Feb 15, 2024
057be57
Update README.md
yasiryagi Feb 15, 2024
f3eece0
Create Missing objects fix for Storage provider
yasiryagi Feb 15, 2024
ecfcb12
Update Missing objects fix for Storage provider
yasiryagi Feb 15, 2024
87404d8
Update Missing objects fix for Storage provider
yasiryagi Feb 15, 2024
136c939
Update Missing objects fix for Storage provider
yasiryagi Feb 15, 2024
c42092f
Update Missing objects fix for Storage provider
yasiryagi Feb 15, 2024
28e18c3
Rename img.png to img.png
yasiryagi Feb 15, 2024
2310688
Update Missing objects fix for Storage provider
yasiryagi Feb 15, 2024
9d143b3
Rename Missing objects fix for Storage provider to Missing objects fi…
yasiryagi Feb 15, 2024
9c5146f
Merge pull request #4 from ignazio-bovo/copy-file-with-tracking
yasiryagi Feb 15, 2024
15c361e
Update copy_files.sh
yasiryagi Feb 15, 2024
2f97469
Update docker-compose.yml
yasiryagi Feb 16, 2024
2432949
Update README.md
yasiryagi Feb 17, 2024
c7f8b30
Update docker-compose.yml
yasiryagi Feb 17, 2024
23fdd9f
Create .env
yasiryagi Mar 7, 2024
fd64266
Create Migrate-to-SubSquid.md
yasiryagi Mar 7, 2024
416be61
Update Migrate-to-SubSquid.md
yasiryagi Mar 7, 2024
aee6e9a
Update Migrate-to-SubSquid.md
yasiryagi Mar 7, 2024
46a1412
Create docker-compose.yml
yasiryagi Mar 7, 2024
cc9f6d8
Update Migrate-to-SubSquid.md
yasiryagi Mar 7, 2024
74c0d99
Update Migrate-to-SubSquid.md
yasiryagi Mar 7, 2024
7933434
Update Migrate-to-SubSquid.md
yasiryagi Mar 7, 2024
afd53c9
Update Migrate-to-SubSquid.md
yasiryagi Mar 7, 2024
44a6313
Update Migrate-to-SubSquid.md
yasiryagi Mar 7, 2024
38fc6cf
Update Migrate-to-SubSquid.md
yasiryagi Mar 7, 2024
b7816a0
Update Migrate-to-SubSquid.md
yasiryagi Mar 7, 2024
393132e
Update Migrate-to-SubSquid.md
yasiryagi Mar 7, 2024
1dfadd2
Update Migrate-to-SubSquid.md
yasiryagi Mar 7, 2024
c3f3f12
Update Migrate-to-SubSquid.md
yasiryagi Mar 7, 2024
4a16266
Update Migrate-to-SubSquid.md
yasiryagi Mar 7, 2024
585e07b
Update Migrate-to-SubSquid.md
yasiryagi Mar 7, 2024
24513b3
Create postgres.conf
yasiryagi Mar 7, 2024
8c958fe
Rename working-groups/storage-group/NodeSteup/Upgrade/Migrate-to-SubS…
yasiryagi Mar 7, 2024
4cf0331
Create pg_hba.conf
yasiryagi Mar 7, 2024
1c1e8e7
Create storage.sh
yasiryagi Mar 7, 2024
04d11d5
Update and rename Migrate-to-SubSquid.md to README.md
yasiryagi Mar 7, 2024
97a2f40
Rename working-groups/storage-group/NodeSteup/Upgrade/.env to working…
yasiryagi Mar 7, 2024
66326fa
Rename working-groups/storage-group/NodeSteup/Upgrade/docker-compose.…
yasiryagi Mar 7, 2024
c39aba2
Update README.md
yasiryagi Mar 7, 2024
1e23ee0
Update README.md
yasiryagi Mar 7, 2024
996a723
Update README.md
yasiryagi Mar 7, 2024
99a40a0
Update README.md
yasiryagi Mar 7, 2024
598dd4b
Update README.md
yasiryagi Mar 7, 2024
c5a9bda
Update README.md
yasiryagi Mar 7, 2024
6db0961
Update README.md
yasiryagi Mar 7, 2024
c09e22d
adding lost objects
yasiryagi Mar 8, 2024
dc6e4cc
true lost objects
yasiryagi Mar 10, 2024
f1d44a7
new guide based of SubSquid
yasiryagi Mar 11, 2024
2c5b984
new guide based of docker exec
yasiryagi Mar 11, 2024
842a69d
hosting
yasiryagi Mar 11, 2024
398d6eb
update monitor
yasiryagi Mar 12, 2024
942b5a6
update
yasiryagi Mar 12, 2024
c598216
alert.rules
yasiryagi Mar 12, 2024
06fbe65
add .env
yasiryagi Mar 14, 2024
ae60474
rm alert.rules, rm storage-node.service
yasiryagi Mar 14, 2024
6fb5907
Update README.md
yasiryagi Mar 15, 2024
d48d7e5
Update README.md
yasiryagi Mar 15, 2024
49069c5
Update README.md
yasiryagi Mar 15, 2024
1b96f59
Update README.md
yasiryagi Mar 15, 2024
40f1e33
Update README.md
yasiryagi Mar 15, 2024
5985ad8
Update README.md
yasiryagi Mar 15, 2024
924d056
Update README.md
yasiryagi Mar 15, 2024
5d669a9
Update README.md
yasiryagi Mar 18, 2024
b9cbc16
Update README.md
yasiryagi Mar 18, 2024
d73d022
Update README.md
yasiryagi Mar 18, 2024
e280a45
Update README.md
yasiryagi Mar 18, 2024
40651d0
Update README.md
yasiryagi Mar 19, 2024
f8b8e34
Update README.md
yasiryagi Mar 19, 2024
ab68163
Update Caddyfile
yasiryagi Mar 19, 2024
34a0025
Update Caddyfile
yasiryagi Mar 19, 2024
63b55ff
Update README.md
yasiryagi Mar 19, 2024
2bde0ce
Update alert.rules
yasiryagi Mar 20, 2024
2cfb922
Update Initial_ setup_commands.md
yasiryagi Mar 21, 2024
9c0f1c6
worker opening
yasiryagi Mar 24, 2024
583e483
worker opening
yasiryagi Mar 24, 2024
91df21c
Update README.md
yasiryagi Apr 3, 2024
6f289d6
Update .env
yasiryagi Apr 3, 2024
b1753d6
Update docker-compose.yml
yasiryagi Apr 3, 2024
36350e9
Update docker-compose.yml
yasiryagi Apr 7, 2024
c048f21
Update docker-compose.yml
yasiryagi Apr 7, 2024
845f022
Update copy_files.sh
yasiryagi Apr 13, 2024
b8b251f
Update copy_files.sh
yasiryagi Apr 13, 2024
e954889
Update discretionary payment.md
yasiryagi Jun 4, 2024
b4c2b2e
Update true_missing_object.txt
yasiryagi Sep 13, 2024
4fa2410
Update missing_objects_lost_08032024.txt
yasiryagi Sep 13, 2024
190a0ef
scripts
yasiryagi Sep 13, 2024
1ebdf07
%s/yasiryagi/Joystream/g
yasiryagi Sep 13, 2024
4415c0e
NodeSteup--> NodeSetup
yasiryagi Sep 19, 2024
bb3e4c6
scripts/lost.py
yasiryagi Sep 19, 2024
e254953
Storage node guide
yasiryagi May 30, 2022
b2cb5cc
fix conflict
yasiryagi Sep 19, 2024
36d3aa3
remove NodeSteup
yasiryagi Sep 19, 2024
2f53171
add joystream_monitor
yasiryagi Sep 25, 2024
ea43788
monitoring
yasiryagi Sep 26, 2024
2b94ce9
Failed upload Objects
yasiryagi Sep 26, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion working-groups/distributors/NodeSteup/monitoring/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ ExecStart=/root/.volta/bin/yarn storage-node server \
## Configure Packetbeat and Metricbeat

```
git clone https://github.com/yasiryagi/elasticsearch-docker.git
git clone https://github.com/Joystream/elasticsearch-docker.git
cd elasticsearch-docker/client/
```

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
1. Lead confirm an available position at the beginning of the council term and seek funding for the program.
2. Lead agrees with the candidate on the program and requirement.
3. Request the candidate to:
1. Obtain a server that meet the specification.
2. Install Joystream node.
3. Install Query node and expose URL.
4. Install Prometheus and expose URL.
2. Enrol the candidate in the new community storage worker onboarding program
1. The loan will be provide to the Candidate as a lead discretionary payment.
2. Loan the candidate 8500 Joy to help with the initial stake.
3. Candidate apply for a storage position e.g. https://pioneerapp.xyz/#/working-groups/openings/storage-10.
4. Candidate install the storage node and join the network.
5. Candidate pay back the loan each term by a max of half of earning till the loan is paied off.
6. After the loan is paied, candidate up his stake each term by half of earning till total staked 41,666 Joy.


Binary file not shown.
54 changes: 54 additions & 0 deletions working-groups/storage-group/NodeSteup/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
SQUID_DB_NAME=squid
DB_USER=postgres
DB_PASS=postgres
DB_PORT=5433
SQUID_DB_PORT=5433
DB_HOST=squid-db
SQUID_GQL_PORT=4352

SQUID_ARCHIVE_GATEWAY_URL=https://v2.archive.subsquid.io/network/joystream
#Joystream Node
JOYSTREAM_NODE_WS=ws://joystream-node:9944/

#DB VARS
POSTGRES_DB=squid
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
PGPORT=5433


#SQUID VERSION
STORAGE_SQUID_VERSION=1.4.4

SQUID_RPC_RATE_LIMIT=1000
SQUID_PROCESSOR_PROMETHEUS_PORT=3338

# yes = enabled, no = disabled
ENABLE_TELEMETRY=no
NODE_ENV=production
COLOSSUS_1_WORKER_ID=<ID>
COLOSSUS_1_WORKER_URI=//testing//worker//Storage//1
COLOSSUS_1_TRANSACTOR_URI=//Colossus1
COLOSSUS_PORT=3333
COLOSSUS_VERSION=4.0.1

#Key
#Use the operator key you have set in the invitation
KEY_FILE=/keystore/storage-operator-key.json
#KEY_FILE=/keystore/storage-role-key.json
ACCOUNT_PWD=<KEY-PASSWORD>


#ES
JOYSTREAM_ES_URL=https://elastic.joyutils.org/
JOYSTREAM_ES_USERNAME=<username>
JOYSTREAM_ES_PASSWORD=<Password?

#Folders
LOG_FOLDER=/data/joystream-storage/log
DATA_FOLDER=/data/joystream-storage
KEY_FOLDER=/root/keys
ENDPOINT=./entrypoints/storage.sh

#SQUID
STORAGESQUIDENDPOINT=http://squid-graphql-server:4352/graphql
56 changes: 56 additions & 0 deletions working-groups/storage-group/NodeSteup/LVM.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
## Intsall need software

apt install parted tmux vim lvm2 -y

## check status
```
lsblk
```

## Adding Storage
```
parted /dev/sdx
mklabel gpt
mkpart primary ext4 0% 100%
set 1 lvm on
quit
pvcreate /dev/sdx1
```


## Create a volume group
```
pvdisplay
lvs
```

```
vgcreate vg-data /dev/sda1 /dev/sdb1 .../dev/sdx1
lvcreate -n lv-data -l 100%FREE vg-data
mkfs.ext4 /dev/vg-data/lv-data
mkdir /dev/vg-data/lv-data /data
yasiryagi marked this conversation as resolved.
Show resolved Hide resolved
```

```
vim /etc/fstab
/dev/vg-data/lv-data /data ext4 defaults 0 0
```

```
pvdisplay
lvs

reboot
```

## Extend a volume group

```
vgextend vg-data /dev/sdx1
lvresize --extents +100%FREE --resizefs vg-data/lv-data
```

```
pvdisplay
lvs
```
Loading