WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Https Cherokee server project  (Read 122 times)

Offline Yleisajattelija

  • Full Member
  • ***
  • Posts: 229
Https Cherokee server project
« on: Today at 03:03:46 AM »
Working for VSRV-port mirror site with Rasberry3b/5. Setting rotating RAID1 disk box with ancient HW without LAN-port.  Rasberry is missing eSata, and at least this Raid-Box USB is not working with hdparm. Without hdparm some problems may come. There is classical security problems with PHP, which can maybe avoided with smart partition scheme. In this case disk formatting and partition must be made by IDE-connector without raidbox. I suppose this is not problem until disk crash, and then IDE-connector can be used again.

For partition setup experiments disks must be formatted anyway, so there should be any difference.

There might be some nasty side-effects I can't guess, any hints?

 

Offline Leee

  • Wiki Author
  • Full Member
  • *****
  • Posts: 236
Re: Https Cherokee server project
« Reply #1 on: Today at 03:38:19 AM »
I was told once that, for USB connected drives, you need sdparm instead of hdparm.  I was drawn away to other issues before I ever tried that so I don't know if that will help.
core 17.1 x86_64, jwm

Offline Yleisajattelija

  • Full Member
  • ***
  • Posts: 229
Re: Https Cherokee server project
« Reply #2 on: Today at 04:55:23 AM »
I was told once that, for USB connected drives, you need sdparm instead of hdparm.  I was drawn away to other issues before I ever tried that so I don't know if that will help.

Sdparm works with SCSI-disks, and sometimes works with USB-drives, too. I don't know what is exactly standard busybox command set (probably there is not any...), but this piCore busybox has just hdparm. Problem is more RAID function than USB, if different type disks are allowed, is impossible to make setup transparent for both disks.

Hdparm is typically used to set DMA-transfer parameters and sleep timing, and if those are set directly by IDE (this case sata) connector, there should not be problems. Of course, if application try to set those parameters and error returns, there is a problem.

I do not see any reason for Cherokee to set those parameters.


Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15879
Re: Https Cherokee server project
« Reply #3 on: Today at 06:21:31 AM »
sdparm posted to piCore64 repo