Public vs Shared Folders

FTP Server, File Server, DDNS, SAMBA, AFP, NFS
Post Reply
JohnJoe123
Starting out
Posts: 12
Joined: Mon May 25, 2015 10:35 pm

Public vs Shared Folders

Post by JohnJoe123 »

I have a TS-653Pro that I working on setting up, and somewhere in the setup process I ended up with a "Shared" folder and a "Public" folder. QTS (v 4.1.3) appears to be forcing the two folders to be copies of each other, but I am not sure if one is a duplicate of the other or one is a pointer to the other. Control Panel/Shared Folders seems to show that I have the exact same # of files (130,146) and megabytes of data in Shared and Public. At this point, I am not sure if I copied files into the Public or Shared folder, and if it matters.
-- What it the application/purpose of the Public vs Shared folder? Why do I want two copies of this data? I assume it has something to do with sharing data with others. Is there a tutorial available that explains this a bit?
-- Where does the data reside? In both folders, just one of them, or is it based on where I initially copied the data? If I deleted one or the other, would I loose any data?
-- Does it matter which folder I copy the data into?

Thank You!
Last edited by JohnJoe123 on Tue May 26, 2015 2:39 am, edited 1 time in total.
User avatar
pwilson
Guru
Posts: 22533
Joined: Fri Mar 06, 2009 11:20 am
Location: Victoria, BC, Canada (UTC-08:00)

Re: Public vs Shared Folders

Post by pwilson »

JohnJoe123 wrote:I have a TS-653Pro that I working on setting up, and somewhere in the setup process I ended up with a "Shared" folder and a "Public" folder. QTS (v 4.1.3) appears to be forcing the two folders to be copies of each other, but I am not sure if one is a duplicate of the other or one is a pointer to the other. QTS File Explorer is showing I have 130,146 files in both files. At this point, I am not sure if I copied files into the Public or Shared folder, and if it matters.
-- What it the application/purpose of the Public vs Shared folder? Why do I want two copies of this data? I assume it has something to do with sharing data with others. Is there a tutorial available that explains this a bit?
-- Where does the data reside? In both folders, just one of them, or is it based on where I initially copied the data? If I deleted one or the other, would I loose any data?
-- Does it matter which folder I copy the data into?

Thank You!
How about showing up how your shares are actually setup. Please access your NAS via SSH, login as "admin" and run:

Code: Select all

#!/bin/sh
rm -f /tmp/nasreport
touch /tmp/nasreport
chmod +x /tmp/nasreport
cat <<EOF >>/tmp/nasreport
#!/bin/sh
#
# NAS Report by Patrick Wilson
# see: http://forum.qnap.com/viewtopic.php?f=185&t=82260#p366188
#
# 
echo "[code]*********************"
echo "** QNAP NAS Report **"
echo "*********************"
echo " "
echo "NAS Model:      \$(getsysinfo model)"
echo "Firmware:       \$(getcfg system version) Build \$(getcfg system 'Build Number')"
echo "System Name:    \$(/bin/hostname)"
echo "Workgroup:      \$(getcfg system workgroup)"
echo "Base Directory: \$(dirname \$(getcfg -f /etc/config/smb.conf Public path))"
echo "NAS IP address: \$(ifconfig \$(getcfg network 'Default GW Device') | grep addr: | awk '{ print \$2 }' | cut -d: -f2)"
echo " " 
echo "Default Gateway Device: \$(getcfg network 'Default GW Device')" 
echo " "
ifconfig \$(getcfg network 'Default GW Device') | grep -v HWaddr
echo " "
echo -n "DNS Nameserver(s):" 
cat /etc/resolv.conf | grep nameserver | cut -d' ' -f2
echo " "
echo " "
echo "HDD Information:"
echo " "
alpha='abcdefghijklmnopqrstuvwxyz'
drives=\$(getcfg Storage 'Disk Drive Number')
for ((i=1;i<=drives;++i)) ; do
	echo -n "HDD\$i -"
	if [ ! -b /dev/sd\${alpha:\$i-1:1} ] ; then
		echo "Drive absent"
	else
		hdparm -i /dev/sd\${alpha:\$i-1:1} | grep "Model"
		echo " "
		parted /dev/sd\${alpha:\$i-1:1} print
		echo " "
		/sbin/get_hd_smartinfo -d \$i
		echo " "
	fi
done
echo "Volume Status"
echo " "
mdadm -D /dev/md0 /dev/md1 2>/dev/null
echo " "
cat /proc/mdstat
echo " "
echo "Disk Space:"
echo " "
df -h | grep -v qpkg
echo " "
echo "Mount Status:" 
echo " "
mount | grep -v qpkg
echo " "
#echo "Contents of \$(dirname \$(getcfg -f /etc/config/smb.conf Public path)):"
#echo " "
#ls -lF \$(dirname \$(getcfg -f /etc/config/smb.conf Public path))/
echo " "
echo "Windows Shares:" 
echo " "
for i in \$(grep \] /etc/config/smb.conf | sed 's/\[//g' | sed 's/\]//g' | grep -v global) ;do 
	echo -n "\$i:"
	testparm -s -l --section-name=\$i --parameter-name=path 2>/dev/null 
done
echo " "
#echo "QNAP Media Scanner / Transcoder processes running: "
#echo " " 
#/bin/ps | grep medialibrary | grep -v grep
#echo " " 
#echo -n "MediaLibrary Configuration file: " 
#ls -alF /etc/config/medialibrary.conf
#echo " " 
#echo "/etc/config/medialibrary.conf:"
#cat /etc/config/medialibrary.conf
echo " "
echo "Memory Information:" 
echo " "
free | grep -v cache:
echo " "
echo "NASReport completed on \$(date +'%Y-%m-%d %T') (\$0) 
"
echo " "
EOF
sleep 2
clear
/tmp/nasreport
#done
[/code]

Please cut&paste the output of the resulting NASReport back to this message thread.

