Meanwhile I found a solution for the topic mentioned. But I would like to let others know how I did that.
I found this great description from a guy whose name is "Ryan".
see: Ryan's AIX description
The only thing I had to change was: use jfs instead of jfs2 (for whatever reason).
Here is a summary of the commands I used to get this working:
1. mkvg -y homevg hdisk1 # create a new volume group on the new/free harddisk
2. mklv -t jfslog -y loghomevg homevg 1 # prepare log for the new filesystem
3. mklv -t jfs -y homelv homevg 64G # prepare a 64G partition for the new /home
4. mkfs -o log=/dev/loghomevg -V jfs /dev/homelv # create new jfs filesystem.
5. mkdir /home2 # create a mountpoint for the new filesystem
6. chown bin:bin /home2 # set ownership according to /home
7. mount -o log=/dev/loghomevg /dev/homelv /home2 # mount the new filesystem
Note: in (4) you have to answer with "Yes". Afterwards it will take a while to complete.
After all that I copied the original content of the /home directory to /home2. I did so by using gnu tar, but other approaches should also work:
cd /home
gtar -cvpf - * | gtar -C /home2 -xpf -
you are done now!
finally you could unmount /home and use /home2 as the new /home directory, e.g. by modifying /etc/filesystems appropriately. Alternatively you could assign a new home directory to the users defined in /etc/passwd, e.g. use /home2/buildsys instead of /home/buildsys
OK, got it fixed!
In the off chance that others are trying to get CUPS working on AIX with my scenario here's what needs to be done:
- Install CUPS. (and all of its dependencies from perzl.org)
- Install Ghostscript from source. Use the
--with-install-cups
flag when
configuring. (the RPM on perzl's site specifically states that there
is NO CUPS support in that package due to compatibility issues with
certain AIX versions)
- Ghostscript installs a gstoraster executable in /usr/lib/cups/filter but it doesn't work (at least for PDFs anyway) so overwrite that file with the gstoraster file from here: http://sourceforge.net/projects/cupsaddons/files/filter-gstoraster/ and take the gstoraster.convs and add its contents to the mime.convs or local.convs.
- Restart CUPS and sending PDFs will be converted first using gstoraster then using the built in rastertolabel executable.
The other option is to compile the cups-filters package since it includes all the filters that Apple removed but I haven't been able to successfully compile that along with all of its dependencies yet.
Best Answer
lsvg -p <volume group>
will list the volumes in a volume group (and sizes)lsvg -l <volume group>
will list the logical volumes (and file systems)To add up file sizes I think you need to look at the file system (
du
command)