1833946 Members
1714 Online
110063 Solutions
New Discussion

Re: Disk Space full

 
legolasthehansy
Occasional Advisor

Disk Space full

Hi,
We have a solaris partition exported and which is used a NIS mount point for home directories. It is a 1.7 TB partition. Right now, only 82 GB has been filled up but users get a 'no space left on device' message when they try to touch a file.
Any reason why? We have a similar 1.7 TB partition on the same machine around which 150 GB being used but no problems seen.
Can someone help?
11 REPLIES 11
Steven E. Protter
Exalted Contributor

Re: Disk Space full

Shalom,

perhaps quotas have been initiated.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
legolasthehansy
Occasional Advisor

Re: Disk Space full

Hi,

I forgot to add that quotas haven't been set for the users.
Disk quotas for user xxxxx (uid 6008): none

legolasthehansy
Occasional Advisor

Re: Disk Space full

Given below will make things a bit clearer,

[puneet@lnxs01 ~]$ touch 1
touch: creating `1': No space left on device
[puneet@lnxs01 ~]$ df -kh .
Filesystem Size Used Avail Use% Mounted on
nismaster:/export1/home/puneet
1.8T 83G 1.7T 5% /home/puneet
[puneet@lnxs01 ~]$
Steven E. Protter
Exalted Contributor

Re: Disk Space full

Shalom,

This is kinda the wrong place to ask. Its a solaris partition. What does the syslog on the solaris box say?

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
legolasthehansy
Occasional Advisor

Re: Disk Space full

oops! sorry about that.

Anyways, syslog doesnt say anything. Nothing about the space messages at least.

Some people I talked to told us it might be an issue with Inodes getting run out. I'm not very sure about that. How can Inodes run out of numbers. Or is there a limit for a specific partition?
Thanks.
A. Clay Stephenson
Acclaimed Contributor

Re: Disk Space full

Yes, Legolamb, many flavors of UNIX set errno = ENOSPC using open(0 or creat() when the filesystem is physically full or out of inodes. We aren't used to seeing that on HP-UX because almost no one creates a vxfs filesystem with a fixed number of inodes.
If it ain't broke, I can fix that.
legolasthehansy
Occasional Advisor

Re: Disk Space full

Your reply was really helpful in giving some new direction on what to do next.
Can you be more specific as to where to tweak back the settings so that I can get back to using the partition.
This would be greatly apreciated.
Regards,
Legolas
A. Clay Stephenson
Acclaimed Contributor

Re: Disk Space full

I'm not at work and don't have a Sun box handy but you should run df -F FSType -o i to list the inodes. You could also get the ENOSPC error if the file system was setup with excessive reserved space that can only be used by root; typically this fraction is less than 10% but I didn't build your filesystem. You should do a "man df" on your Solaris box and it should tell you what to do.
If it ain't broke, I can fix that.
legolasthehansy
Occasional Advisor

Re: Disk Space full

Thank you.
I'll look into this tomorrow morning.
Regards,
Legolas
Dennis Handly
Acclaimed Contributor

Re: Disk Space full

On HP-UX you can use "bdf -i" to print the inodes, used and free and %. I'm not sure it will work on solaris.
Robert-Jan Goossens
Honored Contributor

Re: Disk Space full

Hi,

Using df to Display Inode Usage

The following example displays inode usage on all ufs file systems:

# /usr/bin/df -F ufs -o i

Regards,
Robert-Jan