a*o 发帖数: 19981 | 1 看来真的得clone一下flash了,不然万一坏了可就悲摧了。 |
c*******y 发帖数: 3529 | 2 tar cvpzf backu.tgz --exclude=/selinux --exclude=/srv --exclude=/proc --
exclude=/lost+found --exclude=/media --exclude=/sys --exclude=/mnt --exclude
=backu.tgz / |
a*o 发帖数: 19981 | 3 看来真的得clone一下flash了,不然万一坏了可就悲摧了。 |
c*******y 发帖数: 3529 | 4 tar cvpzf backu.tgz --exclude=/selinux --exclude=/srv --exclude=/proc --
exclude=/lost+found --exclude=/media --exclude=/sys --exclude=/mnt --exclude
=backu.tgz / |
a*o 发帖数: 19981 | 5 尼玛4GB的USB flash死掉了,这货挺能摧残U盘啊。
【在 a*o 的大作中提到】 : 看来真的得clone一下flash了,不然万一坏了可就悲摧了。
|
e*i 发帖数: 10288 | 6 my flash drive died after one year ---on router for asterisk.
Later, I made a file on the NAS and mount twice. :P So far so
good.
【在 a*o 的大作中提到】 : 尼玛4GB的USB flash死掉了,这货挺能摧残U盘啊。
|
a*o 发帖数: 19981 | 7 made a file on the NAS and mount twice -- 界是嘛意思?
【在 e*i 的大作中提到】 : my flash drive died after one year ---on router for asterisk. : Later, I made a file on the NAS and mount twice. :P So far so : good.
|
e*i 发帖数: 10288 | 8 first mount: mount the NAS disk
second mount: mount the file from the NAS --this file has
ext2 file system inside. OPT/asterisk is in the file.
root@DD-WRT:~# df
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 6400 6400 0 100% /
/dev/root 6400 6400 0 100% /
/dev/mtdblock/4 704 396 308 57% /jffs
//192.168.7.4/vms 77200324 44285804 32914520 58% /tmp/smbshare
/dev/loop/0 297485 209273 88212 71% /opt
【在 a*o 的大作中提到】 : made a file on the NAS and mount twice -- 界是嘛意思?
|
a*o 发帖数: 19981 | 9 卧槽,盘中盘啊,这样倒是备份省事儿了,哈哈,好主意!
我也这么搞得了,反正performance根本不是个事儿。
【在 e*i 的大作中提到】 : first mount: mount the NAS disk : second mount: mount the file from the NAS --this file has : ext2 file system inside. OPT/asterisk is in the file. : root@DD-WRT:~# df : Filesystem 1K-blocks Used Available Use% Mounted on : rootfs 6400 6400 0 100% / : /dev/root 6400 6400 0 100% / : /dev/mtdblock/4 704 396 308 57% /jffs : //192.168.7.4/vms 77200324 44285804 32914520 58% /tmp/smbshare : /dev/loop/0 297485 209273 88212 71% /opt
|
e*i 发帖数: 10288 | 10 en. Just copy the file, backup done! haha
You can try whatever you want. Restore takes less than 1 second.
【在 a*o 的大作中提到】 : 卧槽,盘中盘啊,这样倒是备份省事儿了,哈哈,好主意! : 我也这么搞得了,反正performance根本不是个事儿。
|
|
|
a*o 发帖数: 19981 | 11 你装的是那个版本?可以boot到internel flash上然后转移rootfs到nas mount?
native rom有cifs支持吗?
【在 e*i 的大作中提到】 : en. Just copy the file, backup done! haha : You can try whatever you want. Restore takes less than 1 second.
|
t*******e 发帖数: 1633 | |
w*x 发帖数: 3456 | 13 我曾经在移动硬盘上boot开过,不过断电之后就没boot开了...
【在 a*o 的大作中提到】 : 尼玛4GB的USB flash死掉了,这货挺能摧残U盘啊。
|
a9 发帖数: 21638 | 14 再mount到nas上,这个pogo存在就没啥意义了。
你可以用overlayfs,把rootfs mount成只读的。然后在把tmpfs弄到上面。
注意tmpfs的使用量就行了。
【在 a*o 的大作中提到】 : 卧槽,盘中盘啊,这样倒是备份省事儿了,哈哈,好主意! : 我也这么搞得了,反正performance根本不是个事儿。
|
e*i 发帖数: 10288 | 15 DD-WRT v24-sp2 (08/07/10) mega - build 14896
I just load /opt to nas mount, rootfs is still
in the internal flash.
native rom doesn't support cifs, so activated jffs
and put cifs / ext2 support in jffs.
【在 a*o 的大作中提到】 : 你装的是那个版本?可以boot到internel flash上然后转移rootfs到nas mount? : native rom有cifs支持吗?
|
a*o 发帖数: 19981 | 16 ft,你是玩router还是pogo啊?
【在 e*i 的大作中提到】 : DD-WRT v24-sp2 (08/07/10) mega - build 14896 : I just load /opt to nas mount, rootfs is still : in the internal flash. : native rom doesn't support cifs, so activated jffs : and put cifs / ext2 support in jffs.
|
e*i 发帖数: 10288 | 17 router... since I run asterisk on router.
... and my usb drive died in about 1 year...
then I used that method
【在 a*o 的大作中提到】 : ft,你是玩router还是pogo啊?
|
a*o 发帖数: 19981 | 18 5555哥被你无情地调戏了。
【在 e*i 的大作中提到】 : router... since I run asterisk on router. : ... and my usb drive died in about 1 year... : then I used that method
|
e*i 发帖数: 10288 | 19 why? You should be able to use similar method.
【在 a*o 的大作中提到】 : 5555哥被你无情地调戏了。
|