Blogs Classifieds Downloads FlashChat Gallery Googlemap Invite Friends Links Projects Reviews Wiki
 


Welcome to the pSeries Tech Forums, our free peer-based support site for administrators, engineers and architects working with IBM pSeries servers and software.

You are currently viewing our site as a guest which gives you limited access to view most discussions, articles, tutorials and access our other free features. By joining our community you will be able to collaborate with administrators, engineers and architects charged with designing, delivering or maintaining IBM pSeries server environments.

Founded by a recognized IBM pSeries consultant and IBM Redbook author, pSeries Tech Forums was developed with the single mission of bringing IBM pSeries professionals together into a single self-help community.

Registration is fast, simple and absolutely free to all IT professionals with responsibility for or interest in IBM pSeries servers. We invite you to join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

Our Sponsors
Want to advertise?  


Reply
 
LinkBack Thread Tools
  #1  
Old June 14th, 2007
Wanderer's Avatar
Wanderer Offline
Junior Member
 
Join Date: June 2007
Posts: 2
Need Basic AIX help to get back up and running

I am a small business owner, and, out of necessity, use AIX for one of our CAD workstations. There is no networking, we are simply tied to this platform. I have a project that I am currently working on that required an older version of software to be installed, and in doing so, I accidentally deleted something that prevented me from being able to log in under any profile, including root. So, basically I reinstalled AIX, (which is OK - better for us, even) but I simply don't know my way around all that well. My questions are basic, so I'll just ask them, and leave it up to the user to either answer directly, or point me to a resource. I need answers in layman's terms, however.

1) I need to increase the size of a file system. In this case, I need to update the oslevel, and I was thinking to put the update tar.gz in its own folder under /tmp. However, it tells me that there is not enough space in that file system. I had thought that I needed to do a "chfs -a size=" in order to accomplish this, but it fails every time, citing "not enough space - delete some files and try again".

2) what is the logic of the directories in Unix? (meaning, what files should I put where?) Is /tmp really a temp directory for things like installs? Or is /usr more appropriate?

3) Can I create a file system on an existing folder? (I think that's what mount point is, but not sure)

I'm really lost on the whole file system thing. Basically, all that I need to do is get a program up and running. Preparing AIX for installation is the hardest part of the job. I have installed the software dozens of times, but only a ground up install once or twice. Either I've forgotten something, or I've got another problem.

Thank you in advance for any help.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old June 15th, 2007
saschak's Avatar
saschak Offline
Junior Member
 
Join Date: May 2007
Posts: 1
Re: Need Basic AIX help to get back up and running

Hi,

I'll answer your questions quickly as I have not much time.
1) You need to have some space left before you may increase the FS. A 100% full FS can't be seized.

2) It's up to you. Binaries (executables) should go somewhere to /bin, /usr/bin, /usr/sbin, /usr/local/bin, /usr/local/sbin, ... the main thing to keep in mind is that these paths are in the $PATH variable so that you dont need to enter the full path when running a bin.

3) Yes you can, but in case you have files in that directory, they will be overmounted by the new filesystem. They won't get lost, but be hidden when you mount the FS.
My 2 cent: Move the files to a temporary directory, create and mount the FS and then move the files back there.

HTH
Sascha
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old June 15th, 2007
Wanderer's Avatar
Wanderer Offline
Junior Member
 
Join Date: June 2007
Posts: 2
Re: Need Basic AIX help to get back up and running

Quote:
Originally Posted by saschak
Hi,

1) You need to have some space left before you may increase the FS. A 100% full FS can't be seized.
OK, but it gives me this message after a clean install, even when I delete all of the files in the /tmp folder.

Additionally, I am up to my 7th re-install, because I keep breaking something. I have this problem where I try to create a file system, and no matter how much space I allot, I always get a "not enough space" error. So I delete the file system, and try again. Eventually, I end up not being able to log in.

