「QNAP TS-112」の編集履歴(バックアップ)一覧はこちら
QNAP TS-112 - (2013/09/15 (日) 22:03:22) の最新版との変更点
追加された行は緑色になります。
削除された行は赤色になります。
QNAP Turbo NAS
* Migration from old NAS
** User creation
** Shared folder setup
** Services
** Data copy
mkdir /var/tmp/hideo
mount.cifs //192.168.1.&bold(){xxx}/library /var/tmp/hideo -o user=hideo,pass=&bold(){xxxx},ro,codepage=cp932,iocharset=utf8
cp -rp /var/tmp/hideo/ /share/HDA_DATA/hideo
chown -R hideo,everyone /share/HDA_DATA/hideo/
QNAP Turbo NAS
#contents()
* Migration from old NAS
** User creation
** Mount cifs (library, share and hideo) Please not noserverino has to be specified!
mkdir /var/tmp/library
mount.cifs //192.168.1.3/library /var/tmp/library -o user=readonly,pass=readonly,ro,codepage=cp932,iocharset=utf8,noserverino
** Install nohup
It is practical to use nohup to copy data from old NAS. "Install Optware IPKG" contains /opt/bin/nohup.
Install "Optware IPKG" : AppCenter => Optware IPKG
Start "Optware IPKG"
install coreutils 8.4-1 Bunch of heavyweight *nix core utilities
** Copy data
Simple cp works fine. This command takes long time.
/opt/bin/nohup cp -rpuv /var/tmp/library/Documents /share/HDA_DATA/Multimedia/ > /share/HDA_DATA/Multimedia/library_cp.log
/opt/bin/diff -rq /var/tmp/library/Documents/ /share/HDA_DATA/Multimedia
# Need -p as timestamp needs to be kept
Note: I got error message with rsync
rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(553) [sender=3.0.7]
[sender] _exit_cleanup(code=20, file=rsync.c, line=553): about to call exit(20)
rsync: writefd_unbuffered failed to write 78 bytes to socket [generator]: Broken pipe (32)
[generator] _exit_cleanup(code=19, file=main.c, line=2070): about to call exit(19)
* Notification
smtp.nifty.com
465
foo@bar.com
cqb00000@nifty.com
Password
SSL
* Shared folder setup
Photo => multimedia
Video => multimedia
Music => multimedia
* Services
Required services are quite limited. No need to start up any services at the beginning. I can add services later
- SSH
- NFS and CIFS
- MediaLibrary
-- iTunes
-- Photo
-- Video
* Connecting to the QNAP from the Internet
** Dynamic DNS setup (Value domain)
The detail http://www.value-domain.com/ddns.php?action=howto
** Setup router
Needs to configure router to route specific services to the QNAP
* Test
** Test Configuration Backup
** Test Q-RAID 1 works fine