Visit The New, Modern Unix Linux Community


Increase filesystem and or logical volume


 
Thread Tools Search this Thread
Operating Systems AIX Increase filesystem and or logical volume
# 1  
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?


Code:
extendlv hd4 1
chfs -a size=2G /tmp

or just

Code:
chfs -a size=2G /tmp

Moderator's Comments:
Mod Comment Code tags!

Last edited by bakunin; 03-11-2014 at 11:17 AM.. Reason: code tags repositioned
# 2  
Just the filesystem - the LV size is increased automatically. You might have a test box where you can try it out yourself. And use code tags.
# 3  
Use a plus (or minus) to do incremental changes to a filesystem. For example,...

Absolute...
Code:
 chfs -a size <value> <file-system>

.

versus

Incremental...
Code:
 chfs -a size +<value> <file-system>


Last edited by blackrageous; 03-11-2014 at 11:13 AM.. Reason: typo
# 4  
Basically you can increase the filesystem and the LV is resized automatically, like zaxxon said. You can (and should) do this if you do not care about the PP layout for the LV. If you are on a modern system and your disks are virtual (like: provided by a SAN) this is the way to go.

If you have physical disks and want to control which PPs are allocated to the LV and in which order you might want to resize the LV before (maybe using a mapfile for maximum control over the process) and only then resize the FS.

I hope this helps.

bakunin
# 5  
thx all for u input Smilie

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #408
Difficulty: Medium
The Cygwin distribution contains thousands of packages from the Open Source world including most GNU tools, many BSD tools, an X server and a full set of X applications.
True or False?

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

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

4. 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

5. UNIX for Dummies Questions & Answers

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? (11 Replies)
Discussion started by: trojan28
11 Replies

6. AIX

Logical volume name conflict in two volume group

Hello, I am a french computer technician, and i speak English just a little. On Aix 5.3, I encounter a name conflict logical volume on two volume group. The first volume lvnode01 is OK in rootvg and mounted. It is also consistent in the ODM root # lsvg -l rootvg |grep lvnode01 ... (10 Replies)
Discussion started by: dantares
10 Replies

7. 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

8. AIX

Moving a Logical Volume from one Volume Group to Another

Does anyone have any simple methods for moving a current logical volume from one volume group to another? I do not wish to move the data from one physical volume to another. Basically, I want to "relink" the logical volume to exist in a different volume group. Any ideas? (2 Replies)
Discussion started by: krisw
2 Replies

9. 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

10. AIX

logical volume and filesystem

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

Featured Tech Videos