| Logical Volume Manager |
| UNIX / Linux - General UNIX |
| Saturday, 07 February 2009 14:56 |
|
Whats is LVM ? LVM (Logical Volume Manager) for the Linux Kernel is a method of allocating hard drive space into logical volumes, this also allows for the easy creation, resizing, or removal of new or existing partitions.
Note : You can have more then one physically volume used when creating a volume group. i.e 2 Physical Volumes at 20 GB each (2 x 20GB). This would allow you to create a 40GB Volume Group. How do I change the size of my Logical Volumes ? The below was carried out of RedHat Enterprise 5. Other Linux distrubutions may vary.
The following commands will provide you with an overview of your Physical / Logical Volumes,
Ok, so first of all we will need to boot the device into single user mode. We can do this by altering the /etc/inittab file by using the following command. Then reboot your system into single user mode. sed -i 's/id:3:initdefault/id:1:initdefault/g' /etc/inittab Once in single-user mode run the following commands, (first of all we will reduce /var) umount /var Now you can extended /usr, lvextend -L 40G /dev/vg0/usr Then use the df -kh command to check that the changes have been successful. sed -i 's/id:1:initdefault/id:3:initdefault/g' /etc/inittab |
Latest Articles
- F5 LTM VE 10.2.x - Interfaces not recognised
- Cisco ASA - Security Levels / NAT Control
- F5 LTM - OneConnect
- Django - CSRF verification failed. Request aborted.
- F5 LTM VE - Unable to attach to PCI device 02:01.00 for Interface 1.1
- F5 LTM - Connection Management
- Brocade ADX - FTP
- PKI - Chain of Trust
- Juniper SRX - Site to Site VPN using a Dynamic IP address
- F5 LTM - How do I perform software installations ?
- Juniper SRX - NAT
- Juniper SRX - How to configure a route based VPN
- Juniper SRX - Dynamic VPN
- Juniper SRX - How to configure a policy based VPN
- Brocade ADX - NAT
- Brocade ADX - CSW nested rules
- How do I upgrade a Juniper SRX Series gateway
- Cisco ASA - How do I capture ARP`s ?
- Juniper SRX - Configuring Source NAT with pool
- Running a packet capture on a Juniper SRX
Popular
- Proxy ARP – SPLAT
- Check Point Commands
- IPSO - Commands
- ASA 8.3 - How to configure NAT
- vSphere - Creating User and Group Permissions
- PEMU - Free Cisco PIX Firewall Emulator / Simulator
- Configuring Wireless Connectivity within Backtrack 4 r2
- Juniper Netscreen Commands
- Juniper Netscreen - NAT Explained
- How do I install snmpwalk / snmpget using Yum ?
- Netscreen - NSRP
- ESX Convertor - The session is not authenticated
- Troubleshooting a Netscreen Site 2 Site VPN
- ESX - ViClient Cannot connect to host
- Endpoint Connect Installation / Troubleshooting Guide
- Check Point - How to Reset SIC
- ESXi - Connecting to a named pipe
- Netscreen - Routing Basics / Virtual Routers / PBR
- Configuring Windows 2008 R2 as an NTP Server
- Check Point Logging Troubleshooting Guide


