9front - general discussion about 9front
 help / color / mirror / Atom feed
* [9front] Looking for documentation on adding a WORM pation(s) across mutliple disks
@ 2021-03-25 21:41 fulton
  2021-03-26  8:03 ` Alex Musolino
  0 siblings, 1 reply; 2+ messages in thread
From: fulton @ 2021-03-25 21:41 UTC (permalink / raw)
  To: 9front

My file server is currently running off a single 512GB ssd. this is fine for now, but I want more space for large media files such as music and high res photo's. I'm thinking about purchasing a couple of new hard drives, making each of them one big WORM and adding them to my existing cwfs configuration. To clarify, I want to go from this:

/dev/sdC0/other
/dev/sdC0/fscache
/dev/sdC0/fsworm

to

this:

/dev/sdC0/other
/dev/sdC0/fscache
/dev/sdC0/fsworm
/dev/sdC1/fsworm
...
/dev/sdCN/fsworm

and have everything work together to give my file server a giant, multi drive WORM.

I assume this is possible, but I have not been able to find much documentation on the subject, if you use this on your file server and know of some good doc's or want to write your own, that would be fantastic.

Thanks for your time :)
--
Fulton fulton.software!fulton


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

* Re: [9front] Looking for documentation on adding a WORM pation(s) across mutliple disks
  2021-03-25 21:41 [9front] Looking for documentation on adding a WORM pation(s) across mutliple disks fulton
@ 2021-03-26  8:03 ` Alex Musolino
  0 siblings, 0 replies; 2+ messages in thread
From: Alex Musolino @ 2021-03-26  8:03 UTC (permalink / raw)
  To: 9front

> I assume this is possible, but I have not been able to find much
> documentation on the subject, if you use this on your file server
> and know of some good doc's or want to write your own, that would be
> fantastic.

I would also assume this to be possible.  In fact, I imagine that
since you would just be adding more disks to your worm, this would
simply be a matter of updating the cwfs configuration from:

filsys main c(/dev/sdC0/fscache)(/dev/sdC0/fsworm)
filsys dump o

to:

filsys main c(/dev/sdC0/fscache)("/dev/sdC0/fsworm""/dev/sdC1/fsworm"..."/dev/sdCN/fsworm")
filsys dump o

This syntax is somewhat documented in fsconfig(8) but I did have to
look at the code to work out how to use the quotes in order to
concatenate devices.  I think I got it right, but...

Please note that I have not tried this.  Do please make backups before
proceeding.  No refunds.


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

end of thread, other threads:[~2021-03-26 10:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-25 21:41 [9front] Looking for documentation on adding a WORM pation(s) across mutliple disks fulton
2021-03-26  8:03 ` Alex Musolino

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).