Patrick M. Wilson
Victoria, BC Canada
QNAP TS-470 Pro w/ 4 * Western Digital WD30EFRX WD Reds (RAID5) - - Single 8.1TB Storage Pool FW: QTS 4.2.0 Build 20151023 - Kali Linux v1.06 (64bit)
Forums: View My Profile - Search My Posts - View My Photo - View My Location - Top Community Posters
QNAP: Turbo NAS User Manual - QNAP Wiki - QNAP Tutorials - QNAP FAQs

Please review: When you're asking a question, please include the following.
JohnJoe123
Starting out
Posts: 12
Joined: Mon May 25, 2015 10:35 pm

Re: Public vs Shared Folders

Post by JohnJoe123 »

This was a learning curve. Is this what you were asking for?
login as: admin
admin@192.168.1.14's password:
[~] # #!/bin/sh
[~] # rm -f /tmp/nasreport
#!/bin/sh
#
# NAS Report by Patrick Wilson
# see: http://forum.qnap.com/viewtopic.php?f=1 ... 60#p366188
#
#
echo "

Code: Select all

*********************"
    echo "** QNAP NAS Report **"
    echo "*********************"
    echo " "
    echo "NAS Model:      \$(getsysinfo model)"
    echo "Firmware:       \$(getcfg system version) Build \$(getcfg system 'Build Number')"
    echo "System Name:    \$(/bin/hostname)"
    echo "Workgroup:      \$(getcfg system workgroup)"
    echo "Base Directory: \$(dirname \$(getcfg -f /etc/config/smb.conf Public path))"
    echo "NAS IP address: \$(ifconfig \$(getcfg network 'Default GW Device') | grep addr: | awk '{ print \$2 }' | cut -d: -f2)"
[~] #     touch /tmp/nasreport
    for ((i=1;i<=drives;++i)) ; do
       echo -n "HDD\$i -"
       if [ ! -b /dev/sd\${alpha:\$i-1:1} ] ; then
          echo "Drive absent"
       else
          hdparm -i /dev/sd\${alpha:\$i-1:1} | grep "Model"
          echo " "
          parted /dev/sd\${alpha:\$i-1:1} print
[~] #     chmod +x /tmp/nasreport
[~] #     cat <<EOF >>/tmp/nasreport
>     #!/bin/sh
>     #
>     # NAS Report by Patrick Wilson
>     # see: http://forum.qnap.com/viewtopic.php?f=185&t=82260#p366188
>     #
>     #
>     echo "[code]*********************"
>     echo "** QNAP NAS Report **"
>     echo "*********************"
>     echo " "
>     echo "NAS Model:      \$(getsysinfo model)"
>     echo "Firmware:       \$(getcfg system version) Build \$(getcfg system 'Build Number')"
>     echo "System Name:    \$(/bin/hostname)"
>     echo "Workgroup:      \$(getcfg system workgroup)"
>     echo "Base Directory: \$(dirname \$(getcfg -f /etc/config/smb.conf Public path))"
>     echo "NAS IP address: \$(ifconfig \$(getcfg network 'Default GW Device') | grep addr: | awk '{ print \$2 }' | cut -d: -f2)"
>     echo " "
>     echo "Default Gateway Device: \$(getcfg network 'Default GW Device')"
>     echo " "
>     ifconfig \$(getcfg network 'Default GW Device') | grep -v HWaddr
>     echo " "
>     echo -n "DNS Nameserver(s):"
>     cat /etc/resolv.conf | grep nameserver | cut -d' ' -f2
>     echo " "
>     echo " "
>     echo "HDD Information:"
>     echo " "
>     alpha='abcdefghijklmnopqrstuvwxyz'
>     drives=\$(getcfg Storage 'Disk Drive Number')
>     for ((i=1;i<=drives;++i)) ; do
>        echo -n "HDD\$i -"
>        if [ ! -b /dev/sd\${alpha:\$i-1:1} ] ; then
>           echo "Drive absent"
>        else
>           hdparm -i /dev/sd\${alpha:\$i-1:1} | grep "Model"
>           echo " "
>           parted /dev/sd\${alpha:\$i-1:1} print
>           echo " "
>           /sbin/get_hd_smartinfo -d \$i
>           echo " "
>        fi
>     done
>     echo "Volume Status"
>     echo " "
>     mdadm -D /dev/md0 /dev/md1 2>/dev/null
>     echo " "
>     cat /proc/mdstat
>     echo " "
>     echo "Disk Space:"
>     echo " "
>     df -h | grep -v qpkg
>     echo " "
>     echo "Mount Status:"
>     echo " "
>     mount | grep -v qpkg
>     echo " "
>     #echo "Contents of \$(dirname \$(getcfg -f /etc/config/smb.conf Public path)):"
>     #echo " "
>     #ls -lF \$(dirname \$(getcfg -f /etc/config/smb.conf Public path))/
>     echo " "
>     echo "Windows Shares:"
>     echo " "
>     for i in \$(grep \] /etc/config/smb.conf | sed 's/\[//g' | sed 's/\]//g' | grep -v global) ;do
>        echo -n "\$i:"
>        testparm -s -l --section-name=\$i --parameter-name=path 2>/dev/null
>     done
>     echo " "
>     #echo "QNAP Media Scanner / Transcoder processes running: "
>     #echo " "
>     #/bin/ps | grep medialibrary | grep -v grep
>     #echo " "
>     #echo -n "MediaLibrary Configuration file: "
>     #ls -alF /etc/config/medialibrary.conf
>     #echo " "
>     #echo "/etc/config/medialibrary.conf:"
>     #cat /etc/config/medialibrary.conf
>     echo " "
>     echo "Memory Information:"
>     echo " "
>     free | grep -v cache:
>     echo " "
>     echo "NASReport completed on \$(date +'%Y-%m-%d %T') (\$0) 
"
> echo " "
> EOF
> sleep 2
> clear
> /tmp/nasreport
> #done
JohnJoe123
Starting out
Posts: 12
Joined: Mon May 25, 2015 10:35 pm

