CM4 NAS problem

February 2, 2023, 16:13

blacksurimi

Apologize me please

andy_s

aight. Well, if you want to go flat, that 4port might work.

andy_s

no guarantees

andy_s

and yes, of course, you will need separate power supply.

blacksurimi

Okay thank you. So what method would you suggest would work best?

andy_s

what drives do you plan to use?

andy_s

btw why openmediavault?

andy_s

what do you expect from your nas

andy_s

what resolution

andy_s

fhd or 4k?

andy_s

<@863009334531588116>

andy_s

or better yet... what bitrate ?

blacksurimi

Yes 4K and 8bit depth

andy_s

bitrate, not bit depth

andy_s

kbps

blacksurimi

Bro i don’t know it’s my hobby. I’m 16

andy_s

what camera are you using?

blacksurimi

Sony a6500

blacksurimi

Want to see some work?

andy_s

4k@30fps (ouch) at a maximum of 100Mbps.

andy_s

welp...

andy_s

if you do not mind waiting LONG time for pi to process those videos...

andy_s

because you can get only up to 10x speed. in theory. Reality will be lower.

andy_s

that means, that 1h video would load at best 6 minutes.

andy_s

in reality it will be slower.

andy_s

Also, no need for "openmediavault", all you need is basic samba share server

blacksurimi

I want to ssh my pi and this is showing

blacksurimi


blacksurimi

Please help me

blacksurimi

I found out what the problem was

andy_s

yes, you do need external psu.

andy_s

ofcourse.

andy_s

that is just SATA card.

andy_s

you need to power those drives somehow.

blacksurimi

Wait. I send you the link. Look at the section precaution

andy_s

what about it

andy_s

it says nothing about drives

blacksurimi

it says that i can plug in up to 4 ssds and dont need any psu

andy_s

no, it does not.

andy_s

it does not say a thing about power for drives.

andy_s

it talks only about power for CM4

blacksurimi

It says „Compute Module 4 PoE 4G Board or Compute Module 4 PoE 4G Board does not require an additional power supply.“

blacksurimi

And also on the picture there is only the psu for the io board

andy_s

yes, CM4 BOARD

andy_s

says NOTHING about drives

blacksurimi

So you suggest connecting per usb

andy_s

i didn't say that.

blacksurimi

Sorry for all this misunderstandings. I didn’t want to insult you. So what do you recommend me now to do?

andy_s

Well, as i said. If you plan to edit 4k videos from that camera, then you need to either realize, that 1h video will load at best 6 minutes from that pi (theoretical speed, that you will not achieve, it will be longer)

andy_s

or you need better hardware, one with faster network adapters. On both ends - storage AND your PC.

andy_s

1Gbit network adapter can do around 100MB/s.

andy_s

your camera can produce 100Mbps videos.

andy_s

so each minute of recording means a) 6 seconds transfer time over 1Gbit network, 600MB of data.

andy_s

For 1h video it is 6 minutes of transfer and 36GB of data.

andy_s

Let me put it this way... several years ago i composed a system for a person who was editing 4k raw footage .

andy_s

he was working with 400GB per hour.

andy_s

we ended up building system utilizing RAMdisk

andy_s

You already sent a card

andy_s

All you need is psu for drives

blacksurimi

And than just throw omv on it?

andy_s

that depends on what drives you plan to use. Appropriate psu for those drives.

andy_s

Again, that depends on your needs and mainly on your budget. I already told you, that what you need for smooth operation cannot be delivered with raspberry pi and SATA drives.

andy_s

What ssds

blacksurimi

500g to 1tb

blacksurimi

Please help

andy_s

well, as you can see, these are SATA drives. So you need power supply with SATA connectors.

blacksurimi

Okay. Did you got an Idea for a power supply like that? Can you help me out with that

andy_s

idea for what?

andy_s

you need to buy one

andy_s

that is not power supply.

jannik44

btw. <@456538086453805068> why samba? i use just the good old sftp for all my servers in my room and it works very well

andy_s

sftp?

andy_s

ever heard about windows share?

andy_s

mounting drives?

andy_s

yes, you can.

andy_s

or NFS.

jannik44


jannik44

what can samba what sftp cant?

andy_s

advanced permissions