Firmware 4.1.4 -> All shared folders gone
-
- Starting out
- Posts: 22
- Joined: Fri Mar 18, 2011 10:09 pm
Firmware 4.1.4 -> All shared folders gone
Hi All,
after the recent update to 4.1.4 all my "Freigabeordner" aka network shares are gone... nothing is displaced in the Web UI anymore.
If I log in with ssh all data is there incl. all folders but I can't access it via AFP, SMB or web. All drives are working fine.
The same is true for my TimeMachine Backups. The data is still there but I can't see it in the Web UI.
Any idea how to fix that?
TS-659 Pro
after the recent update to 4.1.4 all my "Freigabeordner" aka network shares are gone... nothing is displaced in the Web UI anymore.
If I log in with ssh all data is there incl. all folders but I can't access it via AFP, SMB or web. All drives are working fine.
The same is true for my TimeMachine Backups. The data is still there but I can't see it in the Web UI.
Any idea how to fix that?
TS-659 Pro
- pwilson
- Guru
- Posts: 22533
- Joined: Fri Mar 06, 2009 11:20 am
- Location: Victoria, BC, Canada (UTC-08:00)
Re: Firmware 4.1.4 -> All shared folders gone
Please access your NAS via SSH (Use PuTTY), login as "admin", and run:ITH001 wrote:Hi All,
after the recent update to 4.1.4 all my "Freigabeordner" aka network shares are gone... nothing is displaced in the Web UI anymore.
If I log in with ssh all data is there incl. all folders but I can't access it via AFP, SMB or web. All drives are working fine.
The same is true for my TimeMachine Backups. The data is still there but I can't see it in the Web UI.
Any idea how to fix that?
TS-659 Pro
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.
Is your NAS operational at 0304hrs on Wednesdays? IF it is, then we can probably restore your configuration from your Configuration Backups. If your NAS is not operational at this hour, then you will need to restore the Configuration Backups that you have been regularly backing up manually.
Please provide output for:
Code: Select all
ls -alF $(dirname $(getcfg -f /etc/config/smb.conf Public path))/.@backup_config
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.
-
- Starting out
- Posts: 22
- Joined: Fri Mar 18, 2011 10:09 pm
Re: Firmware 4.1.4 -> All shared folders gone
Here we go... and thank you!
Code: Select all
dir
Code: Select all
*********************
** QNAP NAS Report **
*********************
NASReport completed on 2015-06-25 21:55:22 (/tmp/nasreport)
Last edited by ITH001 on Wed Jul 01, 2015 12:55 pm, edited 1 time in total.
- pwilson
- Guru
- Posts: 22533
- Joined: Fri Mar 06, 2009 11:20 am
- Location: Victoria, BC, Canada (UTC-08:00)
Re: Firmware 4.1.4 -> All shared folders gone
ITH001 wrote:Here we go... and thank you!TS-659 / NASE wrote:Code: Select all
********************* ** QNAP NAS Report ** ********************* NAS Model: TS-659 Firmware: 4.1.4 Build 20150522 System Name: NASE Workgroup: WORKGROUP Base Directory: /share/MD0_DATA NAS IP address: 10.112.10.10 Default Gateway Device: bond0 inet addr:10.112.10.10 Bcast:10.112.10.255 Mask:255.255.255.0 inet6 addr: fe80::208:9bff:febf:81f0/64 Scope:Link UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1 RX packets:49168151 errors:0 dropped:107226 overruns:0 frame:0 TX packets:58956228 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:57181132695 (53.2 GiB) TX bytes:58009930662 (54.0 GiB) DNS Nameserver(s):10.112.10.254 10.112.10.1 HDD Information: HDD1 - Model=ST4000VM000-1F3168 , FwRev=SC25 , SerialNo= S301C76X Model: Seagate ST4000VM000-1F31 (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 linux-swap(v1) primary 3 1086MB 4000GB 3999GB primary 4 4000GB 4001GB 510MB ext3 primary 001 Raw_Read_Error_Rate 175246992 118 099 006 OK 003 Spin_Up_Time 0 097 097 000 OK 004 Start_Stop_Count 3 100 100 020 OK 005 Reallocated_Sector_Ct 0 100 100 010 OK 007 Seek_Error_Rate 1775683 062 060 030 OK 009 Power_On_Hours 74 100 100 000 OK 010 Spin_Retry_Count 0 100 100 097 OK 012 Power_Cycle_Count 3 100 100 020 OK 184 End_To_End_Error 0 100 100 099 OK 187 Uncorrectable_Errors 0 100 100 000 OK 188 Unknown_Attribute 0 100 100 000 OK 189 Unknown_Attribute 6 094 094 000 OK 190 Temperature_Celsius 572260382 070 066 045 OK 191 G-Sense_Error_Rate 0 100 100 000 OK 192 Power-Off_Retract_Count 2 100 100 000 OK 193 Load_Cycle_Count 3 100 100 000 OK 194 Temperature_Celsius 30 030 040 000 OK 197 Current_Pending_Sector 0 100 100 000 OK 198 Offline_Uncorrectable 0 100 100 000 OK 199 UDMA_CRC_Error_Count 0 200 200 000 OK HDD2 - Model=SAMSUNG HD203WI , FwRev=1AN10003, SerialNo=S2ACJ1BZ800932 Model: SAMSUNG HD203WI (scsi) Disk /dev/sdb: 2000GB Sector size (logical/physical): 512B/512B Partition Table: msdos Number Start End Size Type File system Flags 1 20.5kB 543MB 543MB primary ext3 2 543MB 1086MB 543MB primary linux-swap(v1) 3 1086MB 2000GB 1999GB primary 4 2000GB 2000GB 510MB primary ext3 001 Raw_Read_Error_Rate 55 100 100 051 OK 002 Throughput_Performance 23193 055 049 000 OK 003 Spin_Up_Time 12147 060 059 025 OK 004 Start_Stop_Count 7140 093 093 000 OK 005 Reallocated_Sector_Ct 0 252 252 010 OK 007 Seek_Error_Rate 0 252 252 051 OK 008 Seek_Time_Performance 0 252 252 015 OK 009 Power_On_Hours 28159 100 100 000 OK 010 Spin_Retry_Count 0 252 252 051 OK 011 Calibration_Retry_Count 0 252 252 000 OK 012 Power_Cycle_Count 71 100 100 000 OK 191 G-Sense_Error_Rate 50 100 100 000 OK 192 Power-Off_Retract_Count 0 252 252 000 OK 194 Temperature_Celsius 30 064 062 000 OK 195 Hardware_ECC_Recovered 0 100 100 000 OK 196 Reallocated_Event_Count 0 252 252 000 OK 197 Current_Pending_Sector 0 252 252 000 OK 198 Offline_Uncorrectable 0 252 252 000 OK 199 UDMA_CRC_Error_Count 0 200 200 000 OK 200 Multi_Zone_Error_Rate 4 100 100 000 OK 223 Load_Retry_Count 0 252 252 000 OK 225 Load_Cycle_Count 19808 099 099 000 OK HDD3 - Model=ST4000VM000-1F3168 , FwRev=SC25 , SerialNo= Z302FY90 Model: Seagate ST4000VM000-1F31 (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 4000GB 3999GB primary 4 4000GB 4001GB 510MB ext3 primary 001 Raw_Read_Error_Rate 204605736 119 099 006 OK 003 Spin_Up_Time 0 094 094 000 OK 004 Start_Stop_Count 23 100 100 020 OK 005 Reallocated_Sector_Ct 0 100 100 010 OK 007 Seek_Error_Rate 16354155 072 060 030 OK 009 Power_On_Hours 3355 097 097 000 OK 010 Spin_Retry_Count 0 100 100 097 OK 012 Power_Cycle_Count 2 100 100 020 OK 184 End_To_End_Error 0 100 100 099 OK 187 Uncorrectable_Errors 0 100 100 000 OK 188 Unknown_Attribute 0 100 100 000 OK 189 Unknown_Attribute 107 001 001 000 OK 190 Temperature_Celsius 588840988 072 065 045 OK 191 G-Sense_Error_Rate 0 100 100 000 OK 192 Power-Off_Retract_Count 0 100 100 000 OK 193 Load_Cycle_Count 23 100 100 000 OK 194 Temperature_Celsius 28 028 040 000 OK 197 Current_Pending_Sector 0 100 100 000 OK 198 Offline_Uncorrectable 0 100 100 000 OK 199 UDMA_CRC_Error_Count 0 200 200 000 OK HDD4 - Model=ST4000VM000-1F3168 , FwRev=SC25 , SerialNo= Z3039X89 Model: Seagate ST4000VM000-1F31 (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 4000GB 3999GB primary 4 4000GB 4001GB 510MB ext3 primary 001 Raw_Read_Error_Rate 2453640 099 099 006 OK 003 Spin_Up_Time 0 097 097 000 OK 004 Start_Stop_Count 3 100 100 020 OK 005 Reallocated_Sector_Ct 0 100 100 010 OK 007 Seek_Error_Rate 1756022 062 060 030 OK 009 Power_On_Hours 59 100 100 000 OK 010 Spin_Retry_Count 0 100 100 097 OK 012 Power_Cycle_Count 3 100 100 020 OK 184 End_To_End_Error 0 100 100 099 OK 187 Uncorrectable_Errors 0 100 100 000 OK 188 Unknown_Attribute 0 100 100 000 OK 189 Unknown_Attribute 22 078 078 000 OK 190 Temperature_Celsius 572194846 070 066 045 OK 191 G-Sense_Error_Rate 0 100 100 000 OK 192 Power-Off_Retract_Count 2 100 100 000 OK 193 Load_Cycle_Count 3 100 100 000 OK 194 Temperature_Celsius 30 030 040 000 OK 197 Current_Pending_Sector 0 100 100 000 OK 198 Offline_Uncorrectable 0 100 100 000 OK 199 UDMA_CRC_Error_Count 0 200 200 000 OK HDD5 - Model=SAMSUNG HD203WI , FwRev=1AN10003, SerialNo=S2ACJ1BZ800915 Model: SAMSUNG HD203WI (scsi) Disk /dev/sde: 2000GB Sector size (logical/physical): 512B/512B Partition Table: msdos Number Start End Size Type File system Flags 1 20.5kB 543MB 543MB primary ext3 2 543MB 1086MB 543MB primary linux-swap(v1) 3 1086MB 2000GB 1999GB primary 4 2000GB 2000GB 510MB primary ext3 001 Raw_Read_Error_Rate 99 100 100 051 OK 002 Throughput_Performance 23182 055 049 000 OK 003 Spin_Up_Time 12097 061 059 025 OK 004 Start_Stop_Count 7129 093 093 000 OK 005 Reallocated_Sector_Ct 0 252 252 010 OK 007 Seek_Error_Rate 0 252 252 051 OK 008 Seek_Time_Performance 0 252 252 015 OK 009 Power_On_Hours 28127 100 100 000 OK 010 Spin_Retry_Count 0 252 252 051 OK 011 Calibration_Retry_Count 0 252 252 000 OK 012 Power_Cycle_Count 71 100 100 000 OK 191 G-Sense_Error_Rate 53 100 100 000 OK 192 Power-Off_Retract_Count 0 252 252 000 OK 194 Temperature_Celsius 30 064 062 000 OK 195 Hardware_ECC_Recovered 0 100 100 000 OK 196 Reallocated_Event_Count 0 252 252 000 OK 197 Current_Pending_Sector 0 252 252 000 OK 198 Offline_Uncorrectable 0 252 252 000 OK 199 UDMA_CRC_Error_Count 0 200 200 000 OK 200 Multi_Zone_Error_Rate 0 100 100 000 OK 223 Load_Retry_Count 0 252 252 000 OK 225 Load_Cycle_Count 19916 099 099 000 OK HDD6 - Model=ST4000VM000-1F3168 , FwRev=SC25 , SerialNo= Z302FY5P Model: Seagate ST4000VM000-1F31 (scsi) Disk /dev/sdf: 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 4000GB 3999GB primary 4 4000GB 4001GB 510MB ext3 primary 001 Raw_Read_Error_Rate 41635216 111 099 006 OK 003 Spin_Up_Time 0 094 094 000 OK 004 Start_Stop_Count 24 100 100 020 OK 005 Reallocated_Sector_Ct 0 100 100 010 OK 007 Seek_Error_Rate 16306284 072 060 030 OK 009 Power_On_Hours 3364 097 097 000 OK 010 Spin_Retry_Count 0 100 100 097 OK 012 Power_Cycle_Count 2 100 100 020 OK 184 End_To_End_Error 0 100 100 099 OK 187 Uncorrectable_Errors 0 100 100 000 OK 188 Unknown_Attribute 0 100 100 000 OK 189 Unknown_Attribute 45 055 055 000 OK 190 Temperature_Celsius 605683743 069 064 045 OK 191 G-Sense_Error_Rate 0 100 100 000 OK 192 Power-Off_Retract_Count 0 100 100 000 OK 193 Load_Cycle_Count 24 100 100 000 OK 194 Temperature_Celsius 31 031 040 000 OK 197 Current_Pending_Sector 0 100 100 000 OK 198 Offline_Uncorrectable 0 100 100 000 OK 199 UDMA_CRC_Error_Count 0 200 200 000 OK Volume Status /dev/md0: Version : 01.00.03 Creation Time : Tue Jun 23 20:41:46 2015 Raid Level : raid1 Array Size : 3905449556 (3724.53 GiB 3999.18 GB) Used Dev Size : 3905449556 (3724.53 GiB 3999.18 GB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 0 Persistence : Superblock is persistent Intent Bitmap : Internal Update Time : Thu Jun 25 21:55:17 2015 State : active Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 Name : 0 UUID : 7ddc69f8:3436cd9e:64a3ab34:e417d0c8 Events : 22 Number Major Minor RaidDevice State 0 8 3 0 active sync /dev/sda3 1 8 51 1 active sync /dev/sdd3 /dev/md1: Version : 00.90.03 Creation Time : Wed Feb 20 09:37:04 2013 Raid Level : raid1 Array Size : 1951945600 (1861.52 GiB 1998.79 GB) Used Dev Size : 1951945600 (1861.52 GiB 1998.79 GB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 1 Persistence : Superblock is persistent Intent Bitmap : Internal Update Time : Thu Jun 25 03:06:58 2015 State : active Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 UUID : 450dd523:27461674:3f0ac4a8:6c2951fb Events : 0.29925 Number Major Minor RaidDevice State 0 8 19 0 active sync /dev/sdb3 1 8 67 1 active sync /dev/sde3 Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] [multipath] md0 : active raid1 sda3[0] sdd3[1] 3905449556 blocks super 1.0 [2/2] [UU] bitmap: 6/8 pages [24KB], 262144KB chunk md2 : active raid1 sdc3[0] sdf3[1] 3905449556 blocks super 1.0 [2/2] [UU] bitmap: 0/8 pages [0KB], 262144KB chunk md1 : active raid1 sdb3[0] sde3[1] 1951945600 blocks [2/2] [UU] bitmap: 1/233 pages [4KB], 4096KB chunk md6 : active raid1 sdf2[6](S) sde2[5](S) sdd2[4](S) sdc2[3](S) sdb2[2] sda2[0] 530128 blocks super 1.0 [2/2] [UU] md13 : active raid1 sda4[0] sdf4[5] sdc4[4] sdd4[3] sde4[2] sdb4[1] 458880 blocks [6/6] [UUUUUU] bitmap: 1/57 pages [4KB], 4KB chunk md9 : active raid1 sda1[0] sdf1[5] sde1[4] sdd1[3] sdc1[2] sdb1[1] 530048 blocks [6/6] [UUUUUU] bitmap: 0/65 pages [0KB], 4KB chunk unused devices: <none> Disk Space: Filesystem Size Used Available Use% Mounted on /dev/ramdisk 139.5M 129.4M 10.1M 93% / tmpfs 64.0M 320.0k 63.7M 0% /tmp tmpfs 494.5M 24.0k 494.5M 0% /dev/shm /dev/sda4 371.0M 269.6M 101.4M 73% /mnt/ext /dev/md9 509.5M 135.5M 373.9M 27% /mnt/HDA_ROOT /dev/mapper/md2 3.6T 688.2G 2.9T 19% /share/MD2_DATA /dev/mapper/md1 1.8T 1.1T 740.7G 60% /share/MD1_DATA /dev/mapper/sdv1 1.8T 1.1T 724.4G 61% /share/external/sdv1 /dev/mapper/sdu1 1.8T 504.7G 1.3T 27% /share/external/sdu1 /dev/mapper/md0 3.6T 619.7G 3.0T 17% /share/MD0_DATA tmpfs 8.0M 0 8.0M 0% /var/syslog_maildir Mount Status: /proc on /proc type proc (rw) none on /dev/pts type devpts (rw,gid=5,mode=620) sysfs on /sys type sysfs (rw) tmpfs on /tmp type tmpfs (rw,size=64M) tmpfs on /dev/shm type tmpfs (rw) none on /proc/bus/usb type usbfs (rw) /dev/sda4 on /mnt/ext type ext3 (rw) /dev/md9 on /mnt/HDA_ROOT type ext3 (rw,data=ordered) /dev/mapper/md2 on /share/MD2_DATA type ext4 (rw,usrjquota=aquota.user,jqfmt=vfsv0,user_xattr,data=ordered,delalloc,noacl) /dev/mapper/md1 on /share/MD1_DATA type ext4 (rw,usrjquota=aquota.user,jqfmt=vfsv0,user_xattr,data=ordered,delalloc,noacl) /dev/mapper/sdv1 on /share/external/sdv1 type ext4 (rw) /dev/mapper/sdu1 on /share/external/sdu1 type ext4 (rw) /dev/mapper/md0 on /share/MD0_DATA type ext4 (rw,usrjquota=aquota.user,jqfmt=vfsv0,user_xattr,data=ordered,delalloc,noacl) tmpfs on /var/syslog_maildir type tmpfs (rw,size=8M) Windows Shares: Multimedia:/share/MD0_DATA/Multimedia Download:/share/MD0_DATA/Download Recordings:/share/MD0_DATA/Recordings Web:/share/MD0_DATA/Web Public:/share/MD0_DATA/Public USBDisk2:/share/external/sdv1 USBDisk1:/share/external/sdu1 Zamil:/share/MD0_DATA/Zamil SharedFamily:/share/MD0_DATA/SharedFamily Software:/share/MD0_DATA/Software Memory Information: total used free shared buffers Mem: 1012688 965764 46924 0 291288 Swap: 530124 17996 512128 Total: 1542812 983760 559052 NASReport completed on 2015-06-25 21:55:22 (/tmp/nasreport)
Code: Select all
is drwxr-xr-x 2 admin administ 4096 Jun 24 03:04 ./ drwxrwxrwx 24 admin administ 4096 Jun 24 09:24 ../ -rw-r--r-- 1 admin administ 419805 Jun 24 03:04 0_20150624_0304.tar.gz
From yesterday. How convenient.
Okay. Lets check your original configuration for possible corruption. Please provide output for:
Code: Select all
cat /etc/config/smb.conf
Code: Select all
/bin/ps w | grep smb
ITH001 wrote:Windows Shares:
Multimedia:/share/MD0_DATA/Multimedia
Download:/share/MD0_DATA/Download
Recordings:/share/MD0_DATA/Recordings
Web:/share/MD0_DATA/Web
Public:/share/MD0_DATA/Public
USBDisk2:/share/external/sdv1
USBDisk1:/share/external/sdu1
Zamil:/share/MD0_DATA/Zamil
SharedFamily:/share/MD0_DATA/SharedFamily
Software:/share/MD0_DATA/Software
- What username are you using on your Windows machine?
- Is there a user on the NAS with the same identical username & password?
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.
-
- Starting out
- Posts: 22
- Joined: Fri Mar 18, 2011 10:09 pm
Re: Firmware 4.1.4 -> All shared folders gone
All the shares you can see are on MD0_DATA (RAID 1, Disk 1 & 4)
The ones I don't see at the moment are on MD1_DATA (RAID 1, Disk 2 & 5)
The ones I don't see at the moment are on MD1_DATA (RAID 1, Disk 2 & 5)
Yes, its local to the NAS and to my machine (OSX), no LDAP or RADIUS.Is there a user on the NAS with the same identical username & password?
Its OSX actually. At the moment I'm working with "admin"... for historical reasonsWhat username are you using on your Windows machine?
Only lists the shared provided in the earlier post, all shares which are on MD1_DATA are not in smb.conf.cat /etc/config/smb.conf
- pwilson
- Guru
- Posts: 22533
- Joined: Fri Mar 06, 2009 11:20 am
- Location: Victoria, BC, Canada (UTC-08:00)
Re: Firmware 4.1.4 -> All shared folders gone
Try this:ITH001 wrote:All the shares you can see are on MD0_DATA (RAID 1, Disk 1 & 4)
The ones I don't see at the moment are on MD1_DATA (RAID 1, Disk 2 & 5)
Yes, its local to the NAS and to my machine (OSX), no LDAP or RADIUS.Is there a user on the NAS with the same identical username & password?
Its OSX actually. At the moment I'm working with "admin"... for historical reasonsWhat username are you using on your Windows machine?
Only lists the shared provided in the earlier post, all shares which are on MD1_DATA are not in smb.conf.cat /etc/config/smb.conf
Code: Select all
cd /etc/config
cp smb.conf smb.conf.CORRUPT
cd /
tar xvfz $(dirname $(getcfg -f /etc/config/smb.conf public path))/.@backup_config/0_$(date +'%Y%m%d' -d 'last \
wednesday')_0304.tar.gz etc/config/smb.conf --overwrite
/etc/init.d/smb.sh restart
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.
-
- Starting out
- Posts: 22
- Joined: Fri Mar 18, 2011 10:09 pm
Re: Firmware 4.1.4 -> All shared folders gone
OK... but this smb.conf did not include my old config. Seams like the firmware update killed this one too. We may have to go back to one of my old backups (.bin-Files). Any idea how? Thank you!This will restore your Samba config from yesterdays backup.
- pwilson
- Guru
- Posts: 22533
- Joined: Fri Mar 06, 2009 11:20 am
- Location: Victoria, BC, Canada (UTC-08:00)
Re: Firmware 4.1.4 -> All shared folders gone
Unfortunately that was the only Backup present in your backup_config directory.ITH001 wrote:OK... but this smb.conf did not include my old config. Seams like the firmware update killed this one too. We may have to go back to one of my old backups (.bin-Files). Any idea how? Thank you!This will restore your Samba config from yesterdays backup.
You will probably have to re-create the shares, and "re-attach" them to your pre-existing folders on your /share/MD1_DATA and /share/MD2_DATA legacy volumes.
Your previous NASReport output suggests your files are still there:
NASReport wrote:Code: Select all
Disk Space: Filesystem Size Used Available Use% Mounted on /dev/ramdisk 139.5M 129.4M 10.1M 93% / tmpfs 64.0M 320.0k 63.7M 0% /tmp tmpfs 494.5M 24.0k 494.5M 0% /dev/shm /dev/sda4 371.0M 269.6M 101.4M 73% /mnt/ext /dev/md9 509.5M 135.5M 373.9M 27% /mnt/HDA_ROOT /dev/mapper/md2 3.6T 688.2G 2.9T 19% /share/MD2_DATA /dev/mapper/md1 1.8T 1.1T 740.7G 60% /share/MD1_DATA /dev/mapper/sdv1 1.8T 1.1T 724.4G 61% /share/external/sdv1 /dev/mapper/sdu1 1.8T 504.7G 1.3T 27% /share/external/sdu1 /dev/mapper/md0 3.6T 619.7G 3.0T 17% /share/MD0_DATA tmpfs 8.0M 0 8.0M 0% /var/syslog_maildir
Only the share configuration is missing. Simply "Specify the path manually" when recreating your shares:
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.
-
- Starting out
- Posts: 22
- Joined: Fri Mar 18, 2011 10:09 pm
Re: Firmware 4.1.4 -> All shared folders gone
HI,
thank you, that worked just perfectly for the SMB/AFP folders! Many thanks!
thank you, that worked just perfectly for the SMB/AFP folders! Many thanks!
-
- Getting the hang of things
- Posts: 72
- Joined: Sun May 16, 2010 12:40 am
Re: Firmware 4.1.4 -> All shared folders gone
Hi,
@pwilson: great job, it's great to have guys like you here!
I have a similar problem but by FW update went worse: it somehow destroyed the whole config and I had to reset the FW in order to get access to the NAS again. The data is still on the disk but in MD1_DATA (instead of MD0_DATA) and the whole folder structure seems messed. I would highly appreciate it if you had a way to recover this instead of completely reinstalling the device. That would be SO painful.
Here is the NASReport:
One comment: I keep the second HDD from the RAID outside the NAS just to make sure the data is not lost due to something...
but:
is that helpful? I assume all original data is still on MD1_DATA and the FW update 'just' didn't 'rename' t back to MD0_DATA?!?
@pwilson: great job, it's great to have guys like you here!
I have a similar problem but by FW update went worse: it somehow destroyed the whole config and I had to reset the FW in order to get access to the NAS again. The data is still on the disk but in MD1_DATA (instead of MD0_DATA) and the whole folder structure seems messed. I would highly appreciate it if you had a way to recover this instead of completely reinstalling the device. That would be SO painful.
Here is the NASReport:
Code: Select all
*********************
** QNAP NAS Report **
*********************
NAS Model: TS-239 Pro II
Firmware: 4.1.4 Build 20150820
System Name: NASMT
Workgroup: NAS
Base Directory: /share/HDe·_DATA
NAS IP address: 192.168.2.30
Default Gateway Device: eth0
inet addr:192.168.2.30 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7022 errors:0 dropped:307 overruns:0 frame:0
TX packets:3944 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:986167 (963.0 KiB) TX bytes:698408 (682.0 KiB)
Interrupt:16 Memory:febe0000-fec00000
DNS Nameserver(s):8.8.8.8
HDD Information:
HDD1 - Model=ST4000DM000-1F2168 , FwRev=CC52 , SerialNo= W3005ZFC
Model: Seagate ST4000DM000-1F21 (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 linux-swap(v1) primary
3 1086MB 4000GB 3999GB ext4 primary
4 4000GB 4001GB 510MB ext3 primary
001 Raw_Read_Error_Rate 111882960 116 087 006 OK
003 Spin_Up_Time 0 092 091 000 OK
004 Start_Stop_Count 200 100 100 020 OK
005 Reallocated_Sector_Ct 0 100 100 010 OK
007 Seek_Error_Rate 19624022528826 048 037 030 OK
009 Power_On_Hours 12945 086 086 000 OK
010 Spin_Retry_Count 0 100 100 097 OK
012 Power_Cycle_Count 124 100 100 020 OK
183 Unknown_Attribute 0 100 100 000 OK
184 End_To_End_Error 0 100 100 099 OK
187 Uncorrectable_Errors 179 001 001 000 OK
188 Unknown_Attribute 0 100 100 000 OK
189 Unknown_Attribute 0 100 100 000 OK
190 Temperature_Celsius 521863199 069 057 045 OK
191 G-Sense_Error_Rate 0 100 100 000 OK
192 Power-Off_Retract_Count 28 100 100 000 OK
193 Load_Cycle_Count 101954 050 050 000 OK
194 Temperature_Celsius 31 031 043 000 OK
197 Current_Pending_Sector 0 100 097 000 OK
198 Offline_Uncorrectable 0 100 097 000 OK
199 UDMA_CRC_Error_Count 0 200 200 000 OK
240 Head_Flying_Hours 90881507995792 100 253 000 OK
241 Lifetime_Writes_From_Host 20377116032 100 253 000 OK
242 Lifetime_Reads_To_Host 48588443628 100 253 000 OK
HDD2 -/dev/sdb: No such device or address
Error: Error opening /dev/sdb: No such device or address
Retry/Cancel? c
c
Open device fail
Volume Status
/dev/md1:
Version : 01.00.03
Creation Time : Thu May 16 13:22:04 2013
Raid Level : raid1
Array Size : 3905449556 (3724.53 GiB 3999.18 GB)
Used Dev Size : 3905449556 (3724.53 GiB 3999.18 GB)
Raid Devices : 2
Total Devices : 1
Preferred Minor : 1
Persistence : Superblock is persistent
Intent Bitmap : Internal
Update Time : Sat Sep 5 04:17:13 2015
State : active, degraded
Active Devices : 1
Working Devices : 1
Failed Devices : 0
Spare Devices : 0
Name : 1
UUID : ab59a566:32348c3d:2c009a40:1a237a84
Events : 2113901
Number Major Minor RaidDevice State
0 0 0 0 removed
3 8 3 1 active sync /dev/sda3
Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] [multi path]
md1 : active raid1 sda3[3]
3905449556 blocks super 1.0 [2/1] [_U]
bitmap: 7/8 pages [28KB], 262144KB chunk
md2 : active raid1 sda2[0]
530128 blocks super 1.0 [2/1] [U_]
md13 : active raid1 sda4[0]
458880 blocks super 1.0 [2/1] [U_]
bitmap: 7/8 pages [28KB], 32KB chunk
md9 : active raid1 sda1[0]
530112 blocks super 1.0 [2/1] [U_]
bitmap: 9/9 pages [36KB], 32KB chunk
unused devices: <none>
Disk Space:
Filesystem Size Used Available Use% Mounted on
/dev/ramdisk 139.5M 114.2M 25.3M 82% /
tmpfs 64.0M 156.0k 63.8M 0% /tmp
tmpfs 498.6M 0 498.6M 0% /dev/shm
/dev/sda4 371.0M 262.9M 108.1M 71% /mnt/ext
/dev/md9 509.5M 109.4M 400.1M 21% /mnt/HDA_ROOT
/dev/md1 3.6T 3.5T 93.0G 97% /share/MD1_DATA
Mount Status:
/proc on /proc type proc (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
sysfs on /sys type sysfs (rw)
tmpfs on /tmp type tmpfs (rw,size=64M)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/bus/usb type usbfs (rw)
/dev/sda4 on /mnt/ext type ext3 (rw)
/dev/md9 on /mnt/HDA_ROOT type ext3 (rw,data=ordered)
/dev/md1 on /share/MD1_DATA type ext4 (rw,usrjquota=aquota.user,jqfmt=vfsv0,user _xattr,data=ordered,delalloc,noacl)
Windows Shares:
Multimedia:/share/HD_DATA/Multimedia
Download:/share/HDe·b
Recordings:/share/HDe·_DATA/Recordings
Web:/share/HDe·_DATA/Web
Public:/share/HDe·_DATA/Public
Qsync:/share/Qsync
Memory Information:
total used free shared buffers
Mem: 1021176 745676 275500 0 40688
Swap: 530124 0 530124
Total: 1551300 745676 805624
NASReport completed on 2015-09-05 04:21:04 (/tmp/nasreport)
Code: Select all
ls: /share/HDe·_DATA/.@backup_config: No such file or directory
Code: Select all
[/tmp] # ls /share/MD1_DATA/.@backup_config
0_20150902_0304.tar.gz 2_20150819_0304.tar.gz 4_20150805_0304.tar.gz 6_20150722_0304.tar.gz 8_20150708_0304.tar.gz
1_20150826_0304.tar.gz 3_20150812_0304.tar.gz 5_20150729_0304.tar.gz 7_20150715_0304.tar.gz 9_20150701_0304.tar.gz
TS-239 Pro II (FW 4.1.0)
TS-459 Pro II (FW 4.0.7)
TS-459 Pro II (FW 4.0.7)
-
- Getting the hang of things
- Posts: 72
- Joined: Sun May 16, 2010 12:40 am
Re: Firmware 4.1.4 -> All shared folders gone
Anybody?
TS-239 Pro II (FW 4.1.0)
TS-459 Pro II (FW 4.0.7)
TS-459 Pro II (FW 4.0.7)
- pwilson
- Guru
- Posts: 22533
- Joined: Fri Mar 06, 2009 11:20 am
- Location: Victoria, BC, Canada (UTC-08:00)
Re: Firmware 4.1.4 -> All shared folders gone
Submit a ticket.maddhin wrote:Anybody?
Your Samba configuration is corrupt, but as the volume isn't mounting to /share/MD0_DATA properly, this issue needs to be resolved before you can fix your Samba configuration.
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.
-
- Getting the hang of things
- Posts: 72
- Joined: Sun May 16, 2010 12:40 am
Re: Firmware 4.1.4 -> All shared folders gone
will do, thanks a lot
TS-239 Pro II (FW 4.1.0)
TS-459 Pro II (FW 4.0.7)
TS-459 Pro II (FW 4.0.7)