Re: Public vs Shared Folders

Post by JohnJoe123 »

BTW, I used a program "Putty" to get this. Not knowing the right key sequences to make it work, I wonder if there is a program that makes SSH access a bit easier for those that do not do this often (ever).
User avatar
pwilson
Guru
Posts: 22533
Joined: Fri Mar 06, 2009 11:20 am
Location: Victoria, BC, Canada (UTC-08:00)

Re: Public vs Shared Folders

Post by pwilson »

JohnJoe123 wrote:BTW, I used a program "Putty" to get this. Not knowing the right key sequences to make it work, I wonder if there is a program that makes SSH access a bit easier for those that do not do this often (ever).
Try again. It doesn't look like you cut&paste my code to your NAS properly. Simply re-review my previous message. Click on the "SELECT ALL" button above my code segment, and then "cut&paste" it to your SSH session on your NAS.

Yes. PuTTY is the best choice for Windows users. (You didn't state your OS used to access the NAS, so I couldn't provide this advice sooner). Please review article: When you're asking a question, please include the following. especially Question #1 thereof.

If you need assistance with PuTTY, check out Suso Support document: SSH Tutorial for Windows

It should produce output similar to:

Code: Select all

*********************
** QNAP NAS Report **
*********************
 
NAS Model:      TS-470 Pro
Firmware:       4.1.3 Build 20150408
System Name:    NASTY2
Workgroup:      WORKGROUP
Base Directory: /share/CACHEDEV1_DATA
NAS IP address: 10.77.13.145
 
Default Gateway Device: eth0
 
          inet addr:10.77.13.145  Bcast:10.77.13.255  Mask:255.255.255.0
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:34238816 errors:0 dropped:0 overruns:0 frame:0
          TX packets:39906902 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:5958026318 (5682.0 Mb)  TX bytes:30483855958 (29071.6 Mb)

 
DNS Nameserver(s):10.77.13.1
 
 
HDD Information:
 
HDD1 - Model=WDC WD30EFRX-68EUZN0, FwRev=80.00A80, SerialNo=WD-WCC4N1323253
 
Model: WDC WD30EFRX-68EUZN0 (scsi)
Disk /dev/sda: 3001GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system     Name     Flags
 1      20.5kB  543MB   543MB   ext3            primary
 2      543MB   1086MB  543MB                   primary
 3      1086MB  2991GB  2990GB                  primary
 4      2991GB  2992GB  543MB   ext3            primary
 5      2992GB  3001GB  8554MB  linux-swap(v1)  primary

 
001 Raw_Read_Error_Rate          6        200 200 051 OK
003 Spin_Up_Time                 5933     181 178 021 OK
004 Start_Stop_Count             46       100 100 000 OK
005 Reallocated_Sector_Ct        0        200 200 140 OK
007 Seek_Error_Rate              0        200 200 000 OK
009 Power_On_Hours               7713     090 090 000 OK
010 Spin_Retry_Count             0        100 253 000 OK
011 Calibration_Retry_Count      0        100 253 000 OK
012 Power_Cycle_Count            46       100 100 000 OK
192 Power-Off_Retract_Count      26       200 200 000 OK
193 Load_Cycle_Count             183      200 200 000 OK
194 Temperature_Celsius          31       119 099 000 OK
196 Reallocated_Event_Count      0        200 200 000 OK
197 Current_Pending_Sector       0        200 200 000 OK
198 Offline_Uncorrectable        0        100 253 000 OK
199 UDMA_CRC_Error_Count         0        200 200 000 OK
200 Multi_Zone_Error_Rate        0        100 253 000 OK
 
HDD2 - Model=WDC WD30EFRX-68EUZN0, FwRev=80.00A80, SerialNo=WD-WCC4N1348887
 
Model: WDC WD30EFRX-68EUZN0 (scsi)
Disk /dev/sdb: 3001GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system     Name     Flags
 1      20.5kB  543MB   543MB   ext3            primary
 2      543MB   1086MB  543MB                   primary
 3      1086MB  2991GB  2990GB                  primary
 4      2991GB  2992GB  543MB   ext3            primary
 5      2992GB  3001GB  8554MB  linux-swap(v1)  primary

 
001 Raw_Read_Error_Rate          0        200 200 051 OK
003 Spin_Up_Time                 5941     181 177 021 OK
004 Start_Stop_Count             46       100 100 000 OK
005 Reallocated_Sector_Ct        0        200 200 140 OK
007 Seek_Error_Rate              0        200 200 000 OK
009 Power_On_Hours               7713     090 090 000 OK
010 Spin_Retry_Count             0        100 253 000 OK
011 Calibration_Retry_Count      0        100 253 000 OK
012 Power_Cycle_Count            46       100 100 000 OK
192 Power-Off_Retract_Count      26       200 200 000 OK
193 Load_Cycle_Count             180      200 200 000 OK
194 Temperature_Celsius          30       120 101 000 OK
196 Reallocated_Event_Count      0        200 200 000 OK
197 Current_Pending_Sector       0        200 200 000 OK
198 Offline_Uncorrectable        0        100 253 000 OK
199 UDMA_CRC_Error_Count         0        200 200 000 OK
200 Multi_Zone_Error_Rate        0        100 253 000 OK
 
HDD3 - Model=WDC WD30EFRX-68EUZN0, FwRev=80.00A80, SerialNo=WD-WCC4N1325878
 
Model: WDC WD30EFRX-68EUZN0 (scsi)
Disk /dev/sdc: 3001GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system     Name     Flags
 1      20.5kB  543MB   543MB   ext3            primary
 2      543MB   1086MB  543MB   linux-swap(v1)  primary
 3      1086MB  2991GB  2990GB                  primary
 4      2991GB  2992GB  543MB   ext3            primary
 5      2992GB  3001GB  8554MB  linux-swap(v1)  primary

 
