Bilgisayar Terimleri Karşılıklar Kılavuzu –

TDK HAZIRLAMIS TESEKKUR EDERIZ. ORJINAL LINK

A

Administrator Logon
Yönetici Oturum Açışı
Admission Control Service Kabul Denetimi Servisi
Adopt Edinmek
Adress Resolutain Adres Çözümleme, Adrese Çevirme
Adult Content Yetişkinlere Yönelik İçerik
Advance İlerlemek
Advanced Gelişmiş, İleri
Advanced Compression Gelişmiş Sıkıştırma
Advanced Configuration Gelişmiş Yapılandırma
Advanced Configuration And Power Interface (ACPI) Gelişmiş Yapılandırma ve Güç Arayüzü
Advanced Connection Gelişmiş Bağlantı
Advanced Control Gelişmiş Denetim
Advanced Filter Gelişmiş Süzgeç
Advanced Graphics Gelişmiş Grafik
Advanced Security Gelişmiş Güvenlik
Advantage Yarar
Advertisement Reklam
Aerial Anten
AF bk. Auto-Focus
Agent Aracı, Ajan
Aggregate Kitlesel
Aging Interval Multiplier Eskime Aralığı Çoklayıcısı
AI bk. Artificial İntelligence
Aid Yardım
Alarm Uyarı
Alert Uyarı, Uyarmak
Alert Message Uyarı İletisi
Alert Text Uyarı Metni
Alertable Uyarılabilir
Algorithm Algoritma, Çözüm Yolu
Alias Takma Ad, İkinci Ad, Arma, Öteki Ad
Align Hiza, Hizalamak
All Rights Reserved Tüm Hakları Saklıdır
Allocatable Resource Ayrılabilir Kaynak
Allocate Ayır, Ayırmak
Allocated Memory Ayrılmış Bellek
Allocation Unit Ayırma Birimi, Yerleşim Birimi
Allocation Unit Size Ayırma Birim Sığası
Alpha Channels Alfa Kanalları
Alphabet Abece, Alfabe
Alphabetic Abecesel, Alfabesel
Alphanumeric Abecesayısal
Alt Key bk. Alternate Key
Alter Değiştirmek
Alternate Character Set Diğer Karakter Seti
Alternate Code Page Diğer Kod Sayfası
Alternate Collating Sequence Diğer Birleştirme Sırası
Alternate Current Dalgalı Akım
Alternate DNS Server Yedek DNS Sunucusu
Alternate Key Diğer Karakterler Tuşu
Alternate Recipient Diğer Alıcı
Alternate Subject Diğer Konu
Alternate Track Yedek İz
Alternate, Alternative Öteki, Diğer, Yedek, Alternatif
Alternating Dalgalı
Alternating Current Dalgalı Akım
Alternating Current (AC) Alternatif Akım
Alternative Bk. Alternate
AM Bk. Ante Meridiem
American National Standards Institute (ANSI) Amerikan Ulusal Standartlar Enstitüsü
American Standart Codes for Information Interchange (ASCII) Bilgi Değişimi İçin Amerikan Standart Kodlama Sistemi
Ampersand Ve İmi, Ve İşareti
Amplifier Yükselteç
Amplitude Genlik
Analog Örneksel
Analog Circuit Örneksel Devre
Analog Computer Analog Bilgisayar
Analog Digital Convertor(ADC) Örneksel Sayısal Çevirici
Analog Film Recorder Örneksel Film Kaydedici
Analog Monitor Örneksel Görüntüleyici
Analogy Örnekseme
Analysis Çözümleme
Analyzer Çözümleyici
Anchor Çengel, Çapa
Anchor Point Çengel Noktası
Andrews File System Andrews Dosya Sistemi
Animate Canlandırmak
Animation Canlandırma.
Annotation Ek Açıklama
Announcement Duyuru, Bildirim
Anonymous Connections Topluma Açık Bağlantı, Anonim Bağlantı
ANSI American National Standards Institute
Answerback Karşılık, Yanıt
Anticlockwise Saat Yönünün Tersi
Antistatic Durağan Olmayan
Antonyms Karşıt Anlamlılar
Aperture Açıklık
API bk.Application Programming Interface
Apostrophe Kesme İmi, Kesme İşareti
App Compat Bk. Application Compatibility
Appear Görünmek
Append Eklemek
Appendix Ek
Applet Küçük Uygulama
Appletalk Apple İletişim Kuralı
Appletalk File Protocol Appletalk Dosya İletişim Kuralı
Application Uygulama
Application Compatibility Uygulama Uyumluluğu
Application Compatibility Uygulama Uyumluluğu
Application Deployment Editor Uygulama Dağıtım Düzenleyicisi
Application Enabling Uygulama Yetkinleştirme
Application Icon Uygulama Simgesi
Application Installation Point Uygulama Yükleme Noktası
Application Layer Uygulama Katmanı
Application Location Uygulama Konumu
Application Management Uygulama Yönetimi
Application Preinstall Information Uygulama Kurma Öncesi Bilgisi
Application Preinstallation Launcher Uygulama Kurma Öncesi Başlatıcısı
Application Program Uygulama Programı
Application Programming Interface, (API) Uygulama Programlama Arayüzü, API
Application Requester Uygulama İsteri
Application Requesting Card Uygulama İsteme Kartı
Application Server Uygulama Sunucusu
Application Sharing Uygulama Paylaşımı
Application Software Uygulama Yazılımı
Apply Uygulamak, Başvurmak
Approve Onaylamak
Approximate Yaklaşık
Arabic Numbers Arap Sayıları
Arbitrary İsteğe Bağlı, Keyfi
Arc Yay
Architecture Mimari
Archive Belgelik, Arşiv
Area Alan
Area Chart Alan Grafiği
Area Chart Alan Çizgesi
Argument Bağımsız Değişken, Argüman
Arithmetic Aritmetik
ARP bk. Adress Resolution Protokol
Arp Cache Arp Önbelleği
Arp Cache Arp Önbellek
Arrange Düzenlemek
Array Dizi
Arrival Sequence Access Path Geliş Sıralı Erişim Yolu
Arrow Ok
Arrow Head Ok Ucu
Arrow Key Ok Tuşu
Arrow Size Ok Boyutu
Arrow Style Ok Biçemi, Ok Stili
Article Yazı, Makale
Artificial Yapay
Artificial İntelligence (AI) Yapay Zeka
Artwork Çizim
Ascender Harfin Üst Çıkıntısı
Ascending Artan
Ascending Order Artan Sıra
Ascent Harfin Üst Çıkıntısı
ASCII Bk. American Standart Codes for Information Interchange
ASCII Receiving ASCII Alma
ASCII Sending ASCII Gönderme
Aspect Ratio En Boy Oranı
Aspect Ratio (Of Vector Fonts) Görünüm Oranı (Vektör Yazı Tipleri)
Aspect Ratio Correction Görünüm Oranı Düzeltmesi
Assembler Çevirici
Assembly Çevirme, Montaj
Assembly Language Assembler Dili, Çevirici Dili
Assertion Failure Israr Hatası
Assign Atamak
Assignment Atama
Assignment Statement Atama Deyimi
Assistance Yardım
Assocation Birlik, Birliktelik, İlişki
Associate İlişkilendirmek
Associative Memory İlişkili Bellek
Assume Varsaymak
Assumption Varsayım
Assurance Güvence
Asterisk Yıldız İmi
Asymetric Multiprocessing Bakışımsız Çok İşlemci Kullanımı
Asymmetric Bakışımsız
Asynchronous Zamanuyumsuz, Eşzamanlı Olmayan
Asynchronous Procedure Call (APC) Eşzamanlı Olmayan Yordam Çağrısı (APC)
Asynchronous Refresh Zaman Uyumsuz Yenilemek
Attach (Hardware) Bağlamak
Attach (Software) İliştirmek, Eklemek
Attachment Ek
Attachment (Hardware) Bağlantı
Attended Operation Gözetimli İşlem, Gözetimli İşletim
Attendee Availability Katılan Uygunluğu
Attention Uyarı, Dikkat
Attenuation Zayıflama
Attribute Öznitelik
Attribute Object Öznitelik Nesnesi
Audible Sesli
Audio Ses, İşitsel
Audio Cd Ses Cd’si
Audio Configuration Ses Yapılandırması
Audio Data Rate Ses Veri Oranı
Audio Delay Ses Gecikmesi
Audio Driver Ses Sürücüsü
Audio Driver Ses Sürücüsü
Audio Preroll Ses Önsarması
Audio Tape Ses Bandı
Audio Transform Filter Ses Dönüşüm Filtresi, Ses Dönüşüm Süzgeci
Audio Tuning Wizard Ses Ayarlama Sihirbazı
Audio/Video Ses/Görüntü
Audit Denetlemek
Audit Flag Denetim Bayrağı
Audit Trail Denetleme İzi
Auditing Denetleniyor, Denetliyor
AUP Kabul Edilebilir Kullanım Politikaları
Authenticate Kimlik Denetle, Doğrula
Authentication Kimlik Denetleme, Doğrulama
Authentication Header Kimlik Denetleme Başlığı
Authentication Package Kimlik Denetleme Paketi
Authentication Ticket Kimlik Denetleme
Authenticode (TM) Security Technology Kimlik Denetleme Güvenliği Teknolojisi
Authority Yetki, Yetkili
Authority Yetkili, Yetki
Authorization Yetkilendirme
Authorize Yetkilendirmek
Authorized Yetkili
Authorized User Yetkili Kullanıcı
Auto Özdevimli
Auto-adjust Özdevimli Ayar
Auto-answer Özdevimli Yanıt
Autoarchive Özdevimli Arşiv
Auto-arrange Özdevimli Yerleştir
Auto-attach Özdevimli İliştir
Auto-call Özdevimli Çağırma
Auto-clipart Özdevimli Küçük Resim
Auto-configure Özdevimli Yapılandır
Autocontent Wizard Özdevimli İçerik Sihirbazı
Autocorrect Özdevimli Düzeltme
Autocorrelation Özdevimli İlinti, Özdevimli Bağlantı
Auto-data Tips Özdevimli Veri İpuçları
Auto-Dim Özdevimli Karartma
Auto-Dim İnterval Özdevimli Karartma Arası
Auto-disconnect Özdevimli Bağlantı Kesme
Auto-exposure Özdevimli Pozlandırma
Auto-Feed Özdevimli Besleme
Auto-fit İnto Title Bar Area Başlık Çubuğu Alanına Özdevimli Sığdır
Auto-focus Özdevimli Odak, Otomatik Odaklamak
Auto-Fokus Özdevimli Netlik
Autoformat Özdevimli Biçimlendirme
Auto-hide Özdevimli Gizle, Otomatik Gizlemek
Auto-link Özdevimli Bağ
Auto-logon Özdevimli Bağlantı
Auto-mark Index Entries İndeks Girdilerini Özdevimli İmle
Automate Özdevinirleştir
Automated Teller Machine Bankamatik, Özdevimli Vezne
Automatic Özdevimli Olarak
Automatic Configuration Set Özdevimli Yapılandırma Kümesi
Automatic Data Protection Özdevimli Veri Koruma
Automatic Settings Özdevimli Ayarlar
Automatic Startup Özdevimli Başlama
Automatic Volume Control (AVC) Özdevimli Ses Düzeyi Kontrolü
Automatic Working Set Trimming Özdevimli Çalışma Kümesi Kırpılması
Automatically Özdevimli, Özdevimli Biçimde
Automation Özdevinim, Otomasyon
Autonomous System Boundary Router Özerk Sistem Sınır Yönlendiricisi
Auto-order Özdevimli Sırala
Auto-outline Özdevimli Seviyelendir
Auto-Proxy Script Özdevimli Vekil Betiği
Auto-rewind Özdevimli Geri Sar
Autosave Özdevimli Kaydetme
Autosave Frequency Özdevimli Kaydetme Sıklığı
Auto-save On Submit Gönderme Sırasında Özdevimli Kaydetme
Auto-scale Özdevimli Ölçeklendir
Auto-scaling Özdevimli Ölçeklendirme
Auto-select Özdevimli Seçme
Auto-selected Özdevimli Seçili
Auto-space Özdevimli Boşluk
Autostatic Özdevimli Durağan
Auto-style Conflict Özdevimli Biçem Çakışması
Auto-submit Transactions Özdevimli Teslim İşlemleri
Auto-suspend Özdevimli Bekletme, Özdevimli Askıya Alma
Autotext Name Özdevimli Metin Adı
Auto-update Özdevimli Güncellemek
Aux bk. Auxilary
Auxiliary (Aux) Yardımcı
Auxiliary Class Yardımcı Sınıf
Auxiliary Storage Yardımcı Bellek, Depo
Availability Kullanılabilirlik
Available Kullanılabilir
Available Context Kullanılabilir İçerik
Available Memory Kullanılabilir Bellek
AVC bk. Automatic Volume Control
Average Ortalama
Average Data Rate Ortalama Veri Hızı
Average Incrementor Ortalama Artırıcı
Average Sync Offset (Msec) Ortalama Eşzamanlama Kayması (Msn)
Awk Awk Dili
Axis Eksen
Axis Gridlines Eksen Kılavuz Çizgileri
Axis Translation Line Eksen Kaydırma Çizgisi

