This is a discussion on Where is OS installed? within the AIX Operating System forums, part of the Unix Operating Systems category; --> We recently got some IBM servers which came with AIX 5.3 pre- installed. I mirrored the OS and then ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| We recently got some IBM servers which came with AIX 5.3 pre- installed. I mirrored the OS and then grew the filesystems: Filesystem GB blocks Free %Used Iused %Iused Mounted on /dev/hd4 8.00 7.97 1% 1980 1% / /dev/hd2 6.00 4.56 24% 31977 3% /usr /dev/hd9var 8.00 7.90 2% 706 1% /var /dev/hd3 2.00 1.78 12% 225 1% /tmp /dev/fwdump 0.12 0.08 39% 5 1% /var/ adm/ras/platform /dev/hd1 2.00 2.00 1% 10 1% / export/home /proc - - - - - /proc /dev/hd10opt 8.00 7.63 5% 6089 1% /opt So the way I see it is I have 34.12GB partitoned and only 1.3GB being used. This includes 3rd party stuff we've added and TL5 stored under / usr for now. On Solaris the / partiton grows by GBs after installing from CD. Is AIX really only 300MB or so? |
| |||
| On 2007-06-22, MJB <helios123@cox.net> wrote: > Filesystem GB blocks Free %Used Iused %Iused Mounted on > /dev/hd4 8.00 7.97 1% 1980 1% / > /dev/hd2 6.00 4.56 24% 31977 3% /usr > /dev/hd9var 8.00 7.90 2% 706 1% /var > /dev/hd3 2.00 1.78 12% 225 1% /tmp > /dev/fwdump 0.12 0.08 39% 5 1% /var/ > adm/ras/platform > /dev/hd1 2.00 2.00 1% 10 1% / > export/home > /proc - - - - > - /proc > /dev/hd10opt 8.00 7.63 5% 6089 1% /opt > > So the way I see it is I have 34.12GB partitoned and only 1.3GB being > used. This includes 3rd party stuff we've added and TL5 stored under / > usr for now. On Solaris the / partiton grows by GBs after installing > from CD. Is AIX really only 300MB or so? No, it's not. You seem to assume that the OS lives in / only, but on many UNIX or UNIX-like operating systems, / is actually quite small. A default installation of AIX puts much more in /usr than it puts in /. (Of course, all this assumes that you don't put /usr in the same filesystem as /) -- Jurjen Oskam Savage's Law of Expediency: You want it bad, you'll get it bad. |
| |||
| On Jun 22, 9:00 pm, MJB <helios...@cox.net> wrote: > We recently got some IBM servers which came with AIX 5.3 pre- > installed. I mirrored the OS and then grew the filesystems: Why oh why?? AIX is not pre-partitioned. You can and should create new file-systems separately to the the O/S... Your O/S file-systems are huge for no good reason. You can increase their sizes dynamically at any stage, why be wasteful upfront? Things like the AIX installer (installp) will automatically grow file-systems during installations. If you simply keep the O/S file-systems at a sane utilisation (e.g. 70% or so), you should never have a problem. Third party apps. are usually installed to non-O/S disks (usually fast external disk subsystems), and in non-O/S FS. Installing to the O/S areas just increases the risk of accidentally overwriting libraries & binaries that should be left untouched. Keep the O/S in rootvg and your apps. in another VG. Regards, Niel |
| |||
| MJB wrote: > We recently got some IBM servers which came with AIX 5.3 pre- > installed. I mirrored the OS and then grew the filesystems: It's probably unnecessary to allocate such large chunks of unneeded space to your filesystems, and instead shrink them back down to a more reasonable size in case you need disk space for something else (e.g. / export/home seems like a consistent space hog). You can always make any file system larger later, so there's not necessarily a need to pre- allocate a huge chunk of free space. Run something like this to defrag your rootvg file systems in preparation for shrinking: for fs in $(lsvgfs rootvg); do defragfs $fs done Then adjust your file system sizes thusly: chfs -a size=1G / chfs -a size=3G /usr chfs -a size=1G /var chfs -a size=1G /tmp chfs -a size=1G /opt -- RR |
| ||||
| On Jun 23, 3:20 pm, RR <oss...@gmail.com> wrote: > MJB wrote: > > We recently got some IBM servers which came with AIX 5.3 pre- > > installed. I mirrored the OS and then grew the filesystems: > > It's probably unnecessary to allocate such large chunks of unneeded > space to your filesystems, and instead shrink them back down to a more > reasonable size in case you need disk space for something else (e.g. / > export/home seems like a consistent space hog). You can always make > any file system larger later, so there's not necessarily a need to pre- > allocate a huge chunk of free space. > > Run something like this to defrag your rootvg file systems in > preparation for shrinking: > > for fs in $(lsvgfs rootvg); do > defragfs $fs > done > > Then adjust your file system sizes thusly: > > chfs -a size=1G / > chfs -a size=3G /usr > chfs -a size=1G /var > chfs -a size=1G /tmp > chfs -a size=1G /opt > > -- > RR RR- Thanks for the advice. Coming from a Solaris background which usually allocates parttion sizes up front. Will follow your advice - Thanks |