9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] keeping an eye on disk use
@ 2006-10-20 17:36 John Floren
  2006-10-20 17:46 ` Skip Tavakkolian
  0 siblings, 1 reply; 10+ messages in thread
From: John Floren @ 2006-10-20 17:36 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Hello
I've got an older machine set up as a standalone cpu/auth/file server,
running fossil (20 GB) and no Venti. My question is, what is a good
way to keep an eye on disk usage? I know that 'df' in fossilcons will
show me the free/used disk space, but that's only accessable from the
console, and my machine is currently running headless. I'm looking for
something that I can run over drawterm to find out how much space is
being taken up (du / doesn't work, because that'll also count the
stuff in /mnt/term).
Thanks

John
-- 
Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [9fans] keeping an eye on disk use
  2006-10-20 17:36 [9fans] keeping an eye on disk use John Floren
@ 2006-10-20 17:46 ` Skip Tavakkolian
  2006-10-20 20:03   ` John Floren
  0 siblings, 1 reply; 10+ messages in thread
From: Skip Tavakkolian @ 2006-10-20 17:46 UTC (permalink / raw)
  To: 9fans

> I've got an older machine set up as a standalone cpu/auth/file server,
> running fossil (20 GB) and no Venti. My question is, what is a good
> way to keep an eye on disk usage? I know that 'df' in fossilcons will
> show me the free/used disk space, but that's only accessable from the
> console, and my machine is currently running headless. I'm looking for
> something that I can run over drawterm to find out how much space is
> being taken up (du / doesn't work, because that'll also count the
> stuff in /mnt/term).

con /srv/fscon

doesn't work?



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [9fans] keeping an eye on disk use
  2006-10-20 17:46 ` Skip Tavakkolian
@ 2006-10-20 20:03   ` John Floren
  2006-10-20 20:05     ` Francisco J Ballesteros
  2006-10-20 22:32     ` geoff
  0 siblings, 2 replies; 10+ messages in thread
From: John Floren @ 2006-10-20 20:03 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On 10/20/06, Skip Tavakkolian <9nut@9netics.com> wrote:
> > I've got an older machine set up as a standalone cpu/auth/file server,
> > running fossil (20 GB) and no Venti. My question is, what is a good
> > way to keep an eye on disk usage? I know that 'df' in fossilcons will
> > show me the free/used disk space, but that's only accessable from the
> > console, and my machine is currently running headless. I'm looking for
> > something that I can run over drawterm to find out how much space is
> > being taken up (du / doesn't work, because that'll also count the
> > stuff in /mnt/term).
>
> con /srv/fscon
>
> doesn't work?
>
>
The result of your command:
con: cannot open /srv/fscons: '/srv/fscons' permission denied
I've tried it.


John
-- 
Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [9fans] keeping an eye on disk use
  2006-10-20 20:03   ` John Floren
@ 2006-10-20 20:05     ` Francisco J Ballesteros
  2006-10-20 20:12       ` John Floren
  2006-10-20 22:32     ` geoff
  1 sibling, 1 reply; 10+ messages in thread
From: Francisco J Ballesteros @ 2006-10-20 20:05 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Are you running that as the host owner?

On 10/20/06, John Floren <slawmaster@gmail.com> wrote:
> On 10/20/06, Skip Tavakkolian <9nut@9netics.com> wrote:
> > > I've got an older machine set up as a standalone cpu/auth/file server,
> > > running fossil (20 GB) and no Venti. My question is, what is a good
> > > way to keep an eye on disk usage? I know that 'df' in fossilcons will
> > > show me the free/used disk space, but that's only accessable from the
> > > console, and my machine is currently running headless. I'm looking for
> > > something that I can run over drawterm to find out how much space is
> > > being taken up (du / doesn't work, because that'll also count the
> > > stuff in /mnt/term).
> >
> > con /srv/fscon
> >
> > doesn't work?
> >
> >
> The result of your command:
> con: cannot open /srv/fscons: '/srv/fscons' permission denied
> I've tried it.
>
>
> John
> --
> Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn
>
>


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [9fans] keeping an eye on disk use
  2006-10-20 20:05     ` Francisco J Ballesteros
