Questions tagged [qnap]
19 questions
5
votes
3 answers
How to recursively set directory permissions with a find that lacks -exec?
My Qnap NAS is cursed with a find command that lacks the -exec parameter, so I have to pipe to something. The shell is: GNU bash, version 3.2.57(2)-release-(arm-unknown-linux-gnueabihf)
I'm trying to set the setgid bit on all subdirectories (not…
S. McCandlish
- 153
- 4
5
votes
2 answers
QNAP eCryptFS Filesystem Broken Permissions
Following an issue with my QNAP device I've had to do a whole load of manual recovery of data and only getting at my encrypted data remains.
It seems that QNAP use eCryptFS to do this. I've managed to set-up the passphrase (with…
kemra102
- 1,061
- 2
- 11
- 16
3
votes
1 answer
How to mount on Linux a QNAP external drive with LUKS partition
I need help to mount an external drive used on my QNAP TS-230 (latest firmware) to backup data. I set encrypted partition (LUKS) on this drive with a passphrase. I tried to mount that partition on a Linux system but when I enter the passphrase it…
Luca Giurina
- 51
- 4
3
votes
2 answers
What is /dev/mapper/cachedev1?
I just got my first QNAP NAS, used to work mostly with Synology before, and I'm currently trying to figure out how the system uses LVM. Mostly out of curiosity.
In my specific case, it's a 2 bay NAS that I'm setting up as RAID 1 "storage pool".…
vic
- 2,012
- 4
- 14
- 23
2
votes
2 answers
Problems accessing files on a RAID1+LVM from failed QNAP
Brief context
I have a QNAP TS-451. The NAS has failed, but I'm pretty sure the drives are still fine. I have a new QNAP TS-462 to try to replace it and I'd like to ensure my data is intact in the new system.
Question
How can I access the contents…
Danny Sung
- 123
- 3
2
votes
0 answers
Mounting LVM partition on a RAID1 disk from a bricked QNAP NAS
I have a QNAP HS-251+ NAS with two 3TB WD Red NAS Hard Drives in RAID1 configuration. I'm quite acquainted with Linux and CLI tools, but never used mdadm or LVM so, despite knowing (now) that QNAP uses them, I have no expertise, or even knowledge…
Xabier Villar
- 21
- 1
- 5
2
votes
3 answers
Moving files to directories named after the first 6 digits in the file name
I've got thousands of raw photos (.nef) and relative settings (same filename but .xmp extension) in a single directory on a QNAP nas. My goal is to automate the creation of subdirs named like yyyy-mm or else yyyy/mm and moving there all files…
Francesco Bacigalupo
- 21
- 1
1
vote
2 answers
QNAP NAS internal storage size for booting Debian
I've just downloaded version 4.3.6 of QNAP QTS operating system. It seems to contain amd64 Linux kernel 4.2.8, initrd and root filesystem, glibc 2.21, Apache 2.4.37, PHP 5.6.38, no Perl, Python 2.7.17rc1, BusyBox 1.24.1, rsync 3.0.7, Bash 3.2.57,…
pts
- 1,041
- 13
- 22
0
votes
3 answers
Automatically mount QNAP drive on Linux Mint
I have searched all over the Internet, and perhaps I missed the answer to this question, but I still cannot solve it yet.
So far, I have successfully mounted my QNAP drive:
Make a folder for the mount point: /home/t420/QNAP
Edit (after getting root…
larryjb
- 1
- 1
0
votes
0 answers
Preserve timestamp with rsync on QNAP share from PI
I have a Rasberry PI where I have mounted a QNAP share.
This is how it is mounted in /etc/fstab on the PI:
//192.168.1.130/Backup/Icloud /home/pi/IcloudPictures cifs username=admin,password=masked,uid=1000,gid=1000
The mount works fine and I can…
Ziggy000
- 1
- 1
0
votes
0 answers
Infinite loop traversing NFS-mounted filesystem (QNAP server)
I have an NFS mount that has recently developed a problem whereby the mounted filesystem can't be traversed:
find /media/photos/
runs fine for a while, then degenerates into an infinite loop over some…
arensb
- 399
- 1
- 6
0
votes
1 answer
Does changing an export from "no_root_squash" to "root_squash" require a remount on the client side?
Situation: a QNAP NAS is serving several directories already and I want to change the settings away from no_root_squash to root_squash.
Does performing this impact anything other than user permissions?
Does a remount have to happen on the client…
KoenDG
- 3
- 1
0
votes
0 answers
How to recover Linux install on a device with no keyboard, screen or remote login?
I had Debian Jessie on a QNAP TS-210 device, which is an arm processes (kirkland architecture). It was running fine for many years, but I needed to use something which required up to date libraries, so I decided to update to Debian 9 (Stretch) since…
Jake Rankin
- 111
- 1
0
votes
1 answer
how to upload files to a shared protected storage link using curl?
I want to upload files to a shared link (Qnap storage link) using cURL, how can I do this if i have just a password for the shared link , I do not have a username or an account.
I have tried
$ curl -u 'password' --upload-file file.txt …
jorg-m
- 3
- 3
0
votes
0 answers
FTP listing files (ls) with dynamic date YYYMMDD pattern
Following a previous answer I'm trying to list the files on an FTP server that match a pattern, as shown below
event_date=`date +%Y%m%d`
ftp -n XX.XX.XX.XX <
Olumide
- 167
- 8