Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Confusion adding volume on AIX 4.3 1

Status
Not open for further replies.

Job317

Programmer
Aug 15, 2007
37
US
Hi forum,

Before you flame me, I have googled this topic to death and am just suffering from too much information.

I have a new 18GB hot pluggable hard drive that I want to add to my AIX 4.3 machine for additional storage. I just want to format it and mount it to something like /mnt/storage.

I have formatted the drive and added it to the rootvg:

Code:
bash-2.05a# lsvg -p rootvg
rootvg:
PV_NAME           PV STATE    TOTAL PPs   FREE PPs    FREE DISTRIBUTION
hdisk0            active      542         15          00..00..00..00..15
hdisk1            active      542         542         109..108..108..108..109

Not sure what the FREE DISTRIBUTION stuff is about.

So how do I go now to add the entire disk as a logical volume and mount it at /mnt/storage?

Thanks.
 
OK lv01 seems to have once been in use - I'm guessing some kind of database - as a raw logical volume. That's why you don't have it listed in /etc/filesystems.
The logical volume was created in 2002 (July 18th).
It shows a state of "closed" so it is not in use at this time.

If you still have that kind of database software running, I'd go through all the config files you can find and look for a reference to /dev/lv01 or /dev/rlv01. Also some database softwares create symbolic links to raw devices for "ease of use". So I'd also do a

find / -type l -ls | grep lv01

which may give you another pathname to look for in the config files.


If there's no such database software running on this box anymore, you can probably safely remove this logical volume. It is your decision. Personally, I'd leave it where it is.



HTH,

p5wizard
 
OK. I'll close this thread now. You guys have been tremendously helpful.

The lv01 volume is not linked anywhere and since it also does not show up in /etc/filesystems I'm going to chunk it.

I'll wait a while before I try to recover the space from the "/usr" volume.

Regards all.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top