linkler:

1- http://forums.fedoraforum.org/showthread.php?t=154625

How To extend root / partition ‘on-the-fly’, ext3/LVM only

This turned out to be easier than expected, so I’m posting this short how-to. The restriction to ext3 is due to the man page for resize2fs claiming this is the only fs that can be resized without unmounting.

The scenario: you have an ext3 partition LogVol00 mounted on / and a swap partition LogVol01 in a logical volume group VolGroup00 (the default install), but you’re running out of space in /, there’s no room left in the volume group but you have a brand new disk drive with lots of free space. How to add some space to the / partition?

The usual problem is that / can’t be unmounted, there are guides out there which involve using a livecd or dual booting into another os that recognizes logical volumes, but in this case you can do it ‘on-the-fly’ in Fedora.

WARNING: If you have important data in any directory under / then backup before attempting this.

I’ll assume the spare disk is called /dev/sdb

1. Create a new partition of appropriate size using fdisk

Code:
fdisk /dev/sdb
n   (create new partition, select start and end cylinders, all free space is selected by default)
w  (save partition table and exit)

At this point you may be told that a reboot is necessary, I found it was unnecessary, but for safety you should probably reboot. Type fdisk -l again to check the new partition, I’ll assume /dev/sdb1 was created ~10G in size

2. Create an ext3 filesystem in the partition (this step is optional, just a quick test that all is well)

