1299975683 Q * bonbons Quit: Leaving 1299977834 Q * ryker Quit: Leaving. 1299981812 M * Bertl Guy-: yup 1299981962 N * ensc Guest440 1299981972 J * ensc ~irc-ensc@p5DF2C5E1.dip.t-dialin.net 1299982357 Q * Guest440 Ping timeout: 480 seconds 1299990384 M * Bertl off to bed now ... have a good one everyone! 1299990389 N * Bertl Bertl_zZ 1300000689 J * bubble ~bubblegum@pool-108-10-24-103.chi01.dsl-w.verizon.net 1300005150 Q * manana Quit: Terminated 1300008073 J * manana ~mayday090@84.17.25.149 1300008361 J * bonbons ~bonbons@2001:960:7ab:0:1cd2:83ac:d74f:8120 1300008381 J * petzsch ~markus@p57B66D88.dip.t-dialin.net 1300008631 J * Piet ~Piet__@04ZAAACZO.tor-irc.dnsbl.oftc.net 1300008775 Q * manana Quit: Terminated 1300009677 Q * Piet Quit: Piet 1300014246 J * pmenier ~pmenier@ACaen-152-1-65-236.w83-115.abo.wanadoo.fr 1300016385 Q * petzsch Quit: Leaving. 1300019941 J * petzsch ~markus@p57B66D88.dip.t-dialin.net 1300020112 J * ard ~ard@gw-tweakb16.kwaak.net 1300020234 M * ard 2 subjects: nfs client and network namespace :-) 1300021573 N * Bertl_zZ Bertl 1300021577 M * Bertl morning folks! 1300021616 M * daniel_hozac morning Bertl 1300021641 M * Bertl ard: any problems with that? 1300024333 J * petzsch1 ~markus@p57B66D88.dip.t-dialin.net 1300024628 M * ard heheh, well think about nfs client using a particular network namespace :-) (because the nfs-server is unreachable from the host) 1300024652 Q * petzsch Ping timeout: 480 seconds 1300026654 M * daniel_hozac Bertl: how are recent kernels handling tagging on XFS? 1300026720 N * ntrs_away ntrs 1300026762 M * Bertl hmm, for what purpose? 1300026817 M * daniel_hozac well, since the field where it used to be is now occupied by something else... 1300026830 M * daniel_hozac are XFS users aware that tagging broke at some point? 1300026838 M * daniel_hozac (i.e. that save-vsdata was needed?) 1300026866 M * Bertl probably not, but most likely only a few folks use XFS and tagging anyway 1300026895 M * Bertl and the most prominent xfs user here was well aware I guess :) 1300027086 M * daniel_hozac okay... 1300035689 Q * pmenier 1300039690 Q * petzsch1 Quit: Leaving. 1300040279 J * petzsch ~markus@p57B66D88.dip.t-dialin.net 1300042200 Q * petzsch Quit: Leaving. 1300042626 J * Piet ~Piet__@04ZAAAC9R.tor-irc.dnsbl.oftc.net 1300045767 J * petzsch ~markus@p57B66D88.dip.t-dialin.net 1300047337 J * edit ~blagoj@89.205.105.228 1300047346 M * edit Hi. 1300047355 M * edit I followed this manual to setup quota. 1300047356 M * edit http://linux-vserver.org/Standard_non-shared_quota 1300047371 M * edit So far so good, one VPS which was a test VPS have quota. 1300047385 M * edit What if I need to have another VPS with quota enabled? 1300047401 M * edit Should I follow the same tutorial? 1300047426 M * daniel_hozac yes. 1300047482 M * edit So, there is no need for example for creating vroot1 or put in mtab on the quest /dev/hdv2 / ufs defaults,usrquota,grpquota 0 0 instead od /dev/hdv1.... etc.... 1300047566 M * daniel_hozac yes, of course change all pertinent variables. 1300047623 M * daniel_hozac however, /dev/hdv1 is not something you need to change. 1300047732 M * edit but I do this only once -> vrsetup /dev/vroot0 /dev/sda4 (in my case) there is no need for vrsetup /dev/vroot1 /dev/sda5 in I want to use quota for the seccon VPS, because in that case I will need compeltely new independent partition. 1300047811 N * ensc Guest512 1300047821 J * ensc ~irc-ensc@p5DF2C5E1.dip.t-dialin.net 1300047841 J * BenG ~bengreen@cpc12-aztw24-2-0-cust146.aztw.cable.virginmedia.com 1300047856 Q * BenG 1300047927 M * Bertl edit: if, as in your example, the device is different, you need to setup separate vroots 1300047962 M * Bertl i.e. the vroot device functions as a 'proxy' to relay the quota ioctls to the real device 1300047977 Q * Guest512 Ping timeout: 480 seconds 1300048029 M * edit but I can use the same vroot if both virtual server are on the same device/partition, right? 1300048067 M * Bertl yep, that's the idea 1300048149 M * edit on the first vps everything works ok, i think... 1300048153 M * edit on the sceeon one... 1300048154 M * edit [root@test2 /]# /sbin/quotaon /dev/hdv1 1300048154 M * edit quotaon: using //aquota.group on /dev/hdv1 [/]: Operation not permitted 1300048154 M * edit quotaon: using //aquota.user on /dev/hdv1 [/]: Operation not permitted 1300048190 M * Bertl /dev/hdv1 is the configured vroot device? 1300048219 M * Bertl quota is on for the shared filesystem and your guest has the necessary capabilities? 1300048247 M * daniel_hozac i thought we didn't support shared quota anymore. 1300048257 M * edit yes on both,as I have already metino, on the test1 VPS works ok. 1300048263 M * edit mention* 1300048276 M * daniel_hozac did you give the second one quota_ctl? 1300048288 M * Bertl daniel_hozac: well, quota on a shared partition and shared quota are different things 1300048316 M * daniel_hozac shared partition quota then. 1300048325 M * edit Yes, it has quota_ctl. 1300048375 M * edit Now I get this. 1300048382 M * edit /sbin/quotacheck -maugv 1300048382 M * edit quotacheck: Quota for users is enabled on mountpoint / so quotacheck might damage the file. 1300048382 M * edit Please turn quotas off or use -f to force checking. 1300048422 M * Bertl so quota is probably on already 1300048532 M * edit I don't understand, and I still get: 1300048533 M * edit /sbin/quotaon /dev/hdv1 1300048533 M * edit quotaon: using //aquota.group on /dev/hdv1 [/]: Device or resource busy 1300048533 M * edit quotaon: using //aquota.user on /dev/hdv1 [/]: Device or resource busy 1300048637 M * edit and now I get the same on the first VPS, the one which was ok before. 1300048716 M * daniel_hozac did you turn quotas off? 1300048748 M * edit Can you please tell me how to do that? 1300048841 M * edit quotaoff -a 1300048845 M * edit it is ok now 1300048849 M * edit on the first VPS. 1300048851 M * edit :) 1300049025 M * edit WhenI exec vserver-stat I get this. 1300049027 M * edit open(memory.usage_in_bytes): No such file or directory 1300049048 M * edit Iupgraded the utils to the latest version, did not get this error 2-3 hours and now I get i again. 1300049067 M * daniel_hozac what's the "latest version"? 1300049101 M * edit http://people.linux-vserver.org/~dhozac/t/uv-testing/util-vserver-0.30.216-pre2945.tar.bz2 1300049125 M * daniel_hozac what's in /dev/cgroup? 1300049182 M * edit ls /dev/cgroup/ 1300049182 M * edit test1 test2 1300049194 M * daniel_hozac that's it? 1300049256 M * edit yes 1300049266 M * edit I have 2 VPS's test1 and test2 1300049266 M * daniel_hozac then you didn't run the util-vserver initscript on boot, i presume... 1300049279 M * edit I did not reboot the server after the upgrade. 1300049281 M * edit I will do that now. 1300049290 M * daniel_hozac did you enable the initscript? 1300049482 M * edit Which script exactly? 1300049505 M * daniel_hozac util-vserver 1300049511 M * edit Yes, it is enabled. 1300049518 M * edit I will reboot the server now. 1300049541 M * edit Also, before the reboot. 1300049544 M * edit I read this. 1300049544 M * edit To have setting persist on reboot, put vrsetup line into /etc/init.d/util-vserver start function, so after reboot vroot device get setup before it start. 1300049565 M * edit So I should put vrsetup as a first line, in the script, is that ok? 1300049593 M * edit rebooting now. 1300049629 M * daniel_hozac no... 1300049636 M * daniel_hozac that's not at all how you should do it. 1300049656 M * edit Than can you please tell me how? 1300049709 M * daniel_hozac put it in your guest's pre-start script. 1300049769 M * edit aha, ok in /etc/vservers/test1/scripts/initialize 1300049771 M * edit right? 1300049884 M * daniel_hozac sure. 1300049893 M * edit Great, thanks! 1300049979 M * edit so basicly I need to have this in the script. 1300049980 M * edit # set quota 1300049980 M * edit /bin/rm -f /vservers/test1/dev/hdv1 1300049980 M * edit /usr/sbin/vrsetup /dev/vroot0 /dev/sda5 1300049980 M * edit /bin/cp -fa /dev/vroot0 /vservers/test1/dev/hdv1 1300049982 M * edit correct? 1300050076 Q * derjohn_mob Remote host closed the connection 1300050198 M * edit Ok, so now when I try to start the seccond VPs I get this: 1300050207 M * edit [root@backup scripts]# vserver test2 start 1300050207 M * edit ioctl(): Device or resource busy 1300050216 M * edit and when I remove line "/usr/sbin/vrsetup /dev/vroot0 /dev/sda5" from /etc/vservers/test2/scripts/initialize the VPS i starting. 1300050221 M * edit Is that normal and expected? 1300050306 J * derjohn_mob ~aj@p54B03B85.dip.t-dialin.net 1300050315 J * petzsch1 ~markus@p57B65765.dip.t-dialin.net 1300050451 Q * derjohn_mob Remote host closed the connection 1300050632 Q * petzsch Ping timeout: 480 seconds 1300050896 P * edit 1300051412 J * BenG ~bengreen@cpc12-aztw24-2-0-cust146.aztw.cable.virginmedia.com 1300051629 M * Bertl yep, kind of expected if you initialize the same device twice 1300051638 N * ntrs ntrs_away 1300051656 Q * petzsch1 Quit: Leaving. 1300051831 Q * BenG Quit: I Leave 1300053102 J * derjohn_mob ~aj@p54B03B85.dip.t-dialin.net 1300053454 Q * ntrs_away Ping timeout: 480 seconds 1300053866 J * ntrs_away ~ntrs@vault08.rosehosting.com 1300055701 Q * bonbons Quit: Leaving 1300055989 M * Bertl off for now ... bbl 1300055997 N * Bertl Bertl_oO 1300058092 Q * derjohn_mob Ping timeout: 480 seconds 1300058647 J * derjohn_mob ~aj@pD9576F4D.dip.t-dialin.net 1300058930 Q * Piet Remote host closed the connection 1300058994 J * Piet ~Piet__@659AAAD5U.tor-irc.dnsbl.oftc.net