El lun, 07-01-2019 a las 15:21 +0100, [email protected] escribió:
> Am 2019-01-03 15:17, schrieb Dennis Gilmore:
> > El jue, 03-01-2019 a las 08:57 +0100, [email protected] escribió:
> > > Hello together and and happy and healthfull new year !
> > >
> > > Yesterday the parcel with Helios 4 is be well received. Is there
> > > any
> > > hint to install Fedora (or maybe CentOS) on it?
> > >
> > > Greetings
> > > Andreas
> >
> > Hi Andreas,
> >
> > fedora works well on the helios4, it can however only control one
> > of
> > the two fansright now due to the upstream kernel only supporting
> > one
> > pwm device on a GPIO bank and both fans are on one bank of GPIO
> > pins.
> >
> > grab the image you prefer to use, minimal or server, I personally
> > am
> > using server and install uboot-images-armv7 on your local machine.
> >
> > install the image onto your sdcard where sdX is the device your
> > sdcard
> > shows up as
> >
> > xzcat Fedora-Image.xz| dd of=/dev/sdX bs=4MiB
> >
> > then install u-boot into the card
> >
> > dd if=/usr/share/uboot/helios4/u-boot-spl.kwb of=/dev/sdX bs=512
> > seek=1
> >
> > you could use gparted to resize the rootfs or just boot and resize
> > on
> > the system when running.
> >
> > Then boot the system, if you use server you can then manage the
> > disks
> > you put into the nas through cockpit. I am planning to package up
> > the
> > config file for fan control and a preset to enable fancontrol so
> > you
> > can install a hardware enablement package to have things just work.
> > I
> > am also planning on gettinga u-boot build for the spi flash and
> > enabling booting from sata. On mine I have moved / to the internal
> > drives and only have /boot on the sdcard. there is a kernel bug
> > that
> > causes the lm75 module to not autoload, it is needed for the
> > fancontrol
> > to work also.
> >
> > Dennis
> > _______________________________________________
> > arm mailing list -- [email protected]
> > To unsubscribe send an email to [email protected]
> > Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
> > List Guidelines:
> > https://fedoraproject.org/wiki/Mailing_list_guidelines
> > List Archives:
> > https://lists.fedoraproject.org/archives/list/[email protected]
>
> Hello Dennis,
>
> thank you for the installation hint. Next step is creating RAID with
> hardisk. I also want to have / with /var on disk and only /boot on
> SD-Card.
> What is your setup?
>
> My QNAP-NAS is
> [~] # cat /proc/mdstat
> Personalities : [raid1] [linear] [raid0] [raid10] [raid6] [raid5]
> [raid4]
> md0 : active raid5 sda3[0] sdd3[3] sdc3[2] sdb3[1]
> 8786092608 blocks super 1.0 level 5, 64k chunk,
> algorithm 2 [4/4] [UUUU]
> md4 : active raid1 sdd2[4](S) sdc2[3](S) sdb2[2] sda2[0]
> 530128 blocks super 1.0 [2/2] [UU]
> md13 : active raid1 sda4[0] sdc4[3] sdd4[2] sdb4[1]
> 458880 blocks [4/4] [UUUU]
> bitmap: 2/57 pages [8KB], 4KB chunk
>
>
> md9 : active raid1 sda1[0] sdd1[3] sdc1[2] sdb1[1]
> 530048 blocks [4/4] [UUUU]
> bitmap: 1/65 pages [4KB], 4KB chunk
>
>
> unused devices: <none>
> [~] #
>
> I think I create
> /dev/md0 = RAID 1 for OS /
> /dev/md1 = RAID 1 for OS /var
> /dev/md2 = RAID 5 big filesystem
>
> First test with 4 disk with 1 TB
>
> I will test if this work.
>
I have the 4 drives in a raid10
# cat /proc/mdstat
Personalities : [raid10]
md127 : active raid10 sdc[2] sdd[4] sdb[1] sda[0]
7813771264 blocks super 1.2 2048K chunks 2 near-copies [4/4]
[UUUU]
bitmap: 1/59 pages [4KB], 65536KB chunk
unused devices: <none>
I then used lvm on top of the raid array I have a data mount root and
swap
# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log
Cpy%Sync Convert
nfs storvg -wi-ao--
-- 4.88t
root storvg -wi-ao----
50.00g
swap storvg -wi-ao---- 4.00g
I have left some space available to be allocated
# vgs
VG #PV #LV #SN Attr VSize VFree
storvg 1 3 0 wz--n- <7.28t 2.34t
Dennis
_______________________________________________
arm mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/[email protected]