LINUX.ORG.RU

Сообщения arro

 

почему размер lvm volume больше size в команде df?

--- Logical volume ---
LV Path /dev/deb01-vg/home
LV Name home
VG Name deb01-vg
LV UUID NeLlQb-KK5b-BjFf-6Lt3-giYM-KCXv-9uo6h9
LV Write Access read/write
LV Creation host, time deb01, 2015-06-23 18:41:51 +0300
LV Status available
# open 1
LV Size 813.87 GiB
Current LE 208350
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:4

root@tug:/media/arro# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/dm-0 20G 5.9G 14G 31% /
udev 10M 0 10M 0% /dev
tmpfs 1.6G 18M 1.6G 2% /run
tmpfs 3.9G 498M 3.4G 13% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
/dev/sdb1 1.8T 616G 1.1T 36% /media/2tera
/dev/sda1 236M 33M 191M 15% /boot
/dev/mapper/deb01--vg-home 801G 1.1G 760G 1% /home
/dev/mapper/deb01--vg-var 15G 2.5G 12G 18% /var
/dev/mapper/deb01--vg-tmp 2.3G 3.2M 2.2G 1% /tmp
tmpfs 790M 4.0K 790M 1% /run/user/115
tmpfs 790M 12K 790M 1% /run/user/1000

tune2fs -m 0 /dev/device не предлагать.

 ,

arro
()

Установка mpm-worker

Всем привет. При установке mpm-worker, активируется mpm-event. Кто в курсе к чему бы это?? Вывод команд на чистой системе прилагается.

