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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Easy newbie question about file systems

Status
Not open for further replies.

solid7

Technical User
Apr 17, 2005
70
US
What don't I understand here...

I have a file system that contains 2 folders. One of those folders is a data folder. Recently, I ran out of space, so I did a smit fs, and did "change ...... file system". I wanted 4 GB more space, so I did "unit type = Gigabytes", and put "+4" in the "number of units input.

However, my folders on this file system don't see that space increase. Since I have a relatively small HD, I will have to delete and re-create this FS, since I can't reduce the size.

What don't I understand about file systems? Why isn't the folder growing with the file system?

Thank you.

-----------------------------------------------------------
Catia Design|Catia Design News|Catia V5 blog
 
Hi there,

I'm not sure whether +4 is working under smitty or not, but on the command line the following command should do the trick:

chfs -a size=+4G /fsname

If you're not sure whether the smitty command did something with your disk space or not you should run

lsvg "vgname"

and check the "FREE PPs" section ...

Regards
Thomas
 
... one more thing:

Did you compare the "df" command output before and after the filesystem increase or how do you know the folders don't see the space increased ?

Regards
Thomas
 
Well, I still can't put the files in the folders. They are small files, and I keep getting a "not enough space in file system" message.

401 free PP's

I did a df -g, and it shows 5.75 available, with 5.26 used.

-----------------------------------------------------------
Catia Design|Catia Design News|Catia V5 blog
 
RodKnowlton said:
What did df show for %Iused?

1%...

Please don't assume that I know anything. No matter how basic your response, I'm just an AIX user. I am really clueless, otherwise.

This is an almost fresh install. I have only 1 application installed - nothing from the expansion pack.

-----------------------------------------------------------
Catia Design|Catia Design News|Catia V5 blog
 
did you try the command given by Tsch?

chfs -a size=+4G /dir_name

what is your os level?

oslevel -s

and what is the output of lsvg?

regards,
Khalid
 
If yor oslevel shows 5.2 or lower then you won't be able to decrease the filesystem! so becareful when increasing it! The only way then would be to backup --> drop the lv and fs --> recreate them --> restore!

you can only decrease a filesystem if the logical volume is jfs2 and you are running AIX5.3 as the oslevel

Regards,
Khalid
 

I am working with AIX 5.2.0.5. I don't want to decrease the file system. If I did, I would just delete it and re-create it.

However, my problem is still that I can't store my files in this file system, or any of its sub-directories. (despite having increased the file system)


-----------------------------------------------------------
Catia Design|Catia Design News|Catia V5 blog
 
Well, have a look at your users ulimits.
Take a look at ulimit, and in smitty chuser there are some values (hard/soft data) you may change to increase the users limits.
 
It would be helpful if you'd post the exact failing commands, as well as the exact output and/or error messages (as long as they're of reasonable length).

Are you trying to copy files into the filesystem, or create new ones?

How are you trying to "put files in the folder"? Are you getting the error with something like cp or mv, or is it the application that's saying there's no space?

What's the output of "lsfs -q /problemfs", substituting the real filesystem mount point for "/problemfs"? You'll need root privileges for the "-q" option. If you don't have it, just leave it off.

Please also post the entire "df -g" output for the filesystem.

- Rod




IBM Certified Advanced Technical Expert pSeries and AIX 5L
CompTIA Linux+
CompTIA Security+

A Simple Code for Posting on the Web
 
Yes posting the df -g would clarify alot of things! like full root filesystem maybe?!?! or overmounted filesystem!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top