Also, I cannot seem to run any of my updates from the /cdrom. I am trying to run the 5.2.0.5 update from smit installp, as the original tar.gz file. However, it never seems to see it on the disk. (no installable media) I can't remember how I did this before, but I did. Same thing with Fortran. I have this on a disk, and I don't know how to get it to run. (thought it was smit update_by_fix, but that isn't working)

Yes, /cdrom is mounted.

Thanks for the advice.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old June 15th, 2007
baz's Avatar
baz Offline
Junior Member
 
Join Date: June 2007
Location: Melbourne, Australia
Posts: 4
Send a message via ICQ to baz Send a message via MSN to baz
Re: Need Basic AIX help to get back up and running

I think what saschak meant to say is "A 100% full /tmp FS can't be resized". You can increase any other filesystem that is at 100%. Therefor if you run out of space in tmp you need to make space available within this filesystem to increase it.

Do an "lsvg rootvg" to see the available space in the volume group to see how much space you can give to /tmp. Then do a "df -k /tmp" to see how much space you have left in this filesystem. You say you run the "chfs -a size=" command, what value did you set? Is it greater then the free space in the volume group?

You cant update the system from a tar file you need to extract it first then do a "smit update_all". You'll first have to fix your FS problems before you can look at this issue.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old June 17th, 2007
ross.mather's Avatar
ross.mather Offline
Senior Member
 
Join Date: January 2007
Location: Nomadic in the UK
Posts: 394
Re: Need Basic AIX help to get back up and running

In theory /tmp is a good place for these temporary files. However it has some specific operating system use so it may not be the best place to drop the temporary file. Of course the volume group containing /tmp (rrotvg) could be full.

Try the following commands to see what we are dealing with:
lsvg rootvg
lspv
lsvg -l rootvg
getconf DISK_SIZE /dev/hdisk0 (repeat forother hdisks)

I tend to create an /installfs for this sort of work and delete it again when I'm done.

As to where you install a particular application - that depends on the application in question, someof them are very picky about where you install them, and some aren't/ /opt and /usr/local are two common places to install things.
__________________
Ross Mather, IBM AIX IT Specialist.
That said anything I say here is my own opinion and not anything that you can ever hold against IBM.
Ohhh and don't forget that I make mistakes too....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

These are the 100 most searched terms
Search Cloud
0042-001 0042-001 nim 0513-001 the system resource controller daemon is not active 0513-001 the system resource controller daemon is not active. 0514-061 0514-061 cannot find a child device 0514-061 cannot find a child device. 0516-787 0516-787 extendlv 0516-787 extendlv: maximum allocation for logical volume 110000ac aa00e1f3 aio aix aix aio aix freeware aixif_arp_dup_addr b150f22a b181fb53 ba010004 c1001020 d133c002 dacnone dcb47997 dlpar fcp_array_err6 fget_config gnu tar aix gsclvmd gtar aix hi yall hmc root password hmc vmware hscl05db ibm p6 ibm p6 520 libpopt aix libpopt.a libpopt.a(libpopt.so.0) is needed by rsync-2.6.2-1 migratelv mksysb navisphere agent nim server pseries pseriestech rsync aix sc_disk_err4 scan_error_chrp vio server websm xhost file ... powered by Simple Search Cloud


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Microsoft Windows 2003 Active Directory integration FASherman Tutorials 25 April 28th, 2008 07:14
Oracle applications on a p550q running AIX 5.3 wasif AIX for POWER Systems 2 February 25th, 2007 03:47
AIX and Windows AD alexisl AIX for POWER Systems 8 February 19th, 2007 09:10
AIX diskless?? Wire AIX for POWER Systems 1 January 16th, 2007 03:51
AIX 5.3 oracle issue jpuza AIX for POWER Systems 2 July 30th, 2006 14:26



Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Powered by vbWiki Pro 1.3 RC5. Copyright ©2006-2007, NuHit, LLC

vBulletin Skin developed by: vBStyles.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48