Solaris / OpenSolarisThis forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I did not set up this server originally, I have just takne over administration and there was no hand over or explanation. SO...At first I thought that the pdc/scratch area was set up with diskquotas. But when I run requota i get..
quotactl: no quotas file on any mounted file system
So, Its not quotas.. How has he done this!? Also, as u can see the disk is currently full. usually I have been able to manipulate this in a way that I could move files in order to make enough space to delete.. but thats not working this time. I have no way of freeing up disk space unless somebody else can help me with ideas??
Help would be greatly appreciated and excuse me if I sound a little unaware.. I have been thrown in the deep end, training whilst administrating!!
I'm not familiar with Solaris... But that looks like what can happen on a Linux file-system when it runs out of inodes. Are you able to boot from a rescue CD/DVD and clean out the /pdc/scratch partition?
Hi, thanks for your suggestion Gilead. Unfortunately i will not be able to clean out scratch by removing data. I have never had to do that before during boot up, so, just to answer your question with a question..
If I boot from CD, will I be able to move data at this point to another location on the server? (as this pdc disk is not the only disk) I have tried moving stuff now but cannot, so if its a possibility that I can do this when booting, i may try that...
Amachina, as explained in my original comments, I cannot delete or move items, the disk is too full and it will not process the command, they just keep reappearing. I have tried both in the GUI and by command line.. I have even tried to force them to delete but they wont...
rm -f file.txt
Thanks anyway...
Would like to hear back re: moving files on bootup..
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
Your disk is using ZFS so the quotas aren't handled the same way and the size reporting looks confusing. If the reported available space is 0, you can't write more data to the disk regardless of the size shown.
You can check if there is one with:
Code:
zfs get all pdc/scratch | grep quota
Removing/moving files while they are written to isn't a way to free disk space. It just hides the file names but the allocated bytes stay and keep growing. You need to find out what processes are writing there and stop the responsible ones.
zfs get all pdc/scratch | grep quota
pdc/scratch quota 145G local
So that much is something! Finally, as i said, im very inexperienced, so wasnt aware of the possibility of differences for ZFS quotas... Thankuyou.. i will begin my googling now on how to release this quota! :-)
However, there are no current process writing to this disk, which is what I expected. So I suppose if I can increase or release the qouta I can manage to play and sort this mess out.
Thanks for that - its the lightbulb I was looking for..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.