@ 2006-10-20 20:12       ` John Floren
  2006-10-20 20:31         ` Francisco J Ballesteros
  2006-10-21  2:05         ` John Floren
  0 siblings, 2 replies; 10+ messages in thread
From: John Floren @ 2006-10-20 20:12 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On 10/20/06, Francisco J Ballesteros <nemo@lsub.org> wrote:
> Are you running that as the host owner?
>
<snip>

Ah, much better. Thanks. Three percent used :-)

On a similar topic, I want to convert this 20 GB disk to Venti and use
another 6GB drive I've got for fossil/swap/9fat. How can I get the
data from my current fossil disk to the 6GB? I assume that once I get
my system running on the 6GB, I can follow the wiki instructions to
add the 20GB as Venti.


John
-- 
Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [9fans] keeping an eye on disk use
  2006-10-20 20:12       ` John Floren
@ 2006-10-20 20:31         ` Francisco J Ballesteros
  2006-10-21  2:05         ` John Floren
  1 sibling, 0 replies; 10+ messages in thread
From: Francisco J Ballesteros @ 2006-10-20 20:31 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

why not format your venti/fossil and then
copy the data from the old one?


On 10/20/06, John Floren <slawmaster@gmail.com> wrote:
> On 10/20/06, Francisco J Ballesteros <nemo@lsub.org> wrote:
> > Are you running that as the host owner?
> >
> <snip>
>
> Ah, much better. Thanks. Three percent used :-)
>
> On a similar topic, I want to convert this 20 GB disk to Venti and use
> another 6GB drive I've got for fossil/swap/9fat. How can I get the
> data from my current fossil disk to the 6GB? I assume that once I get
> my system running on the 6GB, I can follow the wiki instructions to
> add the 20GB as Venti.
>
>
> John
> --
> Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn
>
>


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [9fans] keeping an eye on disk use
  2006-10-20 20:03   ` John Floren
  2006-10-20 20:05     ` Francisco J Ballesteros
@ 2006-10-20 22:32     ` geoff
  1 sibling, 0 replies; 10+ messages in thread
From: geoff @ 2006-10-20 22:32 UTC (permalink / raw)
  To: 9fans

If you want to access your fossil console without becoming the host
owner, set up consolefs(4) to run on your file server in cpurc.local.
Here's an example consoledb file to use:

group=sys
	uid=bootes
	uid=YOUR-NAME-GOES-HERE
console=fs dev=/srv/fscons
	gid=sys

and put this in one of your other ndb files (e.g., local):

sys=fs console=YOUR-FILE-SERVER-GOES-HERE	# for C

Then `C fs' will let anybody in the group=sys list at the fossil
console.



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [9fans] keeping an eye on disk use
  2006-10-20 20:12       ` John Floren
  2006-10-20 20:31         ` Francisco J Ballesteros
@ 2006-10-21  2:05         ` John Floren
  2006-10-21  4:12           ` Bruce Ellis
  2006-10-21  9:57           ` Steve Simon
  1 sibling, 2 replies; 10+ messages in thread
From: John Floren @ 2006-10-21  2:05 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On 10/20/06, John Floren <slawmaster@gmail.com> wrote:
> On 10/20/06, Francisco J Ballesteros <nemo@lsub.org> wrote:
> > Are you running that as the host owner?
> >
> <snip>
>
> Ah, much better. Thanks. Three percent used :-)
>
> On a similar topic, I want to convert this 20 GB disk to Venti and use
> another 6GB drive I've got for fossil/swap/9fat. How can I get the
> data from my current fossil disk to the 6GB? I assume that once I get
> my system running on the 6GB, I can follow the wiki instructions to
> add the 20GB as Venti.
>
>
> John

I've kind of come to the realization that I'm not fully certain how
Fossil works. It *seems*, based on things I've read, that Fossil
simply stores new files until they can be written to Venti, at which
point the file is simply replaced by a pointer to the appropriate data
in Venti. Is this right? Does that mean that with my 6 GB fossil disk
and 20 GB Venti, I can actually store a lot more than 6 GB of data
(provided I allow stuff to write to Venti periodically)?
I'd appreciate if someone could clear this up for me.
Thanks

John Floren
-- 
Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [9fans] keeping an eye on disk use
  2006-10-21  2:05         ` John Floren
