RHCE/RHCSA Exam Notes This is my personal notes on RHCSA/RHCE RHCSA/RHCE exam. Site still work in progress. For comments and suggestions email me at mctofferatgmaildotcom mctofferatgmaildotcom
There was an error in this gadget
Showing posts with label LVM. LVM. Show all posts
About ME
Sunday, May 1, 2011
The main purpose of this site is to dump all my notes on Redhat certification RHCSA/RHEL. If you have comments and suggestions, please do email me on mctofferatgmaildotcom
LVM commands
Labels
To add a disk #pvcreate /dev/
LVM commands: Show lvm #pvs #vgs #lvs #pvdisplay #vgdisplay #lvdisplay
[root@rhel01 ~]# pvcreate /dev/sda1 Physical volume “/dev/sda1 ″ successfully created
Summer Training in Linux www.linuxworldindia.org RedHat Best Awarded Partner Get Explore Project Mob:9351788883
Create volume group lab_group1
[root@rhel01 ~]# vgcreate lab_group1 /dev/sda1 Volume group “lab_group1 ″ successfully created
Ready To Play? Quikr.com/treasure_hunt Play for Free & Win Recharge worth Rs.1 Lakh Everday. Play Now.
Hardware Engg in 75 days www.aptechnpower.com For Hardware & Networking courses Join Aptech Networking today
In this sample i created 10MB of logical volume mount to /mnt [root@rhel01 ~]# lvcreate -L 10M lab_group1 -n lab01 Rounding up size to full physical extent 12.00 MiB Logical volume “lab01 ″ created [root@rhel01 ~]# mkfs.ext4 /dev/lab_group1/lab01 mke2fs 1.41.12 (17-May-2010) [root@rhel01 ~]# mount /dev/lab_group1/lab01 /mnt [root@rhel01 ~]# df -h /mnt Filesystem
Size
300 lakh IT jobs*
/dev/mapper/lab_group1-lab01
www.Aptech-Education … Get a global career through Aptech Work in the IT field of your choice
12M
Learn Cloud Computing www.innobuzz.in Latest Training Program on Cloud Computing via Distance Learning
Followers
1.2M
10M
Used Avail Use% Mounted on
11% /mnt
Extending Logical Volume using new disk Initialize new disk
[root@rhel01 ~]# pvcreate /dev/sdb1 Wiping software RAID md superblock on /dev/sdb1 Physical volume “/dev/sdb1 ″ successfully created
Extend lab_group1 volume group [root@rhel01 ~]# vgextend lab_group1 /dev/sdb1 Volume group “lab_group1 ″ successfully extended [root@rhel01 ~]# vgdisplay lab_group1 — Volume group — VG Name lab_group1 System ID Format lvm2 Metadata Areas 2 Metadata Sequence No 3 VG Access read/write
RHCE/RHCSA Exam Notes: LVM
Join this site with Google Friend Connect
Members (3)
Already a member? Sign in
RHEL Sites TechExams.net IT Certification Forums ICND1 / ICND2 exam, or take 640-802? 58 minutes ago
RHEV Blog Installare RPMFORGE REPO e LSHW su RHEL e CentOS 2 weeks ago
Linux Superuser Configure YUM server to install/update packages on remote server 5 weeks ago
Best Unix, Linux Resourses, Tips, Tutorial, Articles and HowTos Does My SPARC Client Support WAN Boot?
http://rhel6notes.blogspot.in/search/label/LVM
VG Status MAX LV Cur LV Open LV Max PV Cur PV Act PV VG Size PE Size Total PE Alloc PE / Size Free PE / Size VG UUID mlu9-o867qV