LVM2: Are these physical volumes free?

 
Thread Tools Search this Thread
Operating Systems Linux SuSE LVM2: Are these physical volumes free?
# 1  
Old 08-17-2011
LVM2: Are these physical volumes free?

Hi,

I am trying to find some free space on this system. The following physical volumes look empty. Would you please help me confirm this? What other commands can I use to find free space?

Thank you in advance!

Code:
# pvdisplay -m /dev/block/104:2
  --- Physical volume ---
  PV Name               /dev/block/104:2
  VG Name               system
  PV Size               8.94 GB / not usable 2.23 MB
  Allocatable           yes
  PE Size (KByte)       4096
  Total PE              2288
  Free PE               2288
  Allocated PE          0
  PV UUID               p3QiiG-OeNU-Wd9U-PSsY-sQtE-sh0K-gf8RoW
  --- Physical Segments ---
  Physical extent 0 to 2287:
    FREE

# pvdisplay -m /dev/block/104:4
  --- Physical volume ---
  PV Name               /dev/block/104:4
  VG Name               system
  PV Size               15.00 GB / not usable 3.02 MB
  Allocatable           yes
  PE Size (KByte)       4096
  Total PE              3839
  Free PE               3839
  Allocated PE          0
  PV UUID               1dwSv3-THur-qCOd-cgNF-Hulw-2lRa-SJfPe1
  --- Physical Segments ---
  Physical extent 0 to 3838:
    FREE

# 2  
Old 08-17-2011
I think vgs will print free space present in volume groups.
# 3  
Old 08-17-2011
According to this output, both are already part of a volume group (VG Name system), but don't yet have any data on them (Allocated PE 0)

But generally, if you want to add additional logical volumes, check the output of vgdisplay how much space is left on the volume groups.
This User Gave Thanks to pludi For This Post:
# 4  
Old 08-18-2011
Hi Pludi,

"Allocated PE 0" is good enough. It can be verified by 'vgdisplay -v | grep Free'.

Thanks a lot!
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Physical and Free mem on TOP command

Hi, When I run the free command on solaris, I get the following: "Memory: 60G phys mem, 69G free mem" Q: how cna the free mem be higher then the physical mem?:confused: Amit (3 Replies)
Discussion started by: amitlib
3 Replies

2. Fedora

Need to incrwase PHYSICAL VOLUME space on hard drive with free space on it

Hi, I run Fedora 17. I created a physical volume of 30GB on a disk with 60GB of space so there is 30GB of free space. On the physical volume, I created my volume group and logical volumes. I assigned all the space in the physical volume to my volume group. I need to add the 30GB of free space... (1 Reply)
Discussion started by: mojoman
1 Replies

3. AIX

Maximum Limit of HMC to handle Physical Power Virtualization Physical Machine

Hello All, Can anybody please tell me what is the maximum limit of Physical IBM Power Machine which can be handled by single HMC at a single point of time? Thanks, Jenish (1 Reply)
Discussion started by: jenish_shah
1 Replies

4. UNIX for Advanced & Expert Users

Manual LVM2 config

I've got two Ubuntu 9.04 LTSP servers, lts1 and lts2, which have been setup differently by different people. Each server has 4+ scsi disks that I'd like to setup with LVM and SW_Raid-1 (for mirroring) on disks 0-3 on each. Abbreviated: root@lts1:~# lshw -C disk ... (2 Replies)
Discussion started by: ermeyers
2 Replies

5. Solaris

How to find Total and Free Physical Memory and Logical Memory in SOLARIS 9

Hi, Im working on Solaris 9 on SPARC-32 bit running on an Ultra-80, and I have to find out the following:- 1. Total Physical Memory in the system(total RAM). 2. Available Physical Memory(i.e. RAM Usage) 3. Total (Logical) Memory in the system 4. Available (Logical) Memory. I know... (4 Replies)
Discussion started by: 0ktalmagik
4 Replies

6. Solaris

Sun Solaris and LVM2

It's possible ? Install LVM on Sun Solaris 10 ? (3 Replies)
Discussion started by: jess_t03
3 Replies

7. UNIX for Dummies Questions & Answers

Checking CPU Usage and available free physical and virtual memories

Hi , can anyone please guide me on how do i go about getting the CPU Usage and available free physical and virtual memories? i know i can get it by using prstat, but i want to get an overall CPU Usage and not a breakdown of all same for the free physical and virtual memories ? (2 Replies)
Discussion started by: filthymonk
2 Replies

8. UNIX for Dummies Questions & Answers

Physical volume- no free physical partitions

I was in smit, checking on disc space, etc. and it appears that one of our physical volumes that is part of a large volume group, has no free physical partitions. The server is running AIX 5.1. What would be the advisable step to take in this instance? (9 Replies)
Discussion started by: markper
9 Replies

9. UNIX for Dummies Questions & Answers

physical volume and physical disk.

Hello, I need explanations about physical disks and physical volumes. What is the difference between these 2 things? In fact, i am trying to understand what the AIX lspv2command does. Thank you in advance. (2 Replies)
Discussion started by: VeroL
2 Replies
Login or Register to Ask a Question