This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

Increase RAMdisk for /dev/md0 in embedded system

Post/Debate your Suggestions & Requests of XigmaNAS here. This ONLY pertains to XigmaNAS.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
cgukevin
NewUser
NewUser
Posts: 10
Joined: 29 Jan 2013 06:33
Status: Offline

Increase RAMdisk for /dev/md0 in embedded system

Post by cgukevin »

I am wondering if it is possible to increase the Ramdisk allocation for /dev/md0 of embedded system for future release.

I am force to use the full OS right now because embedded OS could only give me a little more than 6MB in /dev/md0. When Transmission is downloading/uploading large torrent, the space is not enough to hold temporary files in /usr/home/transmission/.config/transmission-daemon/torrents or resume.

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: Increase RAMdisk for /dev/md0 in embedded system

Post by raulfg3 »

you have the answer in viewtopic.php?f=47&t=2483&p=12790#p12790

You need to configure Path for partial downloads in transsmision to point to your DATA disk.
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

cgukevin
NewUser
NewUser
Posts: 10
Joined: 29 Jan 2013 06:33
Status: Offline

Re: Increase RAMdisk for /dev/md0 in embedded system

Post by cgukevin »

I have already direct the partial downloads to /mnt/ZFS/downloads/incoming. But temporary files generated by transmission is something different. They were automatically generated in "/usr/home/transmission/.config/transmission-daemon/torrents" and "/usr/home/transmission/.config/transmission-daemon/resume", and I don't think I can change that. Do you have an idea?

User avatar
alexey123
Moderator
Moderator
Posts: 1469
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: Increase RAMdisk for /dev/md0 in embedded system

Post by alexey123 »

I not have such problem with embedded.
Why?
I mount /usr from data disk

Code: Select all

mkdir -p /mnt/disk/opt/usr
And run postinit script, defined on System|Advanced|Command scripts -menu

Code: Select all

mount_unionfs /mnt/disk/opt/usr /usr
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600

cgukevin
NewUser
NewUser
Posts: 10
Joined: 29 Jan 2013 06:33
Status: Offline

Re: Increase RAMdisk for /dev/md0 in embedded system

Post by cgukevin »

Thanks, alexey123! Will try it later.

User avatar
alexey123
Moderator
Moderator
Posts: 1469
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: Increase RAMdisk for /dev/md0 in embedded system

Post by alexey123 »

If you make mount var also, you can add packages to embedded
mkdir -p /mnt/disk/opt/var
Startup script

Code: Select all

mount_unionfs /mnt/disk/opt/var /var
chmod 1777 /var/tmp
When you need upgrade nas4free, just disable scripts and reboot before upgrade server. After upgrade - enable scripts
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600

cgukevin
NewUser
NewUser
Posts: 10
Joined: 29 Jan 2013 06:33
Status: Offline

Re: Increase RAMdisk for /dev/md0 in embedded system

Post by cgukevin »

Is there any disadvantage of embedded OS against full OS left?

User avatar
alexey123
Moderator
Moderator
Posts: 1469
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: Increase RAMdisk for /dev/md0 in embedded system

Post by alexey123 »

not quite
Sometimes I want to change any file in /etc folder, but I can't mount /etc some as /var and /usr
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600

User avatar
MikeMac
Forum Moderator
Forum Moderator
Posts: 429
Joined: 07 Oct 2012 23:12
Location: Moscow, Russia
Contact:
Status: Offline

Re: Increase RAMdisk for /dev/md0 in embedded system

Post by MikeMac »

I'd like to vote for md0 size increase
Current size is from old times with different memory amounts.
Today nearly all of us have a few gigabytes of memory and easy could give more memory to /dev/md0 on /
I, f.e. had installed 16Gb of RAM

After all, with full installtion there is choise of partition size for installation. Why do not give the same choise for emdedded?
With add dozen of megabytes at / nas4free embedded becomes far more flexible system.

Or, as the other way, there is varsize in rc.conf section. Someting similar for / could be a solution.

Best regards, Mike

PS Why I am asking for it? Really I d like to mount webDAV disk from a Yandex cloud. And then rsync to it my backups.
I need fusefs-wdfs, but could not instll one to embedded due to space limit :(

I had tried with jail too, but due to permissons problem could not install fusefs-wdfs

mount_unionfs /mnt/disk/opt/usr /usr is not an option too. I had installed virtualbox extension. But one could not co-exists with other mount_unionfs mounts for system folders.

Post Reply

Return to “Suggestions & Requests”