Convert rootvg to scalable


 
Thread Tools Search this Thread
Operating Systems AIX Convert rootvg to scalable
# 1  
Old 01-09-2015
Convert rootvg to scalable

hello everyone, I have an AIX6.1 machine and i want to convert the rootvg to scalable format because i need to increase the size of specific file systems and i cannot do it with its current state. I know that in order to perform this operation the volume group must be varied off so is there a way to do this possible if i boot through service mode? Take also into consideration that rootvg is mirrored also so maybe i will need to break the mirror too or not? Thank you
# 2  
Old 01-09-2015
First off, I have never tried to convert the rootvg into a scalable.

Reasons:

Usually rootvg should be sufficient for it's parameters. If you have application data etc. on the rootvg, you might want to think about adding additional disks and form a new VG on them to simply separate the OS from your application data.
Normally you want your rootvg for a production system as clean as possible which means that only OS stuff resides there with the one or other small exception.

If you want to give it a try anyways, I would do the following:
  1. Take a mksysb backup including all relevant file systems (check that you don't have excludes listed that might relate into a problem on a possible restore)
  2. Break the mirror
  3. Boot in service mode
  4. varyoffvg rootvg and try to issue the chvg and convert it to scalable
# 3  
Old 01-09-2015
well the reason i want to convert rootvg to scalable (even big may be enough) is because of my backup software. it uses /var and /opt and for the upgrade it needs additional space that is not available right now. i tried to convert rootvg to big because i thought this change could be done while the volume group is active but still does not work. then i boot through service mode and tried to convert it but still i get error. i suspect that maybe is because i didnt break the mirror? i would try again but first break the mirror.
# 4  
Old 01-10-2015
Quote:
Originally Posted by omonoiatis9
well the reason i want to convert rootvg to scalable (even big may be enough) is because of my backup software. it uses /var and /opt and for the upgrade it needs additional space that is not available right now.
OK, but: with a classic VG you can use a PP size of up to 128G. Every PV ca hold 1016 PPs, which makes the maximum size of a PV in a classic VG ~1.2 TB. You can add up to 32 PVs to a VG, which makes the possible disk space in a rootvg 32 x 1.2 ~ 38TB. I do not know your backup software but this is perhaps enough.

Another take is: the software will perhaps not write to "/var" or "opt" directly but to some subdirectory "/var/somewhere". It is no problem to mount a FS with more space there which comes from a separate volume group.

If you want to increase the PP size for your rootvgs which you install via NIM you find a detailed how-to here.

I hope this helps.

bakunin

Last edited by bakunin; 01-10-2015 at 05:57 AM..
This User Gave Thanks to bakunin For This Post:
# 5  
Old 01-10-2015
thank you both solutions seems very good.
i think the easiest way is just create a link from the directory under /var and /opt or just mount a separate file system like you said. thats the easiest and fastest way to do it. i would like to avoid an mksysb restore.

Last edited by omonoiatis9; 01-10-2015 at 08:52 AM.. Reason: correction
# 6  
Old 01-12-2015
I always strive to keep rootvg (or its equivalents on other OSs) empty apart from what is necessary to boot the server and get on the network. Even backup software can be installed again and good software will offer you the ability to read the backup catalogues from any tapes you have written so you can rebuild whatever it needs to get your real restores running.

For me, a rootvg should be the smallest disk you can see from the SMS menus (where you trigger the initial install or mksysb recovery from) and if local, it needs to be a pair. 36Gb (each) should be plenty. I have one server with a pair of the and only 12Gb allocated on each. I have no plans to allocate any non critical (so far as the OS is concerned) space in there. It's a waste perhaps,but I prefer to see it as a bearable cost.

We even force users we define using a home directory outside rootvg. There is no problem creating a filesystem with a mount point of /var/backup-logs or whatever, and it is probably safer that creating a separate filesystem with a symbolic link to it.


Growing rootvg might mean that you can no longer back it up with a mksysb and you will have problems restoring it too as your requirements are bigger than usual.



Robin

Last edited by rbatte1; 01-12-2015 at 09:10 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. AIX

Reducing / on rootvg

The root filesystem was mirrored, someone/something stopped mirroring, and increased / and /home to ridiculous values (/ got increased to 102gb and its only using 4.3gb, so 98gb is free). Can I reduce the / (/dev/hd4) filesytem down WITHOUT corrupting the the OS? I would do a: chfs -a size=10g... (6 Replies)
Discussion started by: mrmurdock
6 Replies

2. AIX

rootvg mirrored

I want to increase the size of /tmp by 1GB I know that the command is chfs -a size=+1G /tmp But the rootvg is mirrored and when I do a lsvg -p rootvg, I could see 2 disks. Will there be any impact if I increase the size of /tmp when the rootvg is mirrored ? Please advise. (1 Reply)
Discussion started by: newtoaixos
1 Replies

3. AIX

extendvg and rootvg

When attempting to extend rootvg to a new physical disk I received the following message: 0516-1162 extendvg: Warning, The Physical Partition Size of 64 requires the creation of 1093 partitions for hdisk5. The limitation for volume group rootvg is 1016 physical partitions... (4 Replies)
Discussion started by: jyoung
4 Replies

4. AIX

mirror rootvg

Hello I have a question I have a box with Aix 5.3 with rootvg on mirror. I deleted a filesystem and I create a new one to install some software but when I type lsvg -l rootvg all my filesystems has mirror unless the new one. My question is I can mirror this fs only ??? or I have to... (9 Replies)
Discussion started by: lo-lp-kl
9 Replies

5. AIX

Cloned Rootvg

New Question: The purpose of an alternate disk install is in my opinion to have a ready-to-use-backup and i've read that it is possible to install filesets or software on the cloned disk for testing purposal while the normal system is still running. The question is: how do you tell AIX (5.2... (5 Replies)
Discussion started by: kvanelshocht
5 Replies
Login or Register to Ask a Question