001 Raw_Read_Error_Rate          0        200 200 051 OK
003 Spin_Up_Time                 5808     183 179 021 OK
004 Start_Stop_Count             46       100 100 000 OK
005 Reallocated_Sector_Ct        0        200 200 140 OK
007 Seek_Error_Rate              0        200 200 000 OK
009 Power_On_Hours               7713     090 090 000 OK
010 Spin_Retry_Count             0        100 253 000 OK
011 Calibration_Retry_Count      0        100 253 000 OK
012 Power_Cycle_Count            46       100 100 000 OK
192 Power-Off_Retract_Count      26       200 200 000 OK
193 Load_Cycle_Count             182      200 200 000 OK
194 Temperature_Celsius          31       119 101 000 OK
196 Reallocated_Event_Count      0        200 200 000 OK
197 Current_Pending_Sector       0        200 200 000 OK
198 Offline_Uncorrectable        0        100 253 000 OK
199 UDMA_CRC_Error_Count         0        200 200 000 OK
200 Multi_Zone_Error_Rate        0        100 253 000 OK
 
HDD4 - Model=WDC WD30EFRX-68EUZN0, FwRev=80.00A80, SerialNo=WD-WCC4N1323034
 
Model: WDC WD30EFRX-68EUZN0 (scsi)
Disk /dev/sdd: 3001GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system     Name     Flags
 1      20.5kB  543MB   543MB   ext3            primary
 2      543MB   1086MB  543MB   linux-swap(v1)  primary
 3      1086MB  2991GB  2990GB                  primary
 4      2991GB  2992GB  543MB   ext3            primary
 5      2992GB  3001GB  8554MB  linux-swap(v1)  primary

 
001 Raw_Read_Error_Rate          0        200 200 051 OK
003 Spin_Up_Time                 6091     178 173 021 OK
004 Start_Stop_Count             46       100 100 000 OK
005 Reallocated_Sector_Ct        0        200 200 140 OK
007 Seek_Error_Rate              0        200 200 000 OK
009 Power_On_Hours               7713     090 090 000 OK
010 Spin_Retry_Count             0        100 253 000 OK
011 Calibration_Retry_Count      0        100 253 000 OK
012 Power_Cycle_Count            46       100 100 000 OK
192 Power-Off_Retract_Count      26       200 200 000 OK
193 Load_Cycle_Count             180      200 200 000 OK
194 Temperature_Celsius          30       120 104 000 OK
196 Reallocated_Event_Count      0        200 200 000 OK
197 Current_Pending_Sector       0        200 200 000 OK
198 Offline_Uncorrectable        0        100 253 000 OK
199 UDMA_CRC_Error_Count         0        200 200 000 OK
200 Multi_Zone_Error_Rate        0        100 253 000 OK
 
Volume Status
 
/dev/md1:
        Version : 1.0
  Creation Time : Fri Jun 20 05:27:14 2014
     Raid Level : raid5
     Array Size : 8760934848 (8355.08 GiB 8971.20 GB)
  Used Dev Size : 2920311616 (2785.03 GiB 2990.40 GB)
   Raid Devices : 4
  Total Devices : 4
    Persistence : Superblock is persistent

  Intent Bitmap : Internal

    Update Time : Mon May 25 12:13:38 2015
          State : active 
 Active Devices : 4
Working Devices : 4
 Failed Devices : 0
  Spare Devices : 0

         Layout : left-symmetric
     Chunk Size : 64K

           Name : 1
           UUID : 5456a5f1:f3c2e059:f20f0fe5:4be19ed5
         Events : 28

    Number   Major   Minor   RaidDevice State
       0       8       51        0      active sync   /dev/sdd3
       1       8       35        1      active sync   /dev/sdc3
       2       8       19        2      active sync   /dev/sdb3
       3       8        3        3      active sync   /dev/sda3
 
Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] [multipath] 
md1 : active raid5 sdd3[0] sda3[3] sdb3[2] sdc3[1]
		 8760934848 blocks super 1.0 level 5, 64k chunk, algorithm 2 [4/4] [UUUU]
		 bitmap: 3/22 pages [12KB], 65536KB chunk

md258 : active raid1 sdh2[2](S) sdg2[1] sdj2[0]
		 530112 blocks super 1.0 [2/2] [UU]
		 bitmap: 0/1 pages [0KB], 65536KB chunk

md256 : active raid1 sda2[3](S) sdb2[2](S) sdc2[1] sdd2[0]
		 530112 blocks super 1.0 [2/2] [UU]
		 bitmap: 0/1 pages [0KB], 65536KB chunk

md13 : active raid1 sdd4[0] sda4[3] sdb4[2] sdc4[1]
		 458880 blocks super 1.0 [24/4] [UUUU____________________]
		 bitmap: 1/1 pages [4KB], 65536KB chunk

md9 : active raid1 sdd1[0] sda1[3] sdb1[2] sdc1[1]
		 530048 blocks super 1.0 [24/4] [UUUU____________________]
		 bitmap: 1/1 pages [4KB], 65536KB chunk

unused devices: <none>
 
Disk Space:
 
Filesystem            Size  Used Avail Use% Mounted on
rootfs                200M  152M   49M  76% /
none                  200M  152M   49M  76% /
devtmpfs              3.9G  8.0K  3.9G   1% /dev
tmpfs                  64M  4.0M   61M   7% /tmp
tmpfs                 3.9G   32K  3.9G   1% /dev/shm
/dev/md9              510M  136M  375M  27% /mnt/HDA_ROOT
/dev/mapper/cachedev1
                      8.1T  7.4T  700G  92% /share/CACHEDEV1_DATA
/dev/md13             371M  288M   84M  78% /mnt/ext
tmpfs                 8.0M     0  8.0M   0% /var/syslog_maildir
/dev/mapper/cachedev1
/dev/mapper/cachedev1
/dev/sdk1             466G  242G  225G  52% /share/external/DEV3601_1
 
