Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 06-18-2012
Registered User
 
Join Date: Jun 2012
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
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?
Sponsored Links
    #2  
Old 06-18-2012
vbe's Avatar
vbe vbe is offline Forum Staff  
Moderator
 
Join Date: Sep 2005
Location: Switzerland - GE
Posts: 4,633
Thanks: 118
Thanked 256 Times in 245 Posts
Can you explain how you got those figures?
Sponsored Links
    #3  
Old 06-18-2012
Registered User
 
Join Date: Jun 2012
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
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
vbe's Avatar
vbe vbe is offline Forum Staff  
Moderator
 
Join Date: Sep 2005
Location: Switzerland - GE
Posts: 4,633
Thanks: 118
Thanked 256 Times in 245 Posts
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
Sponsored Links
    #5  
Old 06-18-2012
Registered User
 
Join Date: Jun 2012
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Sponsored Links
    #6  
Old 06-18-2012
vbe's Avatar
vbe vbe is offline Forum Staff  
Moderator
 
Join Date: Sep 2005
Location: Switzerland - GE
Posts: 4,633
Thanks: 118
Thanked 256 Times in 245 Posts
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 11:47 AM.. Reason: added swlist output...
Sponsored Links
    #7  
Old 06-18-2012
vbe's Avatar
vbe vbe is offline Forum Staff  
Moderator
 
Join Date: Sep 2005
Location: Switzerland - GE
Posts: 4,633
Thanks: 118
Thanked 256 Times in 245 Posts
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...
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Basic Filesystem / Physical Volume / Logical Volume Check chipahoys AIX 1 12-02-2008 07:05 AM
Move veritas filesystem space between Logical volumes Steelysteel UNIX for Dummies Questions & Answers 2 11-24-2008 06:02 PM
Moving a Logical Volume from one Volume Group to Another krisw AIX 2 07-14-2008 07:48 AM
logical volume and filesystem chomca AIX 1 05-26-2006 09:57 AM
How to resize a logical volume to free up some space using sam? emplate HP-UX 4 04-15-2005 02:08 PM



All times are GMT -4. The time now is 11:54 AM.