extend disk lvm linux
- Angelo Schalley
- Dec, 09, 2009
- Linux
- 3 Comments
fdisk /dev/sdb
create as many partitions as you need using command n
Label them with command t as 8e for making it Linux LVM
Write and Exit with the command w.
Format the partitions you require using mkfs command
mkfs -t ext3 -c /dev/sdb1
LVM commands
pvcreate /dev/sdb1
vgextend VolGroup00 /dev/sdb1
lvextend -L 15G /dev/VolGroup00/LogVol01 ;for extending LogVol to 15GB
lvextend -L+1G /dev/VolGroup00/LogVol01 ;for adding one more GB to Logical Volume LogVol01
ext2online or resize2fs /dev/VolGroup00/LogVol01 ;for resizing the Logical Volumes
3 Responses so far.
Leave a Reply
This site uses Akismet to reduce spam. Learn how your comment data is processed.
[…] the disk and adding it to the lvm disk : http://www.schalley.eu/2009/12/09/extend-disk-lvm-linux/ 0 Categories: Linux, vmware Tags: Comments (0) Trackbacks (0) Leave a comment […]
Thxs buddy.. !!!!
Check below mentioned url, very easy to understand
http://www.redhatlinux.info/2010/11/lvm-logical-volume-manager.html
@pravink.22
thx for the link, nice addition to the topic.
Angelo