Mount Status:
 
none on /new_root type tmpfs (rw,mode=0755,size=200M)
/proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /tmp type tmpfs (rw,size=64M,size=64M)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/bus/usb type usbfs (rw)
/dev/md9 on /mnt/HDA_ROOT type ext3 (rw,data=ordered)
/dev/mapper/cachedev1 on /share/CACHEDEV1_DATA type ext4 (rw,usrjquota=aquota.user,jqfmt=vfsv0,user_xattr,data=ordered,delalloc,acl)
/dev/md13 on /mnt/ext type ext3 (rw,data=ordered)
none on /sys/kernel/config type configfs (rw)
tmpfs on /var/syslog_maildir type tmpfs (rw,size=8M)
nfsd on /proc/fs/nfsd type nfsd (rw)
/dev/sdk1 on /share/external/DEV3601_1 type ufsd (rw,iocharset=utf8,dmask=0000,fmask=0111,force)
 
 
Windows Shares:
 
Multimedia:/share/CACHEDEV1_DATA/Multimedia
Download:/share/CACHEDEV1_DATA/Download
Recordings:/share/CACHEDEV1_DATA/Recordings
Web:/share/CACHEDEV1_DATA/Web
Public:/share/CACHEDEV1_DATA/Public
RAID5:/share/CACHEDEV1_DATA/RAID5
homes:/share/CACHEDEV1_DATA/homes
printers:/var/spool/smb
POW:/share/CACHEDEV1_DATA/POW
TVShows:/share/CACHEDEV1_DATA/Multimedia/Video/TVShows
Movies:/share/CACHEDEV1_DATA/Multimedia/Video/Movies
Logs:/var/logs
imaging:/share/CACHEDEV1_DATA/pulse2/imaging
postinst:/share/CACHEDEV1_DATA/pulse2/imaging/postinst
computers:/share/CACHEDEV1_DATA/pulse2/imaging/computers
masters:/share/CACHEDEV1_DATA/pulse2/imaging/masters
isos:/share/CACHEDEV1_DATA/pulse2/imaging/isos
packages:/share/CACHEDEV1_DATA/pulse2/packages
pulse:/share/CACHEDEV1_DATA/pulse2
BackupPC:/share/CACHEDEV1_DATA/BackupPC
My_VM:/share/CACHEDEV1_DATA/My_VM
Config:/etc/config
TS209:/share/CACHEDEV1_DATA/TS209
James:Bond:home:%H
NextAV:/share/external/DEV3601_1
 
 
Memory Information:
 
             total       used       free     shared    buffers     cached
Mem:       8069752    8014740      55012          0    5639196     937108
Swap:      1060216      23220    1036996
 
NASReport completed on 2015-05-25 12:13:40 (/tmp/nasreport) 

Patrick M. Wilson
Victoria, BC Canada
QNAP TS-470 Pro w/ 4 * Western Digital WD30EFRX WD Reds (RAID5) - - Single 8.1TB Storage Pool FW: QTS 4.2.0 Build 20151023 - Kali Linux v1.06 (64bit)
Forums: View My Profile - Search My Posts - View My Photo - View My Location - Top Community Posters
QNAP: Turbo NAS User Manual - QNAP Wiki - QNAP Tutorials - QNAP FAQs

Please review: When you're asking a question, please include the following.
JohnJoe123
Starting out
Posts: 12
Joined: Mon May 25, 2015 10:35 pm

Re: Public vs Shared Folders

Post by JohnJoe123 »

Ok, got the report working. Here is the data. Not sure it has any effect, but I am using Win 7, and accessing the TS663 via Firefox.

*********************
** QNAP NAS Report **
*********************

NAS Model: TS-653 Pro
Firmware: 4.1.3 Build 20150408
System Name: 3DogNet
Workgroup: NAS
Base Directory: /share/CACHEDEV1_DATA
NAS IP address: 192.168.1.14

Default Gateway Device: eth0

inet addr:192.168.1.14 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:787690 errors:0 dropped:0 overruns:0 frame:0
TX packets:820084 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:130950293 (124.8 MiB) TX bytes:470572208 (448.7 MiB)


DNS Nameserver(s):192.168.1.1


HDD Information:

HDD1 - Model=HGST HDN724040ALE640 , FwRev=MJAOA5E0, SerialNo= PK2338P4H2ZHNC

Model: HGST HDN724040ALE640 (scsi)
Disk /dev/sda: 4001GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number Start End Size File system Name Flags
1 20.5kB 543MB 543MB ext3 primary
2 543MB 1086MB 543MB primary
3 1086MB 3992GB 3991GB primary
4 3992GB 3992GB 543MB ext3 primary
5 3992GB 4001GB 8554MB linux-swap(v1) primary



HDD2 - Model=HGST HDN724040ALE640 , FwRev=MJAOA5E0, SerialNo= PK2338P4H2ZEKC

Model: HGST HDN724040ALE640 (scsi)
Disk /dev/sdb: 4001GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number Start End Size File system Name Flags
1 20.5kB 543MB 543MB ext3 primary
2 543MB 1086MB 543MB linux-swap(v1) primary
3 1086MB 3992GB 3991GB primary
4 3992GB 3992GB 543MB ext3 primary
5 3992GB 4001GB 8554MB linux-swap(v1) primary



HDD3 - Model=HGST HDN724040ALE640 , FwRev=MJAOA5E0, SerialNo= PK2338P4H1Y2MC

Model: HGST HDN724040ALE640 (scsi)
Disk /dev/sdc: 4001GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number Start End Size File system Name Flags
1 20.5kB 543MB 543MB ext3 primary
2 543MB 1086MB 543MB linux-swap(v1) primary
3 1086MB 3992GB 3991GB primary
4 3992GB 3992GB 543MB ext3 primary
5 3992GB 4001GB 8554MB linux-swap(v1) primary



