Re: [OT] Documenting new stuff (was: /tmp is too small)
On Sat, 16 Jun 2012 22:34:09 +0100, Roger Leigh wrote: On Sat, Jun 09, 2012 at 08:10:39PM +, Camaleón wrote: (...) Although there's more info at the usual path /usr/share/doc/initscripts/ README.Debian I still find it a bit intimidating for the newcomers. As mentioned in the header of both these files, you should take a look at the rcS(5) and tmpfs(5) manual pages, both of which go into much more detail. The files themselves only contain one line comments; there's no point duplicating the entire manual page in the configuration file. Already read those man pages (well, only the former because the other does not even exist :-P) but they lack the information I'm referring to, I mean, something more conceptual (why should I go with this?) than practical (how can I go with this?). If you would like additional information adding, please do file bugs, patches if you have proposed text. It's all in the public git repo. I don't see the need for a bug now because: 1/ TMPFS is not going to be a default setting. 2/ Debian wiki can be editable by any user meaning I can create such a page but I still don't know what to put there because I lack the required knowledge for this. Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/jrkg0u$f0n$5...@dough.gmane.org
Re: [OT] Documenting new stuff (was: /tmp is too small)
On Sat, Jun 09, 2012 at 08:10:39PM +, Camaleón wrote: On Sat, 09 Jun 2012 20:01:33 +0200, Slavko wrote: Ahoj, Dňa Sat, 9 Jun 2012 16:36:39 + (UTC) Camaleón noela...@gmail.com napísal: On Fri, 08 Jun 2012 00:04:46 +0300, Andrei POPESCU wrote: Andrei, I'd be more than glad to help here and create a wiki entry for the TMPFS status but I really don't follow close enough the latests developments and modifications that take place in Sid. As an example, I just have noticed: IMO, the both config files (/etc/default/rcS and /etc/default/tmpfs) are well commented. Then this wiki page can be simple pointer to files, where these settings are stored. No duplicate work is needed ;-) Mmm... did you recently read those files? I don't think so ;-P Those files contain no insightful information that can help the user to decide if going with the new approach or staying with the old behaviour. The wiki page can expand the concept of having /tmp in a virtual space more than just pointing the users on how tweak a couple of variables. Although there's more info at the usual path /usr/share/doc/initscripts/ README.Debian I still find it a bit intimidating for the newcomers. As mentioned in the header of both these files, you should take a look at the rcS(5) and tmpfs(5) manual pages, both of which go into much more detail. The files themselves only contain one line comments; there's no point duplicating the entire manual page in the configuration file. If you would like additional information adding, please do file bugs, patches if you have proposed text. It's all in the public git repo. Regards, Roger -- .''`. Roger Leigh : :' : Debian GNU/Linuxhttp://people.debian.org/~rleigh/ `. `' schroot and sbuild http://alioth.debian.org/projects/buildd-tools `-GPG Public Key F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120616213409.gi12...@codelibre.net
Re: /tmp is too small
On Mon, Jun 11, 2012 at 04:09:01AM -0700, Rick Thomas wrote: On Jun 7, 2012, at 6:48 AM, Hendrik Boom wrote: Or alternatively, how can I enlarge the tmpfs? I need it enlarged from anout 200M to about 2G for this week's project. Yes, that's a lot bigger than my RAM. Increase your swap to 4GB -- even if you plan never to swap. The space will be available to act as backing store for tmpfs. I *think* the algorithm for setting the size of tmpfs is one half of RAM + SWAP. Hence the 4GB. If that doesn't work, you can set the size explicitly in /etc/fstab. The tmpfs (kernel filesystem) default is 50% RAM. The initscripts default is 20% VM. Regards, Roger -- .''`. Roger Leigh : :' : Debian GNU/Linuxhttp://people.debian.org/~rleigh/ `. `' schroot and sbuild http://alioth.debian.org/projects/buildd-tools `-GPG Public Key F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120616214811.gl12...@codelibre.net
Re: /tmp is too small
On Tue, 12 Jun 2012 15:02:21 +1200, Chris Bannister wrote: On Mon, Jun 11, 2012 at 02:33:27PM +, Camaleón wrote: On Mon, 11 Jun 2012 17:03:11 +1200, Chris Bannister wrote: Following with your allegory -and as I already explained- I'll be glad in cooking but the resulting meal can be just inedible as I lack for the proper recipes... Recipes can be made up according to your ingredients. ;-) With my ingredients you can be poisoned (you've been warned) O:-) Since the default is now going to be off anyway, is there any reason to document it in such urgency? E.g. Once wheezy becomes the supported architecture, a wiki page could be created: Taking advantage of /tmp on tmpfs or some better title. If the default is going to be the same way we've been doing all the time (i.e., no tmpfs) I don't see any urgency for an entry in the wiki, though still would be nice because it means we care about our users and we want they are informed about the possible options :-) Sorry, but I don't see it being me, as I lack the proper ingredients. Yeah, me too. I think this is a task for someone in close touch with the latest developments. Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/jr7uqo$u1l$9...@dough.gmane.org
Re: /tmp is too small
On Jun 7, 2012, at 6:48 AM, Hendrik Boom wrote: Or alternatively, how can I enlarge the tmpfs? I need it enlarged from anout 200M to about 2G for this week's project. Yes, that's a lot bigger than my RAM. Increase your swap to 4GB -- even if you plan never to swap. The space will be available to act as backing store for tmpfs. I *think* the algorithm for setting the size of tmpfs is one half of RAM + SWAP. Hence the 4GB. If that doesn't work, you can set the size explicitly in /etc/fstab. Rick -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/ac4f5050-fe33-4878-8821-dfaeaad39...@pobox.com
Re: /tmp is too small
On Mon, 11 Jun 2012 17:03:11 +1200, Chris Bannister wrote: On Sun, Jun 10, 2012 at 05:04:35PM +, Camaleón wrote: There's a very detailed summary in this recent post: Summary: Moving /tmp to tmpfs makes it useless http://lists.debian.org/debian-devel/2012/06/msg00311.html Or there is this very detailed summary: http://lists.debian.org/debian-devel/2012/06/msg00318.html Yes, it pertains to the same thread after all. I only hope that, whataver is finally set as default, the feature is properly documented (wiki, man page, release notes...). I hope that someone will cook me a nice three course meal with extras on the side. Nice if it happens, but if I relied on that I'd starve and **also be disappointed*** whereas at least you wouldn't starve. Following with your allegory -and as I already explained- I'll be glad in cooking but the resulting meal can be just inedible as I lack for the proper recipes... Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/jr4vjn$7p7$6...@dough.gmane.org
Re: /tmp is too small
On 11.06.2012 09:34, Jerome Flesch wrote: 2012/6/7 Hendrik Boomhend...@topoi.pooq.com: I need more space for /tmp. I though, easy, I'll just take out the /tmp entry in /etc/fstab so that it doesn't mount anything on /tmp and uses the the space on the root partition, which has more than room enough. But then I discover that in my newly installed wheezy system, there *is* no /etc/fstab entry for /tmp. Apparently the kernel, all by itself, decides to mount the tmpfs on /tmp. How can I get it not to do this? Edit /etc/default/rcS and switch RAMTMP=yes to RAMTMP=no. If you're on a workstation, it should be fine as-is. I can't agree with assertion that this default behaviour is fine. I use Eclipse in my work, and yesterday i was ready to crash my head, because Eclipse showed me an error that it had not enough space to downloading and installing special plugin, which i was needed. I've checked 10 times that all file systems had enough space, in the end i've found the problem by doing `watch -n 1 df -h`. The /tmp folder (which was mounted like tmpfs) was filling only when extracting of the plugin was active. All I want to say, that sometimes this /tmp which mounted like tmpfs can lead to problems which is hard to find. -- Cheers, Roman V.Leon. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4fd629dd.8060...@meta.ua
Re: /tmp is too small
2012/6/11 Roman V.Leon. roman...@meta.ua: On 11.06.2012 09:34, Jerome Flesch wrote: 2012/6/7 Hendrik Boomhend...@topoi.pooq.com: I need more space for /tmp. I though, easy, I'll just take out the /tmp entry in /etc/fstab so that it doesn't mount anything on /tmp and uses the the space on the root partition, which has more than room enough. But then I discover that in my newly installed wheezy system, there *is* no /etc/fstab entry for /tmp. Apparently the kernel, all by itself, decides to mount the tmpfs on /tmp. How can I get it not to do this? Edit /etc/default/rcS and switch RAMTMP=yes to RAMTMP=no. If you're on a workstation, it should be fine as-is. I can't agree with assertion that this default behaviour is fine. I use Eclipse in my work, and yesterday i was ready to crash my head, because Eclipse showed me an error that it had not enough space to downloading and installing special plugin, which i was needed. I've checked 10 times that all file systems had enough space, in the end i've found the problem by doing `watch -n 1 df -h`. The /tmp folder (which was mounted like tmpfs) was filling only when extracting of the plugin was active. All I want to say, that sometimes this /tmp which mounted like tmpfs can lead to problems which is hard to find. When I said it should be fine as-is, I meant with RAMTMP=no, so with /tmp directly on / :) -- Cheers, Roman V.Leon. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4fd629dd.8060...@meta.ua -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/caaqa3suzoha+uzo79peid+favz8xtwn2rz4lbg3cuu+xl+u...@mail.gmail.com
Re: /tmp is too small
On 11.06.2012 21:54, Jerome Flesch wrote: 2012/6/11 Roman V.Leon.roman...@meta.ua: On 11.06.2012 09:34, Jerome Flesch wrote: 2012/6/7 Hendrik Boomhend...@topoi.pooq.com: I need more space for /tmp. I though, easy, I'll just take out the /tmp entry in /etc/fstab so that it doesn't mount anything on /tmp and uses the the space on the root partition, which has more than room enough. But then I discover that in my newly installed wheezy system, there *is* no /etc/fstab entry for /tmp. Apparently the kernel, all by itself, decides to mount the tmpfs on /tmp. How can I get it not to do this? Edit /etc/default/rcS and switch RAMTMP=yes to RAMTMP=no. If you're on a workstation, it should be fine as-is. I can't agree with assertion that this default behaviour is fine. I use Eclipse in my work, and yesterday i was ready to crash my head, because Eclipse showed me an error that it had not enough space to downloading and installing special plugin, which i was needed. I've checked 10 times that all file systems had enough space, in the end i've found the problem by doing `watch -n 1 df -h`. The /tmp folder (which was mounted like tmpfs) was filling only when extracting of the plugin was active. All I want to say, that sometimes this /tmp which mounted like tmpfs can lead to problems which is hard to find. When I said it should be fine as-is, I meant with RAMTMP=no, so with /tmp directly on / :) Oh, I see my friend. I apologise for this, it's all my excellent English :-) -- Cheers, Roman V.Leon. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4fd63dc8.1040...@meta.ua
Re: /tmp is too small
On Mon, Jun 11, 2012 at 02:33:27PM +, Camaleón wrote: On Mon, 11 Jun 2012 17:03:11 +1200, Chris Bannister wrote: Following with your allegory -and as I already explained- I'll be glad in cooking but the resulting meal can be just inedible as I lack for the proper recipes... Recipes can be made up according to your ingredients. ;-) Since the default is now going to be off anyway, is there any reason to document it in such urgency? E.g. Once wheezy becomes the supported architecture, a wiki page could be created: Taking advantage of /tmp on tmpfs or some better title. Sorry, but I don't see it being me, as I lack the proper ingredients. -- If you're not careful, the newspapers will have you hating the people who are being oppressed, and loving the people who are doing the oppressing. --- Malcolm X -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120612030221.GX6522@tal
Re: [OT] Documenting new stuff (was: /tmp is too small)
Hi, Dňa Sat, 9 Jun 2012 20:10:39 + (UTC) Camaleón noela...@gmail.com napísal: Mmm... did you recently read those files? I don't think so ;-P yes, i read them (testing) ;-) Those files contain no insightful information that can help the user to decide if going with the new approach or staying with the old behaviour. The wiki page can expand the concept of having /tmp in a virtual space more than just pointing the users on how tweak a couple of variables. The tmpfs is more commented than the rcS (more exactly: rcS.ucf-dist - i haven't merged changes yet). For me, the provided information are enough. The my rcS and rcS.ucf-dist files are very different (i mean the comments), i am not using the tmpfs for /tmp and for others the defaults are fain for me, then i don't know about changes in this config file - i know only that it is deprecated now. Although there's more info at the usual path /usr/share/doc/initscripts/ README.Debian I still find it a bit intimidating for the newcomers. You forgot to mention man rcS(5), are you read it? I read it some time ago, then i don't know if it is updated now. regards -- Slavko http://slavino.sk signature.asc Description: PGP signature
Re: [OT] Documenting new stuff (was: /tmp is too small)
On Sun, 10 Jun 2012 10:15:05 +0200, Slavko wrote: Dňa Sat, 9 Jun 2012 20:10:39 + (UTC) Camaleón noela...@gmail.com napísal: Mmm... did you recently read those files? I don't think so ;-P yes, i read them (testing) ;-) Better read the ones from Sid. Those files contain no insightful information that can help the user to decide if going with the new approach or staying with the old behaviour. The wiki page can expand the concept of having /tmp in a virtual space more than just pointing the users on how tweak a couple of variables. The tmpfs is more commented than the rcS (more exactly: rcS.ucf-dist - i haven't merged changes yet). Where is that rcS.ucf-dist file located? For me, the provided information are enough. Not for me and I'd say not for many others (you only have to review the last months of the mailing list archives to find out people does not know nothing about this new behaviour). The my rcS and rcS.ucf-dist files are very different (i mean the comments), i am not using the tmpfs for /tmp and for others the defaults are fain for me, then i don't know about changes in this config file - i know only that it is deprecated now. The default seems to be (now) not using tmpfs so if that's finally the case, it's also fine with me. Still, a wiki page describing what is is, how it works, user cases, tweak tips and that kind of stuff would be fantastic :-) Although there's more info at the usual path /usr/share/doc/initscripts/ README.Debian I still find it a bit intimidating for the newcomers. You forgot to mention man rcS(5), are you read it? I read it some time ago, then i don't know if it is updated now. Yes, a bunch of text that says nothing about the concept of having /tmp virtually over RAM, only how the usual tips: how to turn it on/off. Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/jr20kr$uj2$4...@dough.gmane.org
Re: /tmp is too small
On 06/07/2012 05:11 PM, Camaleón wrote: On Thu, 07 Jun 2012 13:48:25 +, Hendrik Boom wrote: I need more space for /tmp. I though, easy, I'll just take out the /tmp entry in /etc/fstab so that it doesn't mount anything on /tmp and uses the the space on the root partition, which has more than room enough. But then I discover that in my newly installed wheezy system, there *is* no /etc/fstab entry for /tmp. Apparently the kernel, all by itself, decides to mount the tmpfs on /tmp. How can I get it not to do this? Or alternatively, how can I enlarge the tmpfs? I need it enlarged from anout 200M to about 2G for this week's project. Yes, that's a lot bigger than my RAM. I recall this has been discused here time ago but can't remember if we finally have a wiki page where to direct users facing any problem with this new default (how to tweak the current presets to fit users needs, how to disable it, pros and cons, usage cases...). Greetings, There is a discussion in debian-devel about tmp behavior in wheezy. http://lists.debian.org/debian-devel/2012/06/threads.html#00134 Regards, Alex -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4fd4cbe5.4060...@biotec.tu-dresden.de
Re: /tmp is too small
On Sun, 10 Jun 2012 18:31:33 +0200, Alex Mestiashvili wrote: On 06/07/2012 05:11 PM, Camaleón wrote: I recall this has been discused here time ago but can't remember if we finally have a wiki page where to direct users facing any problem with this new default (how to tweak the current presets to fit users needs, how to disable it, pros and cons, usage cases...). There is a discussion in debian-devel about tmp behavior in wheezy. http://lists.debian.org/debian-devel/2012/06/threads.html#00134 Thanks :-) It seems the thread starts here: http://lists.debian.org/debian-devel/2012/05/thrd3.html#01092 Wow... this is still rolling on (I thought it was already decided but it seems that not). Good. There's a very detailed summary in this recent post: Summary: Moving /tmp to tmpfs makes it useless http://lists.debian.org/debian-devel/2012/06/msg00311.html I only hope that, whataver is finally set as default, the feature is properly documented (wiki, man page, release notes...). Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/jr2k33$uj2$1...@dough.gmane.org
Re: /tmp is too small
On Sun, Jun 10, 2012 at 05:04:35PM +, Camaleón wrote: There's a very detailed summary in this recent post: Summary: Moving /tmp to tmpfs makes it useless http://lists.debian.org/debian-devel/2012/06/msg00311.html Or there is this very detailed summary: http://lists.debian.org/debian-devel/2012/06/msg00318.html I only hope that, whataver is finally set as default, the feature is properly documented (wiki, man page, release notes...). I hope that someone will cook me a nice three course meal with extras on the side. Nice if it happens, but if I relied on that I'd starve and **also be disappointed*** whereas at least you wouldn't starve. -- If you're not careful, the newspapers will have you hating the people who are being oppressed, and loving the people who are doing the oppressing. --- Malcolm X -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120611050311.GA25233@tal
Re: /tmp is too small
2012/6/7 Hendrik Boom hend...@topoi.pooq.com: I need more space for /tmp. I though, easy, I'll just take out the /tmp entry in /etc/fstab so that it doesn't mount anything on /tmp and uses the the space on the root partition, which has more than room enough. But then I discover that in my newly installed wheezy system, there *is* no /etc/fstab entry for /tmp. Apparently the kernel, all by itself, decides to mount the tmpfs on /tmp. How can I get it not to do this? Edit /etc/default/rcS and switch RAMTMP=yes to RAMTMP=no. If you're on a workstation, it should be fine as-is. If you're on a server, I suggest you mount a /tmp using /etc/fstab anyway, just to make sure that no user can overflow your / by filling /tmp with random data. Or alternatively, how can I enlarge the tmpfs? I need it enlarged from anout 200M to about 2G for this week's project. Yes, that's a lot bigger than my RAM. -- hendrik -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/jqqbf8$vfg$1...@dough.gmane.org -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAAQa3SuhJPx73ydymf2VKFjPiE_r8AX7Ktn42Ue+=jbosdq...@mail.gmail.com
[OT] Documenting new stuff (was: /tmp is too small)
On Fri, 08 Jun 2012 00:04:46 +0300, Andrei POPESCU wrote: On Jo, 07 iun 12, 15:11:02, Camaleón wrote: I recall this has been discused here time ago but can't remember if we finally have a wiki page where to direct users facing any problem with this new default (how to tweak the current presets to fit users needs, how to disable it, pros and cons, usage cases...). Feel free to start one :p Which translates into: No, there's no such a page :-) I'm sure the Release Notes editors will be happy to point to it :) Andrei, I'd be more than glad to help here and create a wiki entry for the TMPFS status but I really don't follow close enough the latests developments and modifications that take place in Sid. As an example, I just have noticed: *** http://packages.debian.org/changelogs/pool/main/s/sysvinit/sysvinit_2.88dsf-26/changelog - Revert RAMTMP setting to be disabled by default. Closes: #630615, #665635, #98, #674517. *** So, does it mean that this setting is finally disabled by default for both, new installs and updates? You see? Despite there's people wanting to help is that we simply can't cope with all these things ;-) Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/jqvu2n$tv3$1...@dough.gmane.org
Re: [OT] Documenting new stuff (was: /tmp is too small)
Ahoj, Dňa Sat, 9 Jun 2012 16:36:39 + (UTC) Camaleón noela...@gmail.com napísal: On Fri, 08 Jun 2012 00:04:46 +0300, Andrei POPESCU wrote: Andrei, I'd be more than glad to help here and create a wiki entry for the TMPFS status but I really don't follow close enough the latests developments and modifications that take place in Sid. As an example, I just have noticed: IMO, the both config files (/etc/default/rcS and /etc/default/tmpfs) are well commented. Then this wiki page can be simple pointer to files, where these settings are stored. No duplicate work is needed ;-) regards -- Slavko http://slavino.sk signature.asc Description: PGP signature
Re: [OT] Documenting new stuff (was: /tmp is too small)
On Sat, 09 Jun 2012 20:01:33 +0200, Slavko wrote: Ahoj, Dňa Sat, 9 Jun 2012 16:36:39 + (UTC) Camaleón noela...@gmail.com napísal: On Fri, 08 Jun 2012 00:04:46 +0300, Andrei POPESCU wrote: Andrei, I'd be more than glad to help here and create a wiki entry for the TMPFS status but I really don't follow close enough the latests developments and modifications that take place in Sid. As an example, I just have noticed: IMO, the both config files (/etc/default/rcS and /etc/default/tmpfs) are well commented. Then this wiki page can be simple pointer to files, where these settings are stored. No duplicate work is needed ;-) Mmm... did you recently read those files? I don't think so ;-P Those files contain no insightful information that can help the user to decide if going with the new approach or staying with the old behaviour. The wiki page can expand the concept of having /tmp in a virtual space more than just pointing the users on how tweak a couple of variables. Although there's more info at the usual path /usr/share/doc/initscripts/ README.Debian I still find it a bit intimidating for the newcomers. Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/jr0ajv$tv3$1...@dough.gmane.org
/tmp is too small
I need more space for /tmp. I though, easy, I'll just take out the /tmp entry in /etc/fstab so that it doesn't mount anything on /tmp and uses the the space on the root partition, which has more than room enough. But then I discover that in my newly installed wheezy system, there *is* no /etc/fstab entry for /tmp. Apparently the kernel, all by itself, decides to mount the tmpfs on /tmp. How can I get it not to do this? Or alternatively, how can I enlarge the tmpfs? I need it enlarged from anout 200M to about 2G for this week's project. Yes, that's a lot bigger than my RAM. -- hendrik -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/jqqbf8$vfg$1...@dough.gmane.org
Re: /tmp is too small
On Thu, Jun 07, 2012 at 01:48:25PM +, Hendrik Boom wrote: I need more space for /tmp. I though, easy, I'll just take out the /tmp entry in /etc/fstab so that it doesn't mount anything on /tmp and uses the the space on the root partition, which has more than room enough. But then I discover that in my newly installed wheezy system, there *is* no /etc/fstab entry for /tmp. Apparently the kernel, all by itself, decides to mount the tmpfs on /tmp. How can I get it not to do this? Set RAMTMP=no in /etc/default/rcS (or /etc/default/tmpfs, depending upon the initscripts version you have). This is not done by the kernel, it's done by the initscripts at startup (/etc/init.d/mount*.sh). Note that the latest version in unstable changes the default for RAMTMP from yes to no, so it'll be disabled once this enters testing (next time you restart). Or alternatively, how can I enlarge the tmpfs? I need it enlarged from anout 200M to about 2G for this week's project. Yes, that's a lot bigger than my RAM. Set TMP_SIZE=2g in /etc/default/tmpfs, or add an entry in /etc/fstab with size=2g. Note that you'll need enough RAM + swap to back this usage, so you might want to increase the swap size. As an example (perhaps a little extreme), I have 8 GiB RAM + 16 GiB swap and a 5GiB tmpfs on /tmp. This is because the default (in unstable) is 20%VM i.e. 20% of all RAM + swap. Regards, Roger -- .''`. Roger Leigh : :' : Debian GNU/Linuxhttp://people.debian.org/~rleigh/ `. `' schroot and sbuild http://alioth.debian.org/projects/buildd-tools `-GPG Public Key F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120607135814.gi15...@codelibre.net
Re: /tmp is too small
On 07/06/12 14:48, Hendrik Boom wrote: I need more space for /tmp. I though, easy, I'll just take out the /tmp entry in /etc/fstab so that it doesn't mount anything on /tmp and uses the the space on the root partition, which has more than room enough. But then I discover that in my newly installed wheezy system, there *is* no /etc/fstab entry for /tmp. Apparently the kernel, all by itself, decides to mount the tmpfs on /tmp. How can I get it not to do this? in /etc/default/rcS: RAMTMP=no Or alternatively, how can I enlarge the tmpfs? I need it enlarged from anout 200M to about 2G for this week's project. Yes, that's a lot bigger than my RAM. in /etc/default/tmpfs: TMP_SIZE=2147483648 (I haven't tested this one though) -- Dom -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4fd0ba86.4030...@rpdom.net
Re: /tmp is too small
On Thu, 07 Jun 2012 13:48:25 +, Hendrik Boom wrote: I need more space for /tmp. I though, easy, I'll just take out the /tmp entry in /etc/fstab so that it doesn't mount anything on /tmp and uses the the space on the root partition, which has more than room enough. But then I discover that in my newly installed wheezy system, there *is* no /etc/fstab entry for /tmp. Apparently the kernel, all by itself, decides to mount the tmpfs on /tmp. How can I get it not to do this? Or alternatively, how can I enlarge the tmpfs? I need it enlarged from anout 200M to about 2G for this week's project. Yes, that's a lot bigger than my RAM. I recall this has been discused here time ago but can't remember if we finally have a wiki page where to direct users facing any problem with this new default (how to tweak the current presets to fit users needs, how to disable it, pros and cons, usage cases...). Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/jqqga6$dr8$1...@dough.gmane.org
Re: /tmp is too small
On Thu, Jun 07, 2012 at 01:48:25PM +, Hendrik Boom wrote: I need more space for /tmp. I though, easy, I'll just take out the /tmp entry in /etc/fstab so that it doesn't mount anything on /tmp and uses the the space on the root partition, which has more than room enough. But then I discover that in my newly installed wheezy system, there *is* no /etc/fstab entry for /tmp. Apparently the kernel, all by itself, decides to mount the tmpfs on /tmp. How can I get it not to do this? Or alternatively, how can I enlarge the tmpfs? I need it enlarged from anout 200M to about 2G for this week's project. Yes, that's a lot bigger than my RAM. I think you can create a file and mount that as /tmp. I'm not sure of the details. Something else to watch out for: if your tmp file is /home/mytmpfile, but /home is in its own partition, then /home will need to be mounted before /tmp can be mounted. I'm not sure if that's technically possible or not. -Rob -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120607151125.ga27...@aurora.owens.net
Re: /tmp is too small
On Jo, 07 iun 12, 15:11:02, Camaleón wrote: I recall this has been discused here time ago but can't remember if we finally have a wiki page where to direct users facing any problem with this new default (how to tweak the current presets to fit users needs, how to disable it, pros and cons, usage cases...). Feel free to start one :p I'm sure the Release Notes editors will be happy to point to it :) Kind regards, Andrei -- Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic signature.asc Description: Digital signature