*New 11.3 series Release:
2019-10-19: XigmaNAS 11.3.0.4.7014 - released

*New 12.0 series Release:
2019-10-05: XigmaNAS 12.0.0.4.6928 - released!

*New 11.2 series Release:
2019-09-23: XigmaNAS 11.2.0.4.6881 - released!

We really need "Your" help on XigmaNAS https://translations.launchpad.net/xigmanas translations. Please help today!

Producing and hosting XigmaNAS costs money. Please consider donating for our project so that we can continue to offer you the best.
We need your support! eg: PAYPAL

[SOLVED] Moving logs using symbolic link?

XigmaNAS Kernel Tune-up
Forum rules
Set-Up GuideFAQsForum Rules
Locked
Onichan
Advanced User
Advanced User
Posts: 237
Joined: 04 Jul 2012 21:41
Status: Offline

[SOLVED] Moving logs using symbolic link?

#1

Post by Onichan » 05 Aug 2012 23:57

So I am planning on doing a full install and just move the /var/logs to a zfs volume to prevent excessive writes to my thumb drive. Is there any issues with doing this? I tested it on a VM and it seemed to work fine. I also plan on not using a swap file as I will have 32GB of RAM. Is there anything else I should do to help keep writes off the usb drive?
Last edited by al562 on 26 Dec 2012 07:02, edited 1 time in total.
Reason: Adjusted Subject. Added to FAQs & locked. Added [SOLVED] Tag.

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

Re: Moving logs using symbolic link

#2

Post by raulfg3 » 06 Aug 2012 00:20

It's good decisión not use a swap If You have 8GB or more RAM.

To move logs to Data disk, please read the Wiki.


PD : this is my config, i have 8 GB RAM and do not have swap, and move my logs to /mnt/NAS-a/Logs. I also move DB of minidlna & transmission folders to minimize USB writes.
12.0.0.4 (revision 6766)+OBI on SUPERMICRO X8SIL-F 8GB of ECC RAM, 12x3TB disk in 3 vdev in RaidZ1 = 32TB Raw size only 22TB usable

Wiki
Last changes

Onichan
Advanced User
Advanced User
Posts: 237
Joined: 04 Jul 2012 21:41
Status: Offline

Re: Moving logs using symbolic link

#3

Post by Onichan » 06 Aug 2012 03:35

I did read the Wiki about moving logs and when testing what was provided did move most all of them, but there were a few log files that it didn't move. That is why I was planning on just doing a symbolic link as that guarentees all current and future logs are kept off the usb drive. I just wanted to make sure it won't negatively effect anything.

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

Re: Moving logs using symbolic link

#4

Post by raulfg3 » 06 Aug 2012 10:51

What log files do not move?
12.0.0.4 (revision 6766)+OBI on SUPERMICRO X8SIL-F 8GB of ECC RAM, 12x3TB disk in 3 vdev in RaidZ1 = 32TB Raw size only 22TB usable

Wiki
Last changes

russian
Starter
Starter
Posts: 63
Joined: 27 Jul 2012 08:11
Location: Russia
Status: Offline

Re: Moving logs using symbolic link

#5

Post by russian » 06 Aug 2012 20:04

From my experience, these logs don't moved by the Wiki method:

fuppes_logfile
rsync_client_logfile
rsync_local_logfile

Because there are special strings in rf.conf for these strings. So, it needs to change there logs path manually.
Nas4Free x64 9.2.0.1 rev.972; case: Lian Li PC Q08b; mb: ASUS E35M1-I; cpu: AMD E-350; mem: 4 Gb; hdd: 6xSATA

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

Re: Moving logs using symbolic link

#6

Post by raulfg3 » 06 Aug 2012 20:43

Please read this post to move rsync & fuppes logs.

viewtopic.php?f=75&t=204
12.0.0.4 (revision 6766)+OBI on SUPERMICRO X8SIL-F 8GB of ECC RAM, 12x3TB disk in 3 vdev in RaidZ1 = 32TB Raw size only 22TB usable

Wiki
Last changes

Locked

Return to “XigmaNAS Kernel Tune-up”