HDD4 - Model=HGST HDN724040ALE640 , FwRev=MJAOA5E0, SerialNo= PK2338P4H2Z9LC

Model: HGST HDN724040ALE640 (scsi)
Disk /dev/sdd: 4001GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number Start End Size File system Name Flags
1 20.5kB 543MB 543MB ext3 primary
2 543MB 1086MB 543MB primary
3 1086MB 3992GB 3991GB primary
4 3992GB 3992GB 543MB ext3 primary
5 3992GB 4001GB 8554MB linux-swap(v1) primary



HDD5 - Model=DATAA, FwRev=, SerialNo=217043385110002397

Model: ADATA IUM01-512MFHS (scsi)
Disk /dev/sde: 516MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 4096B 5374kB 5370kB primary ext2
2 5374kB 252MB 247MB primary ext2 boot
3 252MB 498MB 247MB primary ext2
4 498MB 516MB 17.4MB extended
5 498MB 507MB 8503kB logical ext2
6 507MB 516MB 8897kB logical ext2


Open device fail

HDD6 -Drive absent
HDD7 -Drive absent
HDD8 -Drive absent
HDD9 -Drive absent
HDD10 -Drive absent
HDD11 -Drive absent
HDD12 -Drive absent
Volume Status

/dev/md1:
Version : 1.0
Creation Time : Mon Apr 20 11:42:01 2015
Raid Level : raid10
Array Size : 7794127232 (7433.06 GiB 7981.19 GB)
Used Dev Size : 3897063616 (3716.53 GiB 3990.59 GB)
Raid Devices : 4
Total Devices : 4
Persistence : Superblock is persistent

Update Time : Mon May 25 12:49:35 2015
State : clean
Active Devices : 4
Working Devices : 4
Failed Devices : 0
Spare Devices : 0

Layout : near=2
Chunk Size : 64K

Name : 1
UUID : b95c98a3:300d3ce8:bc60cb26:9a8ba244
Events : 6

Number Major Minor RaidDevice State
0 8 35 0 active sync set-A /dev/sdc3
1 8 19 1 active sync set-B /dev/sdb3
2 8 3 2 active sync set-A /dev/sda3
3 8 51 3 active sync set-B /dev/sdd3

Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] [multi path]
md1 : active raid10 sdc3[0] sdd3[3] sda3[2] sdb3[1]
7794127232 blocks super 1.0 64K chunks 2 near-copies [4/4] [UUUU]

md256 : active raid1 sdd2[3](S) sda2[2](S) sdb2[1] sdc2[0]
530112 blocks super 1.0 [2/2] [UU]
bitmap: 0/1 pages [0KB], 65536KB chunk

md13 : active raid1 sdc4[0] sdd4[26] sda4[25] sdb4[24]
458880 blocks super 1.0 [24/4] [UUUU____________________]
bitmap: 1/1 pages [4KB], 65536KB chunk

md9 : active raid1 sdc1[0] sdd1[26] sda1[25] sdb1[24]
530048 blocks super 1.0 [24/4] [UUUU____________________]
bitmap: 1/1 pages [4KB], 65536KB chunk

unused devices: <none>

Disk Space:

Filesystem Size Used Available Use% Mounted on
none 200.0M 144.0M 56.0M 72% /
devtmpfs 945.7M 4.0k 945.7M 0% /dev
tmpfs 64.0M 2.3M 61.7M 4% /tmp
tmpfs 950.5M 28.0k 950.5M 0% /dev/shm
/dev/md9 509.5M 124.6M 384.9M 24% /mnt/HDA_ROOT
/dev/mapper/cachedev1 5.0T 401.1G 4.6T 8% /share/CACHEDEV1_DATA
/dev/md13 364.2M 284.9M 79.3M 78% /mnt/ext
/dev/mapper/ce_cachedev2 3.0T 653.8G 2.3T 21% /share/CE_CACHEDEV2_D ATA

Mount Status:

none on /new_root type tmpfs (rw,mode=0755,size=200M)
/proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /tmp type tmpfs (rw,size=64M)
tmpfs on /dev/shm type tmpfs (rw)
/dev/md9 on /mnt/HDA_ROOT type ext3 (rw,data=ordered)
/dev/mapper/cachedev1 on /share/CACHEDEV1_DATA type ext4 (rw,usrjquota=aquota.us er,jqfmt=vfsv0,user_xattr,data=ordered,delalloc,acl)
/dev/md13 on /mnt/ext type ext3 (rw,data=ordered)
nfsd on /proc/fs/nfsd type nfsd (rw)
/dev/mapper/ce_cachedev2 on /share/CE_CACHEDEV2_DATA type ext4 (rw,usrjquota=aqu ota.user,jqfmt=vfsv0,user_xattr,data=ordered,delalloc,acl)


Windows Shares:

printers:/var/spool/smb
Web:/share/CACHEDEV1_DATA/Web
Public:/share/CACHEDEV1_DATA/Public
homes:/share/CACHEDEV1_DATA/homes
TMBackup:/share/CACHEDEV1_DATA/.timemachine
3DogNet-E:/share/CE_CACHEDEV2_DATA/3DogNet-E
Shared:/share/CACHEDEV1_DATA/Public
Multimedia:/share/CACHEDEV1_DATA/Multimedia
Download:/share/CACHEDEV1_DATA/Download
Recordings:/share/CACHEDEV1_DATA/Recordings
home:%H
Qsync:/share/Qsync


Memory Information:

total used free shared buffers
Mem: 1946656 1865440 81216 0 195868
Swap: 530108 56116 473992
Total: 2476764 1921556 555208

NASReport completed on 2015-05-25 13:46:29 (/tmp/nasreport) [/code]
User avatar
pwilson
Guru
Posts: 22533
Joined: Fri Mar 06, 2009 11:20 am
Location: Victoria, BC, Canada (UTC-08:00)

Re: Public vs Shared Folders

Post by pwilson »

