2010年10月17日星期日

QNAP recovery

http://forum.qnap.com/viewtopic.php?f=11&t=2058&p=95650&hilit=raid+1+lost+configuration#p95650

In case of corrupt/lost config:

1. Power off the NAS. Remove the HDD(s)
2. Power on the NAS
3. After a short beep and a long beep, plug the HDD back into the NAS
4. Run QNAP Finder, it will find the NAS, do NOT configure it!
5. Connect to the NAS by telnet port 13131 (e.g. with Putty)
6. Run the following commands to recover with default config

// Use the following commands if using 1 drive

# mount /dev/sda1 /mnt
# cd /mnt/.config/
# cp /etc/default_config/uLinux.conf /mnt/.config/
# reboot

// Use the following command if using 2 drives (not tested)

# mdadm -A /dev/md9 /dev/sda1 /dev/sdb1
# mount /dev/md9 /mnt
# cd /mnt/.config/
# cp /etc/default_config/uLinux.conf /mnt/.config/
# reboot

8. Above procedure will reset the configuration back to default and then you need to reconfigure it. But all the share should be available now.
Please remember NOT to re-initialize the HDD. Since this will format your HDD and all your data will be lost.
9. To be prepared next time this happens, always make sure you have a working backup of your personal uLinux.conf!

FYI: uLinux.conf is the main settings configuration

2010年4月18日星期日

change qnap bt directory

http://forum.qnap.com/viewtopic.php?f=16&t=25939


telnet to qnap nas

vi /etc/smb.conf

find :

/share/Qdownload

change
/share/Qmultimedia/Qdownload