Code:
mkfs.ext3 /dev/sdb1

3. Initialise the partition for use as a physical volume in lvm and add it to VolGroup00

Code:
pvcreate /dev/sdb1
vgextend VolGroup00 /dev/sdb1

4. Extend LogVol00 (use ‘df /’ to check that / is mounted on LogVol00) as required (by 10G here)

Code:
lvextend -L +10G /dev/VolGroup00/LogVol00

If you receive errors about not enough physical extents, then reduce the size of the extension a little until it fits.

5. Finally, resize the filesystem (this part normally would require unmounting /, but for ext3 and 2.6 Kernels it works while the partition is mounted)

Code:
resize2fs /dev/VolGroup00/LogVol00

Type ‘df -h /’, to check it worked, there should be an extra 10G available
(you can use vgdisplay, pvdisplay and lvdisplay (as root) to see detailed info, pvscan for a summary)

Note.
I’ve seen horror stories with lvm manipulation whereby an ‘unknown uuid’ error occurs for a partition, and the VolGroup can no longer be found, which prevents booting. This can be due to using e2label, mkfs etc on the partition after it has been initialised as a pv and added to the group. The error is fixable if you haven’t rebooted: you need to edit /etc/lvm/backup/VolGroup00 and delete the lines referring to the unrecognized partition (they’ll be a few between braces {}, the unknown uuid will be at the beginning, something like:

Code:
 pv1 {
                        id = "gAMCGW-jdaH-VXse-HR2j-PA24-AIbb-aHMjKl"
                        device = "/dev/sdb1"   # Hint only

                        status = ["ALLOCATABLE"]
                        dev_size = 20482812     # 9.76697 Gigabytes
                        pe_start = 384
                        pe_count = 312  # 9.75 Gigabytes
                }

Remove all these lines, save the file, then run

Code:
vgcfgrestore -f /etc/lvm/backup/VolGroup00 VolGroup00
vgscan
vgscan should report all is ok (you can now try reinitialising the ‘bad’ partition using pvcreate, and then add it back to the VolGroup with vgextend)
2- ARCH LINUX WAY OF LVM 😀

Introduction

LVM is a Logical Volume Manager for the Linux kernel. With LVM you can abstract your storage space and have “virtual partitions” which are easier to modify. The basic building blocks of LVM are:

  • Physical volume (PV): Partition on hard disk (or even hard disk itself or loopback file) on which you can have volume groups. It has a special header and is divided into physical extents. Think of physical volumes as big building blocks which can be used to build your hard drive.
  • Volume group (VG): Group of physical volumes that are used as storage volume (as one disk). They contain logical volumes. Think of volume groups as hard drives.
  • Logical volume(LV): A “virtual/logical partition” that resides in a volume group and is composed of physical extents. Think of logical volumes as normal partitions.
  • Physical extent (PE): A small part of a disk (usually 4MB) that can be assigned to a logical Volume. Think of physical extents as parts of disks that can be allocated to any partition.

With LVM you can more easily handle your partitions (logical volumes) than normal hard drive partitions. For example, you can:

  • Use any number of disks as one big disk(VG)
  • Have partitions(LV) streched over several disks (they can be as big as all of your disk storage together)
  • Resize/create/delete partitions(LV) and disks(VG) as you like (it doesn’t depend on position of the logical volumes within volume groups as with normal partitions)
  • Resize/create/delete partitions(LV) and disks(VG) online (filesystems on them still need to be resized, but some support online resizing)
  • Name your disks(VG) and partitions(LV) as you like
  • Create small partitions(LV) and resize them “dynamically” as they get more filled (growing must be still done by hand, but you can do it online with some filesystems)

Example:

Physical disks
                
  Disk1 (/dev/sda):
     _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
    |Partition1 50GB (Physical volume) |Partition2 80GB (Physical volume)     |
    |/dev/sda1                         |/dev/sda2                             |
    |_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ |_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ |
                                  
  Disk2 (/dev/sdb):
     _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
    |Partition1 120GB (Physical volume)                 |
    |/dev/sdb1                                          |
    | _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ __ _ _|
LVM logical volumes

  Volume Group1 (/dev/MyStorage/ = /dev/sda1 + /dev/sda2 + /dev/sdb1):
     _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
    |Logical volume1 15GB  |Logical volume2 35GB      |Logical volume3 200GB               |
    |/dev/MyStorage/rootvol|/dev/MyStorage/homevol    |/dev/MyStorage/mediavol             |
    |_ _ _ _ _ _ _ _ _ _ _ |_ _ _ _ _ _ _ _ _ _ _ _ _ |_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ |

To sum it all up: With LVM you can use all your storage space as one big disk (volume group) and have more flexibility over your partitions (logical volumes).

Installation

Before doing anything we need to load the appropriate module:

# modprobe dm-mod

If you already have Arch Linux installed and just you want to add/try a partition with LVM jump to partition disks.

Installing Arch Linux on LVM

Prior to running Arch Linux install scripts (/arch/setup) to install Arch Linux, you need to partition your disk with cfdisk (or any other tool of your liking). Because grub legacy (grub with version less than 1.0) can’t boot from LVM logical volumes you can’t have /boot in LVM, so you need to create a boot partition. 100MB should be enough. The other solution would be to use lilo or grub with version 1.95 or newer.

Partition disks

Next you need to create a partition for LVM. Its filesystem type should be ‘Linux LVM’, so use a partition id 0x8e (filesystem type: 8e). You need to create only one LVM partition on each disk you want to use with LVM. Your logical volumes will reside inside these partitions so size them accordingly. If you will use only LVM and no other external partitions, use all of free space on each disk.

Attention: /boot can’t reside in LVM partition because grub (version<1.95) can’t boot from it.

Information: All LVM partitions on all disks can be set to be seen as one big disk.

Create Physical volumes

Now you need to initialize these partitions so they can be used by LVM. Use ‘fdisk -l’ to find out which partitions have filesystem type ‘Linux LVM’ and create a physical volume on them:

# pvcreate /dev/sda2

Substitute /dev/sda2 with all your partitions to create physical volumes on all of them. This command creates a header on each partition so it can be used for LVM. You can track created physical volumes with:

# pvdisplay

Create Volume group(s)

Next step is to create a volume group on this physical volumes. First you need to create a volume group on one of the new partitions and then add to it all other physical volumes you want to have in it:

# vgcreate VolGroup00 /dev/sda2
# vgextend VolGroup00 /dev/sdb1

Also you can use any other name you like instead of VolGroup00 for a volume group when creating it. You can track how your volume group grows with:

# vgdisplay

Information: You can create more than one volume group if you need to, but then you wont have all your storage presented as one disk.

Create Logical Volumes

Now we need to create logical volumes on this volume group. You create them with the next command by giving them the name of a new logical volume, its size and volume group they will live on:

# lvcreate -L 10G VolGroup00 -n lvolhome

This will create a logical volume that you can access later with /dev/mapper/Volgroup00-lvolhome or /dev/VolGroup00/lvolhome. Same as with the volume groups you can use any name you want for your logical volume when creating it.

Note: You may need to load the device-mapper kernel module for the above command to succeed:

# modprobe dm-mod

You can track created logical volumes with:

# lvdisplay

Attention: When creating swap on logical volume use the next command instead of previous one:

# lvcreate -C y -L 10G VolGroup00 -n lvolswap

The ‘-C y’ is used to create a contiguous partition, that means that your swap space doesn’t get partitioned over one or more disks nor over non-contiguous physical extents.

Information: you can create logical volumes smaller if you don’t know how much data will end on them and leave some free space in volume group. You can resize the logical volumes later if needed.

Hint: If you want to fill all the free space left on a volume group use the next command:

# lvcreate -l +100%FREE VolGroup00 -n lvolmedia

Create filesystem and mount logical volumes

Your logical volumes should now be located in /dev/mapper/ and /dev/YourVolumeGroupName. If you can’t find them use the next commands to bring up the module for creating device nodes and to make volume groups availabile:

# modprobe dm-mod
# vgchange -ay

Now you can create filesystems on logical volumes and mount them as normal partitions (if you are installing Arch linux, skip this step):

# mkfs.ext3 /dev/mapper/VolGroup00-lvolhome
# mount /dev/mapper/VolGroup00-lvolhome /home

If you are installing Arch linux, start /arch/setup, go to Prepare Hard Drive directly to step 3 Set Filesystem Mountpoints and read the Important section below before proceeding with installation!

Important

There are just a few things you need to be careful while using/installing Arch Linux with LVM (in brackets are the corresponding menus during installation):

  1. When choosing mountpoints, just select your newly created logical volumes (use: /dev/mapper/Volgroup00-lvolhome).
    Do NOT select the actual partitions on which logical volumes were created (don’t use: /dev/sda2). (Set Filesystem Mountpoints)
  2. Make sure you change USELVM=”no” to USELVM=”yes” in /etc/rc.conf (Configure System)
  3. Make sure that lvm2 is in the HOOKS section of /etc/mkinitcpio.conf just before the filesystems so that your kernel will find LVM volumes at boot time. (Configure System)
  4. Make sure /boot/grub/menu.lst uses the right volumes for root. It should look something like this: (Install Bootloader)
...
# (0) Arch Linux
title  Arch Linux
root   (hd0,0)
kernel /vmlinuz26 root=/dev/mapper/VolGroup00-lvolroot resume=/dev/mapper/VolGroup00-lvolswap ro
initrd /kernel26.img
...

If you are using LILO check /etc/lilo.conf:

image=/boot/vmlinuz26
       label=arch
       append="root=/dev/mapper/VolGroup00-lvolroot resume=/dev/mapper/VolGroup00-lvolswap ro"
       initrd=/boot/kernel26.img

Configuration

Grow logical volume

To grow a logical volume you first need to grow the logical volume and then the filesystem to use the newly created free space. Let’s say we have a logical volume of 15GB with ext3 on it and we want to grow it to 20G. We need to do the following steps:

# lvextend -L 20G VolGroup00/lvolhome (or lvresize -L +5G VolGroup00/lvolhome)
# resize2fs /dev/VolGroup00/lvolhome

You may use lvresize insted of lvextend.

Attention: Not all filesystem support growing without loss of data and/or growing online.

Information: If you don’t resize your filesystem, you will still have a volume with the same size as before (volume will be bigger but partly unused).

Hint: If you want to fill all the free space on a volume group use the next command:

# lvextend -l +100%FREE VolGroup00/lvolhome

Shrink logical volume

Because your filesystem is probably as big as the logical volume it resides on, you need to shrink the filesystem first and then shrink the logical volume. Depending on your filesystem, you may need to unmount it first. Let’s say we have a logical volume of 15GB with ext3 on it and we want to shrink it to 10G. We need to do the following steps:

# resize2fs /dev/VolGroup00/lvolhome 9G
# lvreduce -L 10G VolGroup00/lvolhome (or lvresize -L -5G VolGroup00/lvolhome)
# resize2fs /dev/VolGroup00/lvolhome

Here we shrunk the filesystem more than needed so that when we shrunk the logical volume we didn’t accidentally cut of the end of the filesystem. After that we normally grow the filesystem to fill all free space left on logical volume. You may use lvresize insted of lvreduce.

Attention: Don’t reduce the filesystem size to less than it is used by data on it or you can lose your data.

Attention: Not all filesystems support shrinking without loss of data and/or shrinking online.

Attention: It is better to reduce the filesystem to lower size than the logical volume, so that after a resizing logical volume, we don’t accidentally cut off some data from the end of the filesystem.

Add partition to a volume group

To add a partition to your volume group you must first make its type ‘Linux LVM’ (for example with cfdisk). Then you need to create a physical volume on it and extend the volume group over it:

# pvcreate /dev/sdb1
# vgextend VolGroup00 /dev/sdb1

Now you have free space in your volume group that can be used by logical volumes in this group.

Information: You can add partitions from any disks to volume groups.

Remove partition from a volume group

All of the data on that partition needs to be moved to another partition. Fortunately, lvm makes this easy:

# pvmove /dev/mapper/myvg-mypv

If you want to have the data on a specific physical volume, specify that as the second argument to pvmove.

Then the physical volume needs to be removed from the volume group:

# vgreduce myVg /dev/mapper/myvg-mypv

Or remove all empty physical volumes:

# vgreduce --all vg0

And lastly, if you want to use the partition for something else, and want to avoid lvm thinking that the partition is a physical volume:

# pvremove /dev/mapper/myvg-removedpv

Snapshots

Introduction

LVM allows you to take a snapshot of your system in a much more efficient way than a traditional backup. It does this efficiently by using a COW (copy-on-write) policy. The initial snapshot you take simply contains hard-links to the inodes of your actual data. So long as your data remains unchanged, the snapshot merely contains its inode pointers and not the data itself. Whenever you modify a file or directory that the snapshot points to, LVM automatically clones the data, the old copy referenced by the snapshot, and the new copy referenced by your active system. Thus, you can snapshot a system with 35GB of data using just 2GB of free space so long as you modify less than 2GB (on both the original and snapshot).

Configuration

You create snapshot logical volumes just like normal ones.

# lvcreate --size 100M --snapshot --name snap01 /dev/mapper/vg0-pv

With that volume, you may modify less than 100M of data, before the snapshot volume fills up.

Todo: scripts to automate snapshots of root before updates, to rollback… updating menu.lst to boot snapshots (separate article?)

snapshots are primarily used to provide a frozen copy of a filesystem to make backups; a backup taking two hours provides a more consistent image of the filesystem than directly backing up the partition.

Troubleshooting

LVM commands don’t work

try preceeding commands with lvm like this:

# lvm pvdisplay

Set Filesystem Mountpoints page doesn’t show logical volumes

If you are installing on a system where there is an existing volume group, you may find that even after doing “modprobe dm-mod” you don’t see the list of logical volumes.

In this case, you may also need to do:

# vgchange -ay <volgroup>

in order to activate the volume group and make the logical volumes available.

Shrink LVM root partition

Ok, I’ve figured this out … so just in case anyone wants to know how to do it:

1. Write the FC rescue disk ISO onto a CD, and reboot the machine from it.
2. Do not mount the file systems.
3. At the prompt, type:

lvm

4. Within LVM, run these commands (comments are after the ‘#’s):

lvm> vgscan # Will show the name of the Volume Group
lvm> vgchange –available y VolGroup00 # Activates the VG and the LVs in it
lvm> lvscan # Should show the LVs as “ACTIVE”; the devices in /dev it mentions should now exist
lvm> exit # Quit, return to the prompt

5. Now resize the filesystem with this command (e.g., using device /dev/VolGoup00/LogVol00):

e2fsck -f /dev/VolGoup00/LogVol00 # fsck on the filesystem
resize2fs /dev/VolGoup00/LogVol00 nnG # resize the fs to nn GB; nn should be less than the current fs size
e2fsck -f /dev/VolGoup00/LogVol00 # Do another fsck on the filesystem; fix any errors which appear

6. Run lvm again and type:

lvm> lvreduce -LnnG /dev/VolGoup00/LogVol00 # Resize the LV to nn GB; nn should be the same as above
lvm> exit # Quit, return to the prompt

7. Finally, do another filesystem check:

e2fsck -f /dev/VolGoup00/LogVol00 # Do another fsck on the filesystem; fix any errors which appear

8. Remove the CD and reboot.

+++more

http://fedorasolved.org/Members/zcat/shrink-lvm-for-new-partition

2 link daha

http://www.tummy.com/journals/entries/jafo_20070730_123311

Reducing the size of your root partition.

3- http://forums.fedoraforum.org/showthread.php?t=154625

How To extend root / partition ‘on-the-fly’, ext3/LVM only

1. Download “ftpasswd” perl script and chmod it to 755:

wget http://www.castaglia.org/proftpd/contrib/ftpasswd
chmod 755 ftpasswd

2. Create file with your virtual user and ftp group

mkdir /etc/proftpd
ftpasswd --passwd --name=ftp_login --home=/home/ftp/ftp_login --shell=/bin/false --uid=1003
ftpasswd --group --name=ftp_group --gid=50 --member=ftp_login

(it is not important what UID and GID you will use as long as it does not have root privileges  ,
 just use any system uid and group and proftpd will write files with it’s privileges)

3. Add this to your proftpd.conf file:

RequireValidShell  off
AuthUserFile  /etc/proftpd/ftpd.passwd
AuthGroupFile /etc/proftpd/ftpd.group

4. Restart PROFTPD

add this lines in /usr/local/directadmin/custombuild/configure/ap2/configure.php5

Quote:
–enable-pdo=shared \
–with-pdo-mysql=shared \
–with-sqlite=shared \
–with-pdo-sqlite=shared \

then do a

Quote:
cd /usr/local/directadmin/custombuild
./build update
./build php n

Done!

Proxmox ustunde calisan 1 windows xp makinam var

120 gb qcow2 formatinda disk ile kurmusum bunu zamaninda

sistemde 2 ci bir fiziksel diskde vardi , bu 120 gb qemu diski yeterli gelmeyince 2 ci diskden bir 320 gb ayirayimda kullanayim dedim, kullanamadim…

ne yaptiysam windows xp gormedi yeni ekledigim diski.

proxmox un 1.4 surumu storage kontrolunde oldukca yetenekli.

hersey kitabina uygun olmasina ragmen bir turlu windows xp yeni ekledigim diski gormeyince biraz arastirma yaptim.

sonucta yapilmasi gerekenler su sekilde

1- sistemdeki 2 ci diski normal sekilde ext3 olarak formatlayip /disk2 altina mount ettim

2- proxmox a gidip storage konfigurasyonundan yeni storage ekle diyip add directory diyerek /disk2 yi storage olarak ekledim

3- windows xp sanal makinesi ozelliklerinden hardware kismina girip add a hard disk dedim

4- disk storage i /disk2 olarak secip raw formatinda ide olarak 320 gb disk ekledim

(bu arada sanal makina power off pozisyonunda idi)

5- proxmox makinanin konsoluna inip asagidaki adimlari gerceklestirdim.
5-1 cd /disk2/images/102
5-2 losetup /dev/loop0 vm-102-disk-1.raw
5-3 fdisk -u /dev/loop0
5-4 fdisk -u /dev/loop0 press 'n' to add a partition press 'p' to make a primary partition press '1' to make the first (and only) partition press 't' to change the partition type press '7' to choose HPFS/NTFS press 'w' to write the partition table to disk
5-5 losetup -d /dev/loop0

6- tekrar proxmox arayuzunde donup windows xp makinasini calistirinca windows xp normal sekilde 2 ci bir disk olarak qemu hard drive imi buldu
7- windows altinda ntfs quick formati attim
8- gule gule kullandim

NOT: diskim raw imaj olarak kaldi. Eger qcow2 nimetlerimden faydalanmak istese idim sunuda yapmam gerekiyordu ancak ben yapmadim

qemu-img convert -f raw vm-102-disk-1.raw -O qcow vm-102-disk-1.img

tabi bunu yaptikdan sonra proxmoxa bunu nasil gosterirdim orasini denemedigimden bilmiyorum…

son olarak birde screen shot koyayim:

qemudisk

Amaci disina cikiyor site. Basma su screenshotlari pls.

Yardiriyonda ne oluyo..

yarmagul