JohnJoe123 wrote:Ok, got the report working. Here is the data. Not sure it has any effect, but I am using Win 7, and accessing the TS663 via Firefox.

Code: Select all

*********************
** QNAP NAS Report **
*********************

NAS Model:      TS-653 Pro
Firmware:       4.1.3 Build 20150408
System Name:    3DogNet
Workgroup:      NAS
Base Directory: /share/CACHEDEV1_DATA
NAS IP address: 192.168.1.14

Default Gateway Device: eth0

          inet addr:192.168.1.14  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:787690 errors:0 dropped:0 overruns:0 frame:0
          TX packets:820084 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:130950293 (124.8 MiB)  TX bytes:470572208 (448.7 MiB)


DNS Nameserver(s):192.168.1.1


HDD Information:

HDD1 - Model=HGST HDN724040ALE640                    , FwRev=MJAOA5E0, SerialNo=                                                                                   PK2338P4H2ZHNC

Model: HGST HDN724040ALE640 (scsi)
Disk /dev/sda: 4001GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system     Name     Flags
 1      20.5kB  543MB   543MB   ext3            primary
 2      543MB   1086MB  543MB                   primary
 3      1086MB  3992GB  3991GB                  primary
 4      3992GB  3992GB  543MB   ext3            primary
 5      3992GB  4001GB  8554MB  linux-swap(v1)  primary



HDD2 - Model=HGST HDN724040ALE640                    , FwRev=MJAOA5E0, SerialNo=                                                                                   PK2338P4H2ZEKC

Model: HGST HDN724040ALE640 (scsi)
Disk /dev/sdb: 4001GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system     Name     Flags
 1      20.5kB  543MB   543MB   ext3            primary
 2      543MB   1086MB  543MB   linux-swap(v1)  primary
 3      1086MB  3992GB  3991GB                  primary
 4      3992GB  3992GB  543MB   ext3            primary
 5      3992GB  4001GB  8554MB  linux-swap(v1)  primary



HDD3 - Model=HGST HDN724040ALE640                    , FwRev=MJAOA5E0, SerialNo=                                                                                   PK2338P4H1Y2MC

Model: HGST HDN724040ALE640 (scsi)
Disk /dev/sdc: 4001GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system     Name     Flags
 1      20.5kB  543MB   543MB   ext3            primary
 2      543MB   1086MB  543MB   linux-swap(v1)  primary
 3      1086MB  3992GB  3991GB                  primary
 4      3992GB  3992GB  543MB   ext3            primary
 5      3992GB  4001GB  8554MB  linux-swap(v1)  primary



HDD4 - Model=HGST HDN724040ALE640                    , FwRev=MJAOA5E0, SerialNo=                                                                                   PK2338P4H2Z9LC

Model: HGST HDN724040ALE640 (scsi)
Disk /dev/sdd: 4001GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system     Name     Flags
 1      20.5kB  543MB   543MB   ext3            primary
 2      543MB   1086MB  543MB                   primary
 3      1086MB  3992GB  3991GB                  primary
 4      3992GB  3992GB  543MB   ext3            primary
 5      3992GB  4001GB  8554MB  linux-swap(v1)  primary



HDD5 - Model=DATAA, FwRev=, SerialNo=217043385110002397

Model: ADATA IUM01-512MFHS (scsi)
Disk /dev/sde: 516MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type      File system  Flags
 1      4096B   5374kB  5370kB  primary   ext2
 2      5374kB  252MB   247MB   primary   ext2         boot
 3      252MB   498MB   247MB   primary   ext2
 4      498MB   516MB   17.4MB  extended
 5      498MB   507MB   8503kB  logical   ext2
 6      507MB   516MB   8897kB  logical   ext2


Open device fail

HDD6 -Drive absent
HDD7 -Drive absent
HDD8 -Drive absent
HDD9 -Drive absent
HDD10 -Drive absent
HDD11 -Drive absent
HDD12 -Drive absent
Volume Status

/dev/md1:
        Version : 1.0
  Creation Time : Mon Apr 20 11:42:01 2015
     Raid Level : raid10
     Array Size : 7794127232 (7433.06 GiB 7981.19 GB)
  Used Dev Size : 3897063616 (3716.53 GiB 3990.59 GB)
   Raid Devices : 4
  Total Devices : 4
    Persistence : Superblock is persistent

    Update Time : Mon May 25 12:49:35 2015
          State : clean
 Active Devices : 4
Working Devices : 4
 Failed Devices : 0
  Spare Devices : 0

         Layout : near=2
     Chunk Size : 64K

           Name : 1
           UUID : b95c98a3:300d3ce8:bc60cb26:9a8ba244
         Events : 6

    Number   Major   Minor   RaidDevice State
       0       8       35        0      active sync set-A   /dev/sdc3
       1       8       19        1      active sync set-B   /dev/sdb3
       2       8        3        2      active sync set-A   /dev/sda3
       3       8       51        3      active sync set-B   /dev/sdd3

Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] [multi                                                                             path]
md1 : active raid10 sdc3[0] sdd3[3] sda3[2] sdb3[1]
      7794127232 blocks super 1.0 64K chunks 2 near-copies [4/4] [UUUU]

md256 : active raid1 sdd2[3](S) sda2[2](S) sdb2[1] sdc2[0]
      530112 blocks super 1.0 [2/2] [UU]
      bitmap: 0/1 pages [0KB], 65536KB chunk

md13 : active raid1 sdc4[0] sdd4[26] sda4[25] sdb4[24]
      458880 blocks super 1.0 [24/4] [UUUU____________________]
      bitmap: 1/1 pages [4KB], 65536KB chunk

md9 : active raid1 sdc1[0] sdd1[26] sda1[25] sdb1[24]
      530048 blocks super 1.0 [24/4] [UUUU____________________]
      bitmap: 1/1 pages [4KB], 65536KB chunk

unused devices: <none>

Disk Space:

