![Tweaking4All » QNAP NAS](https://i1.feedspot.com/5419351.jpg?t=1657193433)
Tweaking4All » QNAP NAS
19 FOLLOWERS
Got a question about QNAP? Get it answered by the experts at Tweaking4all forums. Tweaking4all provides quality computer tips and tricks for everyone.
Tweaking4All » QNAP NAS
1M ago
To speed up the rebuild of a RAI volume, I usually stop/disable as many applications and services (including network sharing) as I can, and I do not access the QNAP through the webUI - just to save resources. This really makes a huge differences, especially when you give the rebuild the highest priority (Resync First).
567
Now the challenge is how to monitor progress.
First thing I did is adding a rule to the Notification Center, so I get a notification when a rebuild was completed.
But I'm antsy at times and really want to know how far we are with the rebuild.
With SSH you can execute this to ..read more
Tweaking4All » QNAP NAS
1M ago
For some odd reason, I wasn't able to start one of my installed applications from terminal, as it kept reporting "disabled".
Eg. for Jellyfin this would say something like:
Jellyfin is not enabled.
So how do you "enable" this QPKG?
I found this to be the way to do this:
qpkg_cli --enable Jellyfin
Note that qpkg_cli is a quite power full tool for dealing with QPKG files ..read more
Tweaking4All » QNAP NAS
1M ago
This seems to work for most Amcrest IP camera's, but I've only used it with my good old IP3M-HX2.
So the Amcrest camera can store recordings and snapshots on a NAS, but it's very unclear how this needs to be setup from looking at the WebUI of the camera.
So some searching finally made me find this description (link) and I'm just posting it here for future reference and/or as a backup.
Short version: It uses a NFS share ... (would never have figured this out by myself)
Long version:
QNAP / NAS
To allow Amcrest cameras to connect to QNAP via NAS connection you will have to enable NFS in the Netw ..read more
Tweaking4All » QNAP NAS
2M ago
Based on the recommendations of the good folks behind Home Assistant, I did get myself a Zigbee 3.0 USB dongle.
This one:
ITead SONOFF Zigbee 3.0 USB Dongle Plus Model “ZBDongle-E” (EFR32MG21 variant)
All looked good, until I got the request to enter the Zigbee sierial port device ...
539
So, your QNAP runs a Linux variation and how am I supposed to detect this "com port" device?
Not knowing where to look, I first tried using "lsusb", which didn't help much besides seeing that the USB device is connected.
Before connection the USB dongle (removed some irrelevant lines):
# lsusb
...
Bus 005 ..read more
Tweaking4All » QNAP NAS
2M ago
While tinkering with some IP camera's and my QNAP, I found myself testing camera.ui (QNAP Package) - which seems like a very lightweight alternative to QVR, QVR Pro and QVR Elite.
Problem: what is the RTSP link for my older Amcrest IP camera's?
Took me some time to find it, so for my own reference, and maybe for others:
rtsp://username:password@ipaddress:port/cam/realmonitor?channel=1&subtype=0
535
RTSP URL Breakdown
The bracketed items are variables that you need to input according to your setup.
Explanations of each variable are given below.
username - username of the device
p ..read more
Tweaking4All » QNAP NAS
3M ago
Here some info I got my hands on, when trying to recover my RAID Volume that had become inactive after encountering a backplate issue which would at random eject my disk - naturally, this backplane issue needs to be resolved since this error (in my situation) will happen again ofcourse.
Anyhoo - I've seen some interesting commands that may be helpful for others.
CAUTION:
Only use these commands if you know what you're doing.
In general I'd recommend contacting QNAP support and have them look at it.
QNAP has very good support, even for old QNAP (EOL) models!
First of all, all these comman ..read more
Tweaking4All » QNAP NAS
4M ago
Since it took me a while to figure this out, I figured I'd share this here.
So I wanted to get my feet wet with SFP+ (10Gb/s either over copper for short distances or optical for larger distances) and connect it to a switch with 8 ports, 2.5GB/s each.
The usually listed cards (by QNAP or in their compatibility list) are just too expensive.
However, I did find this single SFP+ PCIe car on AliExpress for $34:
Mellanox MCX311A-XCAT Cx311a ConnectX-3 En 10G Ethernet 10GBe SFP+ PCIe NIC
Comes with a regular bracket and a low profile bracket.
My QNAP recognized it right away (TVS873 running QTS 5.x ..read more
Tweaking4All » QNAP NAS
2y ago
A few minutes ago, I wasn't able to do a controlled shutdown of my QNAP through the WebUI ....
So I tried (in SSH):
reboot
Which wanted to work, but shutting down services was still not going anywhere after 15 minutes.
After some searching (yes, you can hold the power button 2 seconds for a controlled shutdown, or 5 seconds for a hard shutdown), I found this and it work great in these kind of emergencies:
kill 1
I did find it challenging to find a good explanation, but as far as I recall, PID "1" is the kernel, and if that process dies all other processes get killed automatically ..read more
Tweaking4All » QNAP NAS
2y ago
It seems that sqlite3 (standard command line tool to work with SQLite databases), is nowhere to be found in the default search path of your QNAP.
However, I found it to be install several times ...
With SSH, go to your QNAP and cd to the root and do a search for sqlite3:
cd /
find -name sqlite3
Depending on the storage capacity on your QNAP this may take a while, and possibly produce a list, something like this:
# find -name sqlite3
./share/CACHEDEV1_DATA/.qpkg/CloudLink/python/lib/python2.7/sqlite3
./share/CACHEDEV ..read more
Tweaking4All » QNAP NAS
2y ago
First of all a big fat warning to not just do this whenever you feel like it.
The resynchronization of your RAID group is there for reason!
(bad disk, bad block, raid out of sync etc).
Having said that, If your array is md2 then
echo "idle" > /sys/block/md2/md/sync_action
You can determine which is your array by using:
cat /proc/mdstat
In the example below you'll see that md2 is my RAID-6 array ...
# cat /proc/mdstat
Personalities :
md2 : active raid6 sdg3 sde3 sdf3 sdd3 sdc3 sdh3 sdj3 sdi3
23382380544 blocks ..read more