Filesystem not using all available space in Logical Volume


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Filesystem not using all available space in Logical Volume
# 1  
Old 06-18-2012
Filesystem not using all available space in Logical Volume

I am running HP-UX 11.31 ia64. The /usr filesystem shows 7 GB as the size, but the logical volume that is mounted there shows 13 GB. Is there a way to get the entire 13 GB to show up and why did this happen in the first place?
# 2  
Old 06-18-2012
Can you explain how you got those figures?
# 3  
Old 06-18-2012
The df -k of /usr shows 7143528 Kbytes but when I run a lvdisplay for /usr, it shows 13312 Mbytes.
# 4  
Old 06-18-2012
Since you have not produced the output of the exact commands you passed, lets do things differently:
Q - What Do I do once I created a FS in order to use it
A - Create a FS...
Q - should it occupy all the LV?
A - Not necessarily...
Q - I create a FS that occupy the half of the LV fo I am a bit paranoid...Now I want to incease a bit its size, How can it be done?
A - Either you have Online-JFS, it can be done on the fly using fsadm, or look at the man pages of extendfs
# 5  
Old 06-18-2012
Sorry for not posting my results. I'm new to forums.

If I read the man page correctly, I must first unmount the FS. Since this is the OS, I'm assuming I have to be in single user mode since the FS is in use?
If these statements are true, I will try that first before taking any more of your time and either close this thread or reply with my results.
Thanks.
# 6  
Old 06-18-2012
Do you know if you have Online-JFS installed?

----------------
addendum:
Code:
ant:/home/vbe $ swlist -l product|grep JFS
  JFS                   B.11.11        The Base VxFS File System 
  OnlineJFS             B.11.11.03.03  Online features of the VxFS File System 
  PHKL_24026            1.0            JFS Filesystem swap corruption 
  PHKL_28512            1.0            Fix for POSIX_AIO in JFS3.3 
  PHKL_29115            1.0            JFS Direct I/O cumulative patch 
  PHKL_30366            1.0            JFS3.3;ACL patch 
  PHKL_34805            1.0            JFS3.3 patch; mmap 
  PHKL_35329            1.0            JFS3.3 edquota performance improvement 
  PHKL_35933            1.0            Panic extending JFS3.3 filesystem past 128GB


Last edited by vbe; 06-18-2012 at 12:47 PM.. Reason: added swlist output...
# 7  
Old 06-18-2012
If you want my point of vue, it looks like someone extended the lvol thinking the FS would follow... not true by command line but if you were to use SAM it would have extended the filesystem also...
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Shrink ext4 filesystem and reduce the size of a Logical Volume in Linux

Hello guys, I would like to ask you kindly if you don't know some quick and safe method how to shrink ext4 filesystem and reduce the size of a Logical Volume in Linux, please? Thank you very much. (2 Replies)
Discussion started by: los_bandidos
2 Replies

2. Red Hat

No space in volume group. How to create a file system using existing logical volume

Hello Guys, I want to create a file system dedicated for an application installation. But there is no space in volume group to create a new logical volume. There is enough space in other logical volume which is being mounted on /var. I know we can use that logical volume and create a virtual... (2 Replies)
Discussion started by: vamshigvk475
2 Replies

3. AIX

Increase filesystem and or logical volume

Hi all, Do i need to increase the logical volume each time i increase the filesystem? or is enough to increase the filesystem and the logical volume get increase automatically? extendlv hd4 1 chfs -a size=2G /tmp or just chfs -a size=2G /tmp Code tags! (4 Replies)
Discussion started by: prpkrk
4 Replies

4. AIX

Position of the logical volume on the physical volume

Hello everyone, I just read that while creating a logical volume(LV) we can choose the region of the physical volume (PV) in which the LV should be created. When I say region I mean: outer edge - outer middle - center - inner middle and inner edge. Can anyone help me understand the utility... (11 Replies)
Discussion started by: adilyos
11 Replies

5. UNIX for Dummies Questions & Answers

Confusion Regarding Physical Volume,Volume Group,Logical Volume,Physical partition

Hi, I am new to unix. I am working on Red Hat Linux and side by side on AIX also. After reading the concepts of Storage, I am now really confused regarding the terminologies 1)Physical Volume 2)Volume Group 3)Logical Volume 4)Physical Partition Please help me to understand these concepts. (6 Replies)
Discussion started by: kashifsd17
6 Replies

6. AIX

Basic Filesystem / Physical Volume / Logical Volume Check

Hi! Can anyone help me on how I can do a basic check on the Unix filesystems / physical volumes and logical volumes? What items should I check, like where do I look at in smit? Or are there commands that I should execute? I need to do this as I was informed by IBM that there seems to be... (1 Reply)
Discussion started by: chipahoys
1 Replies

7. UNIX for Dummies Questions & Answers

Move veritas filesystem space between Logical volumes

I have a veritas file system (fsA) that is nearing capacity. We have secondary file system (fsB). that is unused and would like to move some of it's disk space but I'm unsure as to how to do this with. /dev/vx/dsk/vg05/lvol05 25288704 21887258 3188911 88% ... (2 Replies)
Discussion started by: Steelysteel
2 Replies

8. UNIX for Advanced & Expert Users

LVM - Extending Logical Volume within Volume Group

Hello, I have logical volume group of 50GB, in which I have 2 logical volumes, LogVol01 and LogVol02, both are of 10GB. If I extend LogVol01 further by 10GB, then it keeps the extended copy after logical volume 2. I want to know where it keeps this information Regards Himanshu (3 Replies)
Discussion started by: ghimanshu
3 Replies

9. AIX

logical volume and filesystem

explain about logical volume and filesystem thanks for your replay (1 Reply)
Discussion started by: chomca
1 Replies

10. HP-UX

How to resize a logical volume to free up some space using sam?

Hey all, is it possible to free up space off some partitions? during an install of hp-ux i set some allocated diskspace to lets say, /home to 1024 mb, but now i want it to be 512mb.. I'm looking at sam right now at the "Disks and File Systems" menu , can i modify it at all in like, List-> file... (4 Replies)
Discussion started by: emplate
4 Replies
Login or Register to Ask a Question