I am trying to replace an old 9gb hard disk for a 36gb hard drive on an AIX 4.3.2 system (can't update)
I was thinking of doing this by doing a dd from the 9gb to the 36gb hard drive and then resize the Logical Volumes. However, lspv <36gb hard disk> gives me the folowing:
I can only allocate an extra 29 PPs = 464mb. Where are the rest of the PPs of how can I increase the PP size?
Or should I be using a different way to upgrade the (boot)disk?
Why does the lspv say that the 36 GB disk is part of the rootvg? Are you trying to copy the contents of the 9 GB drive to an existing disk or a new one?
This is strange I think:
Which volume group does the 9GB disk belong to?
Normally to move the conents of one disk to another, I would extend the VG with the new disk, mirror the VG, remove the old mirror and reduce the VG to remove the old disk. Of course if the disk you are replacing is one of many in a VG this isn't sufficient.
There are other commands, such as migratepv, etc. There's not enough information in your post to say exactly which method to use.
your ppsize is too small - since you can have only 1016 pps on a physical disk normally, you would need a pp size of 64.
The clean way would be to restore the system from mksysb via a nimserver - the ppsize should be automatically set to 64. Since your box is so old and you maybe don't want to do this kind of restore, you could try it with a simple
- this works if your metadata doesnt need to be changed and you don't have stale partitions and allows you to have 4 x 1016 = 4064 pps on a disk but it comes with the price that you can only have max 4 disks in rootvg afterwards.
[...]I am trying to replace an old 9gb hard disk for a 36gb hard drive on an AIX 4.3.2 system (can't update)
I was thinking of doing this by doing a dd from the 9gb to the 36gb hard drive and then resize the Logical Volumes. However, lspv <36gb hard disk> gives me the folowing:
I can only allocate an extra 29 PPs = 464mb. Where are the rest of the PPs of how can I increase the PP size?
Hi Robert.
From what you describe I think you are experienced with some other Unix, probably Linux, but you are unaware of AIX in general and of LVM in particular. Unfortunately by using what worked in a different environment you outfoxed yourself here. LVM is great because many things can be done on the fly but among the things LVM cannot do is changing a VG's PP size. Once you decided upon a PP size you need create a new VG to change that. This usually means backup followed by restore. By using dd you wrote your 9GB disk onto the 36GB disk. This explains why there are just as many PP visible as the 9GB disk had you used as infile. No LVM has written any logical structure onto your bigger disk but you did that with dd. From AIX 5.2 on you might be able to change this with chvg -g but you would need to boot from that disk first. However, even if your server boots from that disk and you could add new partitions to the VG's descriptor area you would still need to use the -t factor to fully utilise the 36GB disk.
Quote:
Originally Posted by eRJe
Or should I be using a different way to upgrade the (boot)disk?
Well, yes. Both scottn and zxmaus hinted at part of the solution. An AIX administrator would
Unfortunately there is another fly in the ointment. Depending on where hdisk6 belongs to there might be more to do before you could follow that procedure. AIX is very robust usually but sth AIX cannot deal with is two disks with the same PVID but that is what you created with dd. If that evil disk exists within your rootvg removing it from there might turn out to be bit of problem. In that case start with takeing a backup from your rootvg. Only then try to get rid of the disk with a
And hopefully your server has no memory of hdisk6 as member of the rootvg after that.
Yes indeed I am more familiar with LINUX. This AIX system is one of the oldest systems at my work. We still have got a few of them. They are one of the most stable systems I've ever seen. That's great but also doesn't give me much experience with troubleshooting :-) Most of our own AIX guru's have moved on and even IBM finds it difficult to give us support on these systems today. Specifically on the hardware!
We have 4 IBM S70 stations. They are currently equipped with one (1) 9gb hard drive which we want to upgrade to a 36gb drive.
What I will try again is to restore one of our tape backups. The first time this came with a big list with errors concerning the network. Perhaps this was due to read errors from the tape? Can I also copy back files from disk to disk after the tape restore?
Hello All,
I have a Red Hat Linux 5.9 Server installed with one hard disk & 2 Partitions created on it as follows,
/boot - Linux Partition & another is
LVM - One VG & under that 5-6 Logical volumes(var,opt,home etc).
Here my requirement is to take out 1GB of space from LVM ( Any logical... (5 Replies)
hi all
while formatting hard disk i am getting following error.
Partition 1 ends at 266338338
It must be between 34 and 143374704.
label error: EFI Labels do not support overlapping partitions
Partition 8 overlaps partition 1.
Warning: error writing EFI.
Label failed.
I have formatted the... (2 Replies)
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)
Hello All,
Can anybody please tell me what is the maximum limit of Physical IBM Power Machine which can be handled by single HMC at a single point of time?
Thanks,
Jenish (1 Reply)
I was in smit, checking on disc space, etc. and it appears that one of our physical volumes that is part of a large volume group, has no free physical partitions. The server is running AIX 5.1. What would be the advisable step to take in this instance? (9 Replies)
Hello,
I need explanations about physical disks and physical volumes. What is the difference between these 2 things?
In fact, i am trying to understand what the AIX lspv2command does.
Thank you in advance. (2 Replies)
hi,
1) is logical partition the same as physical partition except that one is physical and the other is logical?
2) then it must a one to one ratio? (3 Replies)
Hi Everyone,
Can someone tell me the effect of the pp size of the volume group created for Oracle data.
It would seem that creating small pp's will cause more overhead. What if you make the pp to large? What should I base this size on?
Thanks, (4 Replies)