Filesystem                Size      Used Available Use% Mounted on
none                    200.0M    144.0M     56.0M  72% /
devtmpfs                945.7M      4.0k    945.7M   0% /dev
tmpfs                    64.0M      2.3M     61.7M   4% /tmp
tmpfs                   950.5M     28.0k    950.5M   0% /dev/shm
/dev/md9                509.5M    124.6M    384.9M  24% /mnt/HDA_ROOT
/dev/mapper/cachedev1     5.0T    401.1G      4.6T   8% /share/CACHEDEV1_DATA
/dev/md13               364.2M    284.9M     79.3M  78% /mnt/ext
/dev/mapper/ce_cachedev2     3.0T    653.8G      2.3T  21% /share/CE_CACHEDEV2_D                                                                             ATA

Mount Status:

none on /new_root type tmpfs (rw,mode=0755,size=200M)
/proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /tmp type tmpfs (rw,size=64M)
tmpfs on /dev/shm type tmpfs (rw)
/dev/md9 on /mnt/HDA_ROOT type ext3 (rw,data=ordered)
/dev/mapper/cachedev1 on /share/CACHEDEV1_DATA type ext4 (rw,usrjquota=aquota.us                                                                             er,jqfmt=vfsv0,user_xattr,data=ordered,delalloc,acl)
/dev/md13 on /mnt/ext type ext3 (rw,data=ordered)
nfsd on /proc/fs/nfsd type nfsd (rw)
/dev/mapper/ce_cachedev2 on /share/CE_CACHEDEV2_DATA type ext4 (rw,usrjquota=aqu                                                                             ota.user,jqfmt=vfsv0,user_xattr,data=ordered,delalloc,acl)


Windows Shares:

printers:/var/spool/smb
Web:/share/CACHEDEV1_DATA/Web
Public:/share/CACHEDEV1_DATA/Public
homes:/share/CACHEDEV1_DATA/homes
TMBackup:/share/CACHEDEV1_DATA/.timemachine
3DogNet-E:/share/CE_CACHEDEV2_DATA/3DogNet-E
Shared:/share/CACHEDEV1_DATA/Public
Multimedia:/share/CACHEDEV1_DATA/Multimedia
Download:/share/CACHEDEV1_DATA/Download
Recordings:/share/CACHEDEV1_DATA/Recordings
home:%H
Qsync:/share/Qsync


Memory Information:

              total         used         free       shared      buffers
  Mem:      1946656      1865440        81216            0       195868
 Swap:       530108        56116       473992
Total:      2476764      1921556       555208

NASReport completed on 2015-05-25 13:46:29 (/tmp/nasreport) 
I see no share called "Shared" here. Keep using the default "Public" share.
  • Why are you using a Web Brower for this task?
  • Why not simply open "\\3DogNet\Public" or "\\192.168.1.14\Public" in Windows Explorer instead?

Patrick M. Wilson
Victoria, BC Canada
QNAP TS-470 Pro w/ 4 * Western Digital WD30EFRX WD Reds (RAID5) - - Single 8.1TB Storage Pool FW: QTS 4.2.0 Build 20151023 - Kali Linux v1.06 (64bit)
Forums: View My Profile - Search My Posts - View My Photo - View My Location - Top Community Posters
QNAP: Turbo NAS User Manual - QNAP Wiki - QNAP Tutorials - QNAP FAQs

Please review: When you're asking a question, please include the following.
JohnJoe123
Starting out
Posts: 12
Joined: Mon May 25, 2015 10:35 pm

Re: Public vs Shared Folders

Post by JohnJoe123 »

I am really confused. I see the same duplicate shared and public folders (with duplicate contents) when browsing in either Windows Explorer or Firefox/QTS File Station.

On using Windows Explorer vs a web browser, I am referring to accessing the Qnap via the user friendly interface. Mostly right now I am loading large blocks of files from old backup systems connected to the front USB port, and I think QTS File Station is better for that.
User avatar
pwilson
Guru
Posts: 22533
Joined: Fri Mar 06, 2009 11:20 am
Location: Victoria, BC, Canada (UTC-08:00)

Re: Public vs Shared Folders

Post by pwilson »

JohnJoe123 wrote:I am really confused. I see the same duplicate shared and public folders (with duplicate contents) when browsing in either Windows Explorer or Firefox/QTS File Station.
I'm not a Windows user, (anymore) so this is quite possible. Hopefully another Windows user will respond to this part.
JohnJoe123 wrote:On using Windows Explorer vs a web browser, I am referring to accessing the Qnap via the user friendly interface. Mostly right now I am loading large blocks of files from old backup systems connected to the front USB port, and I think QTS File Station is better for that.
Good call. Yes, for this File Station or the command line is the way to do it. (I personally prefer to use the command line via SSH, but I'm a Linux geek, so this is normal for me).

Patrick M. Wilson
Victoria, BC Canada
QNAP TS-470 Pro w/ 4 * Western Digital WD30EFRX WD Reds (RAID5) - - Single 8.1TB Storage Pool FW: QTS 4.2.0 Build 20151023 - Kali Linux v1.06 (64bit)
Forums: View My Profile - Search My Posts - View My Photo - View My Location - Top Community Posters
QNAP: Turbo NAS User Manual - QNAP Wiki - QNAP Tutorials - QNAP FAQs

Please review: When you're asking a question, please include the following.
JohnJoe123
Starting out
Posts: 12
Joined: Mon May 25, 2015 10:35 pm

Re: Public vs Shared Folders

Post by JohnJoe123 »

Thank you for your assistance. I see you have been a good supporter of this site and you deserve recognition for it. Thank you again. It was neat to see a bit of the command line interface and using SSH/Putty. I have a good enough taste for the matter to research how to use that interface better.
-- I will follow up with a session with QNAP tech support on why I am seeing 2 copies of the files. I have several other matters to ask them about; this adds to my motivation to reach them. If they give a good answer I will post it here.
Post Reply

Return to “File Sharing”