@ 2006-10-21  4:12           ` Bruce Ellis
  2006-10-21  9:57           ` Steve Simon
  1 sibling, 0 replies; 10+ messages in thread
From: Bruce Ellis @ 2006-10-21  4:12 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

i wish i knew. i'm not gonna read the source to find out.
look in the archives for my woe when fossil - which i
thought was a cache - filled up and the machine was
completely unuseable without a lot of work.

not a cache, a working area.  too many kids, not enough
icecreams.  use another fs if you want to process
significant data.

brucee

On 10/21/06, John Floren <slawmaster@gmail.com> wrote:
> On 10/20/06, John Floren <slawmaster@gmail.com> wrote:
> > On 10/20/06, Francisco J Ballesteros <nemo@lsub.org> wrote:
> > > Are you running that as the host owner?
> > >
> > <snip>
> >
> > Ah, much better. Thanks. Three percent used :-)
> >
> > On a similar topic, I want to convert this 20 GB disk to Venti and use
> > another 6GB drive I've got for fossil/swap/9fat. How can I get the
> > data from my current fossil disk to the 6GB? I assume that once I get
> > my system running on the 6GB, I can follow the wiki instructions to
> > add the 20GB as Venti.
> >
> >
> > John
>
> I've kind of come to the realization that I'm not fully certain how
> Fossil works. It *seems*, based on things I've read, that Fossil
> simply stores new files until they can be written to Venti, at which
> point the file is simply replaced by a pointer to the appropriate data
> in Venti. Is this right? Does that mean that with my 6 GB fossil disk
> and 20 GB Venti, I can actually store a lot more than 6 GB of data
> (provided I allow stuff to write to Venti periodically)?
> I'd appreciate if someone could clear this up for me.
> Thanks
>
> John Floren
> --
> Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn
>


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [9fans] keeping an eye on disk use
  2006-10-21  2:05         ` John Floren
  2006-10-21  4:12           ` Bruce Ellis
@ 2006-10-21  9:57           ` Steve Simon
  1 sibling, 0 replies; 10+ messages in thread
From: Steve Simon @ 2006-10-21  9:57 UTC (permalink / raw)
  To: 9fans

> ... It *seems*, based on things I've read, that Fossil
> simply stores new files until they can be written to Venti, at which
> point the file is simply replaced by a pointer to the appropriate data
> in Venti.

Yep, this is right, usually snapshots to venti take place every night
so you can only write (or change) a bit less than 6Gb of data per day but
you can store 20Gb in total. The 20Gb are compressed and all duplicate
blocks are merged so that 20Gb goes a long way. If you are dumping large
amounts of data into venti - copying old backup CDs into venti to make them
online, then you can do a snapshot to venti manually to flush out fossil
and free some space in it.

Fossil and venti have served me well and been very reliable - failing disks
are less good but there is a proceedure for recovery.

-Steve


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2006-10-21  9:57 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-20 17:36 [9fans] keeping an eye on disk use John Floren
2006-10-20 17:46 ` Skip Tavakkolian
2006-10-20 20:03   ` John Floren
2006-10-20 20:05     ` Francisco J Ballesteros
2006-10-20 20:12       ` John Floren
2006-10-20 20:31         ` Francisco J Ballesteros
2006-10-21  2:05         ` John Floren
2006-10-21  4:12           ` Bruce Ellis
2006-10-21  9:57           ` Steve Simon
2006-10-20 22:32     ` geoff

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).