Re: File system issue [was Re: jails]
2012/2/9 Miroslav Lachman 000.f...@quip.cz: Hi Greg, I am having an issue with one of my jailed systems. It has run out of space. I have identified many files to delete but I can not Delete the files as the system comes back with No Space available. I I had the same issue some times ago on 8.1. Just temporally changing the refquota on the host solved it. Joris tried to delete them from the host system as well but I get The same system issue. How does one delete files or free up space? What version you are running? (uname -a) Are you using ZFS or UFS? If ZFS, do you have some snapshots of given filesystem? If yes, then you must firstly delete some snapshots to get some free space. With snapshot, the deleted file needs additional space to alocate in last snapshot. Miroslav Lachman ___ freebsd-jail@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-jail To unsubscribe, send any mail to freebsd-jail-unsubscr...@freebsd.org ___ freebsd-jail@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-jail To unsubscribe, send any mail to freebsd-jail-unsubscr...@freebsd.org
Re: File system issue [was Re: jails]
I am having an issue with one of my jailed systems. It has run out of space. I have identified many files to delete but I can not Delete the files as the system comes back with No Space available. I tried to delete them from the host system as well but I get The same system issue. How does one delete files or free up space? Are you using FreeBSD's default partitioning, with inter-disk partitions for /usr, /var, ...? If so you should reinstall and _don't_ create partitions within a disk without a specific requirement that precludes use of another disk. The fact that FreeBSD installs still recommend legacy partitioning is one of the reasons so many sites have switched to Linux. It's not that the server designers know better than to avoid unnecessary partitions but that Linux's single partition defaults (other than swap) are so much more robust. As a result problems with partitioning are chalked-up to FreeBSD, and rightly so, by Linux advocates. Next time an OS choice has to be made ops and other managers will remember all the diskfull outages and symlink hacks and choose Linux over FreeBSD. Is there any Unix or Linux distribution other than FreeBSD which still defaults to partitions for /usr et al? IME, Roger Marquis ___ freebsd-jail@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-jail To unsubscribe, send any mail to freebsd-jail-unsubscr...@freebsd.org
Re: File system issue [was Re: jails]
Wow, this did impress me (backwards ;-) ! server with single partition / (plus swap partition) ! It was - I forgot how long ago - when I start feeling myself as admin building more robust systems when I started meticulously creating different partitions for all things that shouldn't affect each other. And still I will keep doing that because of following. Do you want some unprivileged user's script writing into /tmp to fill up (or run filesystem out of file handlers) / partition holding other things like mail spool, or database storage? BTW: on mail servers where my users can log in I always mount their home directories, and spool with noexec, nosuid, nodev options (the same goes about /tmp, and wherever web server stores uploaded stuff...). I do have a feeling that the trend is opposite the one you mentioned: people are switching not to linux, but away from it. As linux lately (say, last 3 years or so) became more like windows: once every 45 days on average: kernel update == reboot. I remember way back (2.4 kernels) we had a bunch of linux machines with uptime 2 - 3 years... Not any more. Sorry, I just couldn't hold myself ;-( Valeri On Fri, February 10, 2012 10:16 am, Roger Marquis wrote: I am having an issue with one of my jailed systems. It has run out of space. I have identified many files to delete but I can not Delete the files as the system comes back with No Space available. I tried to delete them from the host system as well but I get The same system issue. How does one delete files or free up space? Are you using FreeBSD's default partitioning, with inter-disk partitions for /usr, /var, ...? If so you should reinstall and _don't_ create partitions within a disk without a specific requirement that precludes use of another disk. The fact that FreeBSD installs still recommend legacy partitioning is one of the reasons so many sites have switched to Linux. It's not that the server designers know better than to avoid unnecessary partitions but that Linux's single partition defaults (other than swap) are so much more robust. As a result problems with partitioning are chalked-up to FreeBSD, and rightly so, by Linux advocates. Next time an OS choice has to be made ops and other managers will remember all the diskfull outages and symlink hacks and choose Linux over FreeBSD. Is there any Unix or Linux distribution other than FreeBSD which still defaults to partitions for /usr et al? IME, Roger Marquis ___ freebsd-jail@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-jail To unsubscribe, send any mail to freebsd-jail-unsubscr...@freebsd.org Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ___ freebsd-jail@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-jail To unsubscribe, send any mail to freebsd-jail-unsubscr...@freebsd.org
File system issue [was Re: jails]
Hi Greg, I am having an issue with one of my jailed systems. It has run out of space. I have identified many files to delete but I can not Delete the files as the system comes back with No Space available. I tried to delete them from the host system as well but I get The same system issue. How does one delete files or free up space? What version you are running? (uname -a) Are you using ZFS or UFS? If ZFS, do you have some snapshots of given filesystem? If yes, then you must firstly delete some snapshots to get some free space. With snapshot, the deleted file needs additional space to alocate in last snapshot. Miroslav Lachman ___ freebsd-jail@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-jail To unsubscribe, send any mail to freebsd-jail-unsubscr...@freebsd.org
Re: File system issue [was Re: jails]
I am running 8.2 and I am also running ZFS. I have no snapshots as I have deleted them all. Still need more space. Thanks Sent from my iPhone On Feb 9, 2012, at 10:46 AM, Miroslav Lachman 000.f...@quip.cz wrote: Hi Greg, I am having an issue with one of my jailed systems. It has run out of space. I have identified many files to delete but I can not Delete the files as the system comes back with No Space available. I tried to delete them from the host system as well but I get The same system issue. How does one delete files or free up space? What version you are running? (uname -a) Are you using ZFS or UFS? If ZFS, do you have some snapshots of given filesystem? If yes, then you must firstly delete some snapshots to get some free space. With snapshot, the deleted file needs additional space to alocate in last snapshot. Miroslav Lachman ___ freebsd-jail@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-jail To unsubscribe, send any mail to freebsd-jail-unsubscr...@freebsd.org
Re: File system issue [was Re: jails]
On Feb 9, 2012, at 10:46 AM, Miroslav Lachman 000.f...@quip.cz wrote: Hi Greg, I am having an issue with one of my jailed systems. It has run out of space. I have identified many files to delete but I can not Delete the files as the system comes back with No Space available. I tried to delete them from the host system as well but I get The same system issue. How does one delete files or free up space? What version you are running? (uname -a) Are you using ZFS or UFS? If ZFS, do you have some snapshots of given filesystem? If yes, then you must firstly delete some snapshots to get some free space. With snapshot, the deleted file needs additional space to alocate in last snapshot. Miroslav Lachman I am running 8.2 and I am also running ZFS. I have no snapshots as I have deleted them all. Still need more space. Thanks Sent from my iPhone What if you null out the files? : file.to.delete or echo file.to.delete ? If that works, can you then 'rm' them? ]Peter[ ___ freebsd-jail@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-jail To unsubscribe, send any mail to freebsd-jail-unsubscr...@freebsd.org