root@web-test1:~#
root@web-test1:~# apt-get install apache2-mpm-worker
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
apache2 apache2-bin apache2-data apache2-utils libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap liblua5.1-0 ssl-cert
Suggested packages:
apache2-doc apache2-suexec-pristine apache2-suexec-custom openssl-blacklist
The following NEW packages will be installed:
apache2 apache2-bin apache2-data apache2-mpm-worker apache2-utils libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap liblua5.1-0 ssl-cert
0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,943 kB of archives.
After this operation, 6,665 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ftp.ua.debian.org/debian/ jessie/main libapr1 amd64 1.5.1-3 [95.3 kB]
Get:2 http://ftp.ua.debian.org/debian/ jessie/main libaprutil1 amd64 1.5.4-1 [86.2 kB]
Get:3 http://ftp.ua.debian.org/debian/ jessie/main libaprutil1-dbd-sqlite3 amd64 1.5.4-1 [19.1 kB]
Get:4 http://ftp.ua.debian.org/debian/ jessie/main libaprutil1-ldap amd64 1.5.4-1 [17.2 kB]
Get:5 http://ftp.ua.debian.org/debian/ jessie/main liblua5.1-0 amd64 5.1.5-7.1 [108 kB]
Get:6 http://ftp.ua.debian.org/debian/ jessie/main apache2-bin amd64 2.4.10-10+deb8u7 [1,030 kB]
Get:7 http://ftp.ua.debian.org/debian/ jessie/main apache2-utils amd64 2.4.10-10+deb8u7 [195 kB]
Get:8 http://ftp.ua.debian.org/debian/ jessie/main apache2-data all 2.4.10-10+deb8u7 [163 kB]
Get:9 http://ftp.ua.debian.org/debian/ jessie/main apache2 amd64 2.4.10-10+deb8u7 [208 kB]
Get:10 http://ftp.ua.debian.org/debian/ jessie/main ssl-cert all 1.0.35 [20.9 kB]
Get:11 http://ftp.ua.debian.org/debian/ jessie/main apache2-mpm-worker amd64 2.4.10-10+deb8u7 [1,500 B]
Fetched 1,943 kB in 1s (1,807 kB/s)
Preconfiguring packages ...
Selecting previously unselected package libapr1:amd64.
(Reading database ... 29921 files and directories currently installed.)
Preparing to unpack .../libapr1_1.5.1-3_amd64.deb ...
Unpacking libapr1:amd64 (1.5.1-3) ...
Selecting previously unselected package libaprutil1:amd64.
Preparing to unpack .../libaprutil1_1.5.4-1_amd64.deb ...
Unpacking libaprutil1:amd64 (1.5.4-1) ...
Selecting previously unselected package libaprutil1-dbd-sqlite3:amd64.
Preparing to unpack .../libaprutil1-dbd-sqlite3_1.5.4-1_amd64.deb ...
Unpacking libaprutil1-dbd-sqlite3:amd64 (1.5.4-1) ...
Selecting previously unselected package libaprutil1-ldap:amd64.
Preparing to unpack .../libaprutil1-ldap_1.5.4-1_amd64.deb ...
Unpacking libaprutil1-ldap:amd64 (1.5.4-1) ...
Selecting previously unselected package liblua5.1-0:amd64.
Preparing to unpack .../liblua5.1-0_5.1.5-7.1_amd64.deb ...
Unpacking liblua5.1-0:amd64 (5.1.5-7.1) ...
Selecting previously unselected package apache2-bin.
Preparing to unpack .../apache2-bin_2.4.10-10+deb8u7_amd64.deb ...
Unpacking apache2-bin (2.4.10-10+deb8u7) ...
Selecting previously unselected package apache2-utils.
Preparing to unpack .../apache2-utils_2.4.10-10+deb8u7_amd64.deb ...
Unpacking apache2-utils (2.4.10-10+deb8u7) ...
Selecting previously unselected package apache2-data.
Preparing to unpack .../apache2-data_2.4.10-10+deb8u7_all.deb ...
Unpacking apache2-data (2.4.10-10+deb8u7) ...
Selecting previously unselected package apache2.
Preparing to unpack .../apache2_2.4.10-10+deb8u7_amd64.deb ...
Unpacking apache2 (2.4.10-10+deb8u7) ...
Selecting previously unselected package ssl-cert.
Preparing to unpack .../ssl-cert_1.0.35_all.deb ...
Unpacking ssl-cert (1.0.35) ...
Selecting previously unselected package apache2-mpm-worker.
Preparing to unpack .../apache2-mpm-worker_2.4.10-10+deb8u7_amd64.deb ...
Unpacking apache2-mpm-worker (2.4.10-10+deb8u7) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for systemd (215-17+deb8u6) ...
Setting up libapr1:amd64 (1.5.1-3) ...
Setting up libaprutil1:amd64 (1.5.4-1) ...
Setting up libaprutil1-dbd-sqlite3:amd64 (1.5.4-1) ...
Setting up libaprutil1-ldap:amd64 (1.5.4-1) ...
Setting up liblua5.1-0:amd64 (5.1.5-7.1) ...
Setting up apache2-bin (2.4.10-10+deb8u7) ...
Setting up apache2-utils (2.4.10-10+deb8u7) ...
Setting up apache2-data (2.4.10-10+deb8u7) ...
Setting up apache2 (2.4.10-10+deb8u7) ...
Enabling module mpm_event.
Enabling module authz_core.
Enabling module authz_host.
Enabling module authn_core.
Enabling module auth_basic.
Enabling module access_compat.
Enabling module authn_file.
Enabling module authz_user.
Enabling module alias.
Enabling module dir.
Enabling module autoindex.
Enabling module env.
Enabling module mime.
Enabling module negotiation.
Enabling module setenvif.
Enabling module filter.
Enabling module deflate.
Enabling module status.
Enabling conf charset.
Enabling conf localized-error-pages.
Enabling conf other-vhosts-access-log.
Enabling conf security.
Enabling conf serve-cgi-bin.
Enabling site 000-default.
Setting up ssl-cert (1.0.35) ...
Setting up apache2-mpm-worker (2.4.10-10+deb8u7) ...
Processing triggers for libc-bin (2.19-18+deb8u7) ...
Processing triggers for systemd (215-17+deb8u6) ...
root@web-test1:~#
root@web-test1:~#
root@web-test1:~#
root@web-test1:~# cd /etc/apache2/
conf-available/ conf-enabled/ mods-available/ mods-enabled/ sites-available/ sites-enabled/
root@web-test1:~# cd /etc/apache2/mods-enabled/
root@web-test1:/etc/apache2/mods-enabled# ls
access_compat.load auth_basic.load authz_core.load autoindex.conf deflate.load env.load mime.load negotiation.conf setenvif.load
alias.conf authn_core.load authz_host.load autoindex.load dir.conf filter.load mpm_event.conf negotiation.load status.conf
alias.load authn_file.load authz_user.load deflate.conf dir.load mime.conf mpm_event.load setenvif.conf status.load
root@web-test1:/etc/apache2/mods-enabled# cd ../mods-available/
root@web-test1:/etc/apache2/mods-available# ls
access_compat.load authz_dbd.load dav_fs.load ident.load mpm_event.load proxy_http.load slotmem_shm.load
actions.conf authz_dbm.load dav.load include.load mpm_prefork.conf proxy.load socache_dbm.load
actions.load authz_groupfile.load dav_lock.load info.conf mpm_prefork.load proxy_scgi.load socache_memcache.load
alias.conf authz_host.load dbd.load info.load mpm_worker.conf proxy_wstunnel.load socache_shmcb.load
alias.load authz_owner.load deflate.conf lbmethod_bybusyness.load mpm_worker.load ratelimit.load speling.load
allowmethods.load authz_user.load deflate.load lbmethod_byrequests.load negotiation.conf reflector.load ssl.conf
asis.load autoindex.conf dialup.load lbmethod_bytraffic.load negotiation.load remoteip.load ssl.load
auth_basic.load autoindex.load dir.conf lbmethod_heartbeat.load proxy_ajp.load reqtimeout.conf status.conf
auth_digest.load buffer.load dir.load ldap.conf proxy_balancer.conf reqtimeout.load status.load
auth_form.load cache_disk.conf dump_io.load ldap.load proxy_balancer.load request.load substitute.load
authn_anon.load cache_disk.load echo.load log_debug.load proxy.conf rewrite.load suexec.load
authn_core.load cache.load env.load log_forensic.load proxy_connect.load sed.load unique_id.load
authn_dbd.load cache_socache.load expires.load lua.load proxy_express.load session_cookie.load userdir.conf
authn_dbm.load cgid.conf ext_filter.load macro.load proxy_fcgi.load session_crypto.load userdir.load
authn_file.load cgid.load file_cache.load mime.conf proxy_fdpass.load session_dbd.load usertrack.load
authn_socache.load cgi.load filter.load mime.load proxy_ftp.conf session.load vhost_alias.load
authnz_fcgi.load charset_lite.load headers.load mime_magic.conf proxy_ftp.load setenvif.conf xml2enc.load
authnz_ldap.load data.load heartbeat.load mime_magic.load proxy_html.conf setenvif.load
authz_core.load dav_fs.conf heartmonitor.load mpm_event.conf proxy_html.load slotmem_plain.load
root@web-test1:/etc/apache2/mods-available# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 8.7 (jessie)
Release: 8.7
Codename: jessie
root@web-test1:/etc/apache2/mods-available# apache2ctl -M 2>&1 | grep mpm
mpm_event_module (shared)
root@web-test1:/etc/apache2/mods-available#

 ,

arro
()

RSS подписка на новые темы