Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etersoft-admin-essentials
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
etersoft-admin-essentials
Commits
c7cbdd45
Commit
c7cbdd45
authored
Feb 12, 2021
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add tune_zfs.sh
parent
2ab9ab67
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
tune_zfs.sh
hdd/tune_zfs.sh
+23
-0
No files found.
hdd/tune_zfs.sh
0 → 100755
View file @
c7cbdd45
#!/bin/sh
ZV
=
ssd2/home
SIZE
=
500G
MOUNTPOINT
=
/home
# ограничил размер
zfs
set
quota
=
$SIZE
$ZV
# установил точку монтирования:
zfs
set
mountpoint
=
$MOUNTPOINT
$ZV
# включил сжатие:
zfs
set
compression
=
lz4
$ZV
# правильное хранение атрибутов
zfs
set
xattr
=
sa
$ZV
# отключен atime
zfs
set
atime
=
off
$ZV
# дедубликацию
zfs
set
dedup
=
on
$ZV
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment