OpenVZ Forum



Members   Search      Help    Register    Login    Home
Home » General » Support » loop device alternative
loop device alternative [message #46863] Wed, 20 June 2012 00:33 Go to next message
testbot is currently offline testbot
Messages: 13
Registered: June 2012
Location: Chicago
Junior Member
From: *22.233.118-static.reverse.softlayer.com
is there an alternative to creating a virtual partition (loop dev) within a container?

i need to set a quota on a cache folder within a container.

thanks!
Re: loop device alternative [message #46880 is a reply to message #46863] Thu, 21 June 2012 00:00 Go to previous messageGo to next message
testbot is currently offline testbot
Messages: 13
Registered: June 2012
Location: Chicago
Junior Member
From: *22.233.118-static.reverse.softlayer.com
really just want to create a cache directory like /tmp/cache and make sure it doesn't grow out of control by setting a quota on it. is there an easy way to do this inside a container? i use to create virtual partitions for this.
Re: loop device alternative [message #46887 is a reply to message #46880] Thu, 21 June 2012 12:02 Go to previous messageGo to next message
testbot is currently offline testbot
Messages: 13
Registered: June 2012
Location: Chicago
Junior Member
From: *22.233.118-static.reverse.softlayer.com
nobody knows the answer to this?
Re: loop device alternative [message #46892 is a reply to message #46863] Thu, 21 June 2012 19:59 Go to previous messageGo to next message
testbot is currently offline testbot
Messages: 13
Registered: June 2012
Location: Chicago
Junior Member
From: *22.233.118-static.reverse.softlayer.com
just the worst.
Re: loop device alternative [message #46992 is a reply to message #46863] Tue, 26 June 2012 10:44 Go to previous messageGo to next message
testbot is currently offline testbot
Messages: 13
Registered: June 2012
Location: Chicago
Junior Member
From: *22.233.118-static.reverse.softlayer.com
bump for days
Re: loop device alternative [message #47005 is a reply to message #46992] Tue, 26 June 2012 19:14 Go to previous messageGo to next message
amsayk is currently offline amsayk
Messages: 1
Registered: March 2012
Junior Member

From: 41.249.82*
take a look at tmpwatch
Re: loop device alternative [message #47029 is a reply to message #47005] Wed, 27 June 2012 17:16 Go to previous messageGo to next message
testbot is currently offline testbot
Messages: 13
Registered: June 2012
Location: Chicago
Junior Member
From: *22.233.118-static.reverse.softlayer.com
^ thank you so much for your reply. any reply is wonderful right now.

unfortunately, this cache directory syncs with a cloud object so if files were removed they would just be redownloaded. I have to actually set a cap on it so it just won't grow after a certain point.

tmpwatch would be good after that so it will remove old files from something that is maxed out though.

any other ideas are very welcome. thanks!
Re: loop device alternative [message #47097 is a reply to message #47029] Thu, 05 July 2012 15:52 Go to previous messageGo to next message
testbot is currently offline testbot
Messages: 13
Registered: June 2012
Location: Chicago
Junior Member
From: *22.233.118-static.reverse.softlayer.com
why do you hate me openvz?
Re: loop device alternative [message #47105 is a reply to message #47097] Fri, 06 July 2012 13:50 Go to previous messageGo to next message
testbot is currently offline testbot
Messages: 13
Registered: June 2012
Location: Chicago
Junior Member
From: *22.233.118-static.reverse.softlayer.com
bump?
Re: loop device alternative [message #47151 is a reply to message #46863] Wed, 11 July 2012 22:23 Go to previous messageGo to next message
testbot is currently offline testbot
Messages: 13
Registered: June 2012
Location: Chicago
Junior Member
From: *22.233.118-static.reverse.softlayer.com
never forget.
Re: loop device alternative [message #47188 is a reply to message #47151] Tue, 17 July 2012 18:04 Go to previous messageGo to next message
testbot is currently offline testbot
Messages: 13
Registered: June 2012
Location: Chicago
Junior Member
From: *22.233.118-static.reverse.softlayer.com
bup
Re: loop device alternative [message #47320 is a reply to message #46863] Mon, 30 July 2012 11:20 Go to previous messageGo to next message
testbot is currently offline testbot
Messages: 13
Registered: June 2012
Location: Chicago
Junior Member
From: *22.233.118-static.reverse.softlayer.com
bump
icon13.gif  Re: loop device alternative [message #47322 is a reply to message #46863] Mon, 30 July 2012 12:13 Go to previous messageGo to next message
Ales is currently offline Ales
Messages: 225
Registered: May 2009
Senior Member
From: *dynamic.sbb.rs
Apart from trying to piss off everyone, what's the point in bumping your thread over and over and over again?

This is not a busy forum. Your thread didn't even dissapear from the first page. Give it a rest.
Re: loop device alternative [message #47363 is a reply to message #47322] Thu, 02 August 2012 15:31 Go to previous messageGo to next message
testbot is currently offline testbot
Messages: 13
Registered: June 2012
Location: Chicago
Junior Member
From: *hsd1.il.comcast.net
because it displays the lack of response and that other alternatives are better if there's not an active system for issues such as this.

i will never stop bumping it until it's resolved. if you don't like it or do not have any solutions, don't read it and don't reply.

ps- thank you for your reply. Smile
Re: loop device alternative [message #47364 is a reply to message #46863] Thu, 02 August 2012 20:14 Go to previous messageGo to next message
Ales is currently offline Ales
Messages: 225
Registered: May 2009
Senior Member
From: *dynamic.sbb.rs
You're welcome. Even afer all these years I still like feeding the trolls now and then. Enjoy while you can. Very Happy
Re: loop device alternative [message #47431 is a reply to message #46863] Fri, 10 August 2012 13:50 Go to previous messageGo to next message
xaxaxa is currently offline xaxaxa
Messages: 8
Registered: August 2012
Location: Vancouver, BC
Junior Member
From: *vc.shawcable.net
mount -t tmpfs none /tmp/cache -o size=nbytes

Re: loop device alternative [message #47925 is a reply to message #47431] Tue, 18 September 2012 20:09 Go to previous messageGo to next message
testbot is currently offline testbot
Messages: 13
Registered: June 2012
Location: Chicago
Junior Member
From: *22.233.118-static.reverse.softlayer.com
^ very cool! thank you! i will give that a try. Grin
Re: loop device alternative [message #48203 is a reply to message #46863] Thu, 04 October 2012 02:41 Go to previous message
nuno is currently offline nuno
Messages: 43
Registered: January 2010
Member
From: 89.181.180*
Hi.
You can also mount another filesystem in /tmp/cache.

There're instructions on how to do that in here already Wink
Regards,
Previous Topic:question about sys_time
Next Topic:How To Upgrade Vzctl on Debian Squeeze
Goto Forum:
  


Current Time: Tue May 21 11:26:50 EDT 2013
Powered by FUDforum Powered by Parallels Virtuozzo Containers