Invalid shared folders

Questions about SNMP, Power, System, Logs, disk, & RAID.
Post Reply
DOMZE
New here
Posts: 2
Joined: Tue Oct 21, 2014 4:55 am

Invalid shared folders

Post by DOMZE »

Hello,

I have a QNAP TS469L with 4X3TB disks in RAID 5.
I swapped a drive because one had died. (Bay 1)
I read that the disk in Bay 1 contains all the settings for the raid (like shares)

My data is still there and available through /dev/md3 (mounted on /share/MD3_DATA), however I cannot seem to reset the shares paths to that filesystem.

How can I accomplish that?

Thank you!

EDIT
I saw that in /Share there's a MD0_DATA

what would be the better way to do things?
umount /dev/md3
mount /dev/md3 /share/MD0_DATA

or just change in smb.conf the link to MD0_DATA to MD3_DATA and all the symlinks in /share to MD3_DATA?

Note that /dev/md3 is my raid partition

EDIT 2
for the sake of completeness
[/share] # cat /etc/raidtab
raiddev /dev/md0
raid-level 5
nr-raid-disks 4
nr-spare-disks 0
chunk-size 4
persistent-superblock 1
device /dev/sda3
raid-disk 0
device /dev/sdb3
raid-disk 1
device /dev/sdc3
raid-disk 2
device /dev/sdd3
raid-disk 3

[/share] # df
Filesystem Size Used Available Use% Mounted on
/dev/ram0 151.1M 127.8M 23.3M 85% /
devtmpfs 487.9M 4.0k 487.9M 0% /dev
tmpfs 64.0M 164.0k 63.8M 0% /tmp
tmpfs 492.6M 0 492.6M 0% /dev/shm
/dev/md9 509.5M 137.0M 372.4M 27% /mnt/HDA_ROOT
/dev/md13 371.0M 281.4M 89.5M 76% /mnt/ext
/dev/md3 8.1T 543.7G 7.6T 7% /share/MD3_DATA
tmpfs 32.0M 0 32.0M 0% /.eaccelerator.tmp

I believe i'd have to change the location of the raid as well

Please advise
User avatar
schumaku
Guru
Posts: 43578
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
Contact:

Re: Invalid shared folders

Post by schumaku »

DOMZE wrote:I read that the disk in Bay 1 contains all the settings for the raid (like shares)
No, mistaken. Configuration, a part of the firmware, and swap space does span over all internal HDD, there is some QNAP application data (i.e. MySQL, Twonky, ...) held on the first storage volume - in your case this is the RAID5.

A _temporary_ fix would be to edit /etc/config/smb.conf and change the references from MD0_DATA to MD3_DATA ... however, I doubt this will be correct mid- and long-term. For a reliable fix, please contact QNAP customer service -> http://helpdesk.qnap.com/
DOMZE
New here
Posts: 2
Joined: Tue Oct 21, 2014 4:55 am

Re: Invalid shared folders

Post by DOMZE »

I did open a ticket and it's been over 48h. No reply yet.

How long does it take to get an answer?
Post Reply

Return to “System & Disk Volume Management”