|
|
ru.linux- RU.LINUX --------------------------------------------------------------------- From : yor@npsp.ru 2:5020/400 16 Aug 2005 15:16:06 To : All Subject : LVM disk full --------------------------------------------------------------------------------
Здравствуйте!
Что-то я не понял по поводу LVM. Hа /var не
лезет больше его ёмкости... Я думал,
полезет больше за счёт других
разделов, или надо дополнительно
конфигурировать? Или это вообще
невозможно? И на что обратить внимание?
Может, ещё какие данные нужны?
globus@intercom:/var/log$ fdisk -l /dev/sda
Disk /dev/sda: 36.7 GB, 36703918080 bytes
255 heads, 63 sectors/track, 4462 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 62 497983+ 82 Linux swap /
Solaris
/dev/sda2 63 78 128520 83 Linux
/dev/sda3 79 4462 35214480 5 Extended
/dev/sda5 79 94 128488+ 83 Linux
/dev/sda6 95 156 497983+ 83 Linux
/dev/sda7 157 4462 34587913+ 8e Linux LVM
globus@intercom:/var/run$ df
Файловая система 1K-блоков Исп
Доступно Исп% смонтирована на
/dev/sda6 497900 205548 292352 42% /
tmpfs 128256 0 128256 0% /dev/shm
/dev/mapper/VG0-home 29342844 9044564 20298280 31% /home
/dev/shm 524288 24 524264 1% /tmp
/dev/mapper/VG0-usr 4194172 2445496 1748676 59% /usr
/dev/mapper/VG0-var 1048540 166784 881756 16% /var
globus@intercom:/$cat /proc/lvm/global
LVM module LVM version 1.0.8(17/11/2003)
Total: 0 VGs 0 PVs 0 LVs (0 LVs open)
Global: 143 bytes malloced IOP version: 10 7:24:56 active
intercom:/dev# lvm dumpconfig
File descriptor 4 left open
File descriptor 6 left open
File descriptor 8 left open
devices {
dir="/dev"
scan="/dev"
filter="r|/dev/cdrom|"
cache="/etc/lvm/.cache"
write_cache_state=1
sysfs_scan=1
md_component_detection=0
}
activation {
missing_stripe_filler="/dev/ioerror"
mirror_region_size=512
reserved_stack=256
reserved_memory=8192
process_priority=-18
}
global {
umask=63
test=0
activation=1
proc="/proc"
locking_type=1
locking_dir="/var/lock/lvm"
}
shell {
history_size=100
}
backup {
backup=1
backup_dir="/etc/lvm/backup"
archive=1
archive_dir="/etc/lvm/archive"
retain_min=10
retain_days=30
}
log {
verbose=0
syslog=1
overwrite=0
level=0
indent=1
command_names=0
prefix=" "
}
intercom:/dev# lvdisplay
File descriptor 4 left open
File descriptor 6 left open
File descriptor 8 left open
--- Logical volume ---
LV Name /dev/VG0/var
VG Name VG0
LV UUID FnPXdq-6frW-bzrp-Td1i-My2L-ejko-p2iNER
LV Write Access read/write
LV Status available
# open 1
LV Size 1,00 GB
Current LE 256
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 254:0
--- Logical volume ---
LV Name /dev/VG0/usr
VG Name VG0
LV UUID rveUyK-MXa1-C80W-VEPv-Ejli-JZ5C-leF1HK
LV Write Access read/write
LV Status available
# open 1
LV Size 4,00 GB
Current LE 1024
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 254:1
--- Logical volume ---
LV Name /dev/VG0/home
VG Name VG0
LV UUID FTfU6u-Q3m7-K2EH-6ZhR-9sI1-2CLd-Zj1O4L
LV Write Access read/write
LV Status available
# open 1
LV Size 27,98 GB
Current LE 7164
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 254:2
intercom:/dev# lvs
File descriptor 4 left open
File descriptor 6 left open
File descriptor 8 left open
LV VG Attr LSize Origin Snap% Move Copy%
home VG0 -wi-ao 27,98G
usr VG0 -wi-ao 4,00G
var VG0 -wi-ao 1,00G
intercom:/dev# lvscan
File descriptor 4 left open
File descriptor 6 left open
File descriptor 8 left open
ACTIVE '/dev/VG0/var' [1,00 GB] inherit
ACTIVE '/dev/VG0/usr' [4,00 GB] inherit
ACTIVE '/dev/VG0/home' [27,98 GB] inherit
--
Спасибо за внимание.
--- ifmail v.2.15dev5.3
* Origin: http://groups.google.com (2:5020/400)
Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.linux/3731279b94252.html, оценка из 5, голосов 10
|