This is a discussion on AIX LVM Considerations within the AIX Operating System forums, part of the Unix Operating Systems category; --> Hi all, I recently got a spare 7012-39H up and running. It is now running AIX 4.3.3 after much ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi all, I recently got a spare 7012-39H up and running. It is now running AIX 4.3.3 after much experimenting and reading. I'm used to fixed partitioning schemes on Linux and Windows and have a few questions on what should be done in terms of adding space to the LVs. My drive is 9.1GB with 542 16MB-PPs. As I add space to the other LVs, should I increase the 'jfslog' allocations? What is this LV used for? Any recommendations percentage wise for all the default partitions ( /, /usr, /var, /tmp, /home, jfslog)? I'm starting with a fresh ASCII BOS install and I plan to install CDE and all the other goodies to use it as a basic UNIX workstation and PHP/Apache/MySQL test server. Regards, Kevin |
| |||
| "Kevin Bowling" <kevin.bowlingNO.SPAM@wans.REMOVETHIS.net> wrote in message news:<QXSsc.13155$Sx2.10907@okepread01>... > Hi all, > I recently got a spare 7012-39H up and running. It is now running AIX > 4.3.3 after much experimenting and reading. I'm used to fixed partitioning > schemes on Linux and Windows and have a few questions on what should be done > in terms of adding space to the LVs. My drive is 9.1GB with 542 > 16MB-PPs. As I add space to the other LVs, should I increase the 'jfslog' > allocations? What is this LV used for? Any recommendations percentage wise > for all the default partitions ( /, /usr, /var, /tmp, /home, jfslog)? I'm > starting with a fresh ASCII BOS install and I plan to install CDE and all > the other goodies to use it as a basic UNIX workstation and PHP/Apache/MySQL > test server. > Regards, > Kevin There is no need to increase the size of the JFS log. JFS stands for Journalled File Systems and the JFSLOG is the journal log, also jfslog isn't a filesystem, the only way to see if it isn't big enough is if you get jfslog_waits in errpt.. I try and keep the percentages below 95% but as these areas are usually pretty static apart from /var. /usr only generally increases when you install new software, use the -X option on installp to increase the filesytems. Personally I think use percentage is not the right thing to use for working out space utilisation. If a 16 Mb filesystem is 99% full, then this can be a problem, but if a 2 Tb filesystem is 99% full, you've still got gigabytes of free space. I have one other suggestion. Consider purchasing another disk (preferably of the same size) so you can mirror rootvg, you have the opportunity of learning more about the capabilities of the LVM (Logical Volume Manager). Steve |
| |||
| Kevin Bowling wrote: > Hi all, > I recently got a spare 7012-39H up and running. It is now running AIX > 4.3.3 after much experimenting and reading. I'm used to fixed partitioning > schemes on Linux and Windows and have a few questions on what should be done > in terms of adding space to the LVs. My drive is 9.1GB with 542 > 16MB-PPs. As I add space to the other LVs, should I increase the 'jfslog' > allocations? What is this LV used for? Any recommendations percentage wise > for all the default partitions ( /, /usr, /var, /tmp, /home, jfslog)? I'm > starting with a fresh ASCII BOS install and I plan to install CDE and all > the other goodies to use it as a basic UNIX workstation and PHP/Apache/MySQL > test server. > Regards, > Kevin > Kevin, Your strategy to work with disk space must change completely: Just allocate the amount of space to a filesystem you need, don't increase the size without necessity ! -> Making it bigger is online at no cost or overhead -> Making it smaller is a pain (backup/restore or copy) If you allocate too much space to a filesystem you will end up with unused space in places you don't need it (/usr, /tmp, /var, /, etc.) Once in a while you check the space remaining (lsvg rootvg) to know when you will run out of space. On most other platforms (Windows, Linux, other Unixes) you tend to allocate all disk space immediately. This is unnecessary on AIX and will kill the big flexibility advantage of the LVM right at the beginning. Markus |
| |||
| > I recently got a spare 7012-39H up and running. It is now running AIX > 4.3.3 after much experimenting and reading. I'm used to fixed partitioning > schemes on Linux and Windows and have a few questions on what should be done > in terms of adding space to the LVs. My drive is 9.1GB with 542 > 16MB-PPs. As I add space to the other LVs, should I increase the 'jfslog' > allocations? What is this LV used for? Any recommendations percentage wise > for all the default partitions ( /, /usr, /var, /tmp, /home, jfslog)? I'm > starting with a fresh ASCII BOS install and I plan to install CDE and all > the other goodies to use it as a basic UNIX workstation and PHP/Apache/MySQL > test server. Hi Kevin, when starting with AIX 4.3.3 the man pages are missing. They are on the Base Documentation CD. You can increase the size of any filesystem with "chfs -a size=<number of 512 Byte blocks> /mountpoint" With AIX's volume manager you can wait until the fs is filled and you need more space. When installing software packages with smit, the fs are automatically increased. Compared to linux / is very small and /usr needs the very most. When you install CDE, the App Dev Bundle and docs /usr will grow above 1GB. Whith a full set of GNU dev tools 2GB are filled easily. You cannot shrink filesystems, but you can create a new, mount, unmount and delete a new, temporary fs when needed. -- Uli (Reply to ulrich <dot> link <domain-delimiter> epost <dot> de) |
| |||
| "Uli Link" <spamkuebel.csiph@linkitup.homeunix.com> wrote in message news:40b509f2$0$13305$9b4e6d93@newsread2.arcor-online.net... > > Hi Kevin, > > when starting with AIX 4.3.3 the man pages are missing. > They are on the Base Documentation CD. > > You can increase the size of any filesystem with > "chfs -a size=<number of 512 Byte blocks> /mountpoint" > > With AIX's volume manager you can wait until the fs is filled and you > need more space. When installing software packages with smit, the fs are > automatically increased. Hi Uli et al, After some fiddling, I see that it isn't the LVs I need to increase, but the JFS sizes. Thanks for all the comments.. I've put these in to effect and see that /usr does indeed fill up fast but have left plenty of disk space slack. I began installing packages and am building up to get a GNU suite on to compile apps myself. Thanks for all the suggestions! Kevin |
| ||||
| Kevin Bowling wrote: > > Hi Uli et al, > After some fiddling, I see that it isn't the LVs I need to increase, > but the JFS sizes. Thanks for all the comments.. I've put these in to > effect and see that /usr does indeed fill up fast but have left plenty of > disk space slack. I began installing packages and am building up to get a > GNU suite on to compile apps myself. > Thanks for all the suggestions! > Kevin Yup, I forgot to say: Never increase the size of the lv because the filesystem will not grow, but increase the filesystem and the underlying lv will grow automatically. -> use 'chfs -a size=+<addtional blocks> <mount point>' One nifty trick is to use +1 to increase the filesystem by one pp. -> 'chfs -a size=+1 /usr' will increase /usr by a couple of megs Markus |