nas:readynas_duo_v2_openwrt_extend_strage
差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン | ||
nas:readynas_duo_v2_openwrt_extend_strage [2022/05/30 23:04] – [事前調査] nipa28 | nas:readynas_duo_v2_openwrt_extend_strage [2022/05/31 22:44] (現在) – [失敗] nipa28 | ||
---|---|---|---|
行 60: | 行 60: | ||
その前に、OpenWrt公式の下記には目を通しておくべきだな。 | その前に、OpenWrt公式の下記には目を通しておくべきだな。 | ||
+ | https:// | ||
https:// | https:// | ||
https:// | https:// | ||
行 146: | 行 147: | ||
(これからどうやるんだ?) | (これからどうやるんだ?) | ||
+ | |||
+ | |||
+ | --- | ||
+ | |||
+ | 参考にしたサイト | ||
+ | https:// | ||
+ | |||
+ | |||
+ | 現状 | ||
+ | ``` | ||
+ | root@OpenWrt: | ||
+ | /dev/root /rom squashfs ro,relatime 0 0 | ||
+ | proc /proc proc rw, | ||
+ | sysfs /sys sysfs rw, | ||
+ | cgroup2 / | ||
+ | tmpfs /tmp tmpfs rw, | ||
+ | /dev/ubi0_1 /overlay ubifs rw, | ||
+ | overlayfs:/ | ||
+ | tmpfs /dev tmpfs rw, | ||
+ | devpts /dev/pts devpts rw, | ||
+ | debugfs / | ||
+ | none /sys/fs/bpf bpf rw, | ||
+ | /dev/md3 /mnt/md3 ext4 rw,relatime 0 0 | ||
+ | /dev/md1 /mnt/md1 ext4 rw,relatime 0 0 | ||
+ | root@OpenWrt: | ||
+ | |||
+ | ``` | ||
+ | |||
+ | ``` | ||
+ | root@OpenWrt: | ||
+ | / | ||
+ | / | ||
+ | /dev/sda1: UUID=" | ||
+ | /dev/sda2: UUID=" | ||
+ | /dev/sda3: UUID=" | ||
+ | /dev/sdb1: UUID=" | ||
+ | /dev/sdb2: UUID=" | ||
+ | /dev/sdb3: UUID=" | ||
+ | /dev/md1: UUID=" | ||
+ | /dev/md2: VERSION=" | ||
+ | /dev/md3: UUID=" | ||
+ | root@OpenWrt: | ||
+ | |||
+ | ``` | ||
+ | |||
+ | う〜ん。現在`/ | ||
+ | / | ||
+ | |||
+ | 現在`/ | ||
+ | |||
+ | |||
+ | 現在のrootfs(/ | ||
+ | |||
+ | ``` | ||
+ | root@OpenWrt: | ||
+ | |||
+ | ``` | ||
+ | |||
+ | fstabを変更する。 | ||
+ | |||
+ | ``` | ||
+ | root@OpenWrt:/ | ||
+ | |||
+ | config global | ||
+ | option anon_swap ' | ||
+ | option anon_mount ' | ||
+ | option auto_swap ' | ||
+ | option auto_mount ' | ||
+ | option delay_root ' | ||
+ | option check_fs ' | ||
+ | |||
+ | config mount | ||
+ | option target '/ | ||
+ | option uuid ' | ||
+ | option enabled ' | ||
+ | |||
+ | config mount | ||
+ | option target '/ | ||
+ | option uuid ' | ||
+ | option enabled ' | ||
+ | |||
+ | config mount | ||
+ | option target '/ | ||
+ | option uuid ' | ||
+ | option enabled ' | ||
+ | |||
+ | config mount | ||
+ | option target '/ | ||
+ | option uuid ' | ||
+ | option enabled ' | ||
+ | |||
+ | config mount | ||
+ | option target '/ | ||
+ | option uuid ' | ||
+ | option enabled ' | ||
+ | |||
+ | config mount | ||
+ | option target '/ | ||
+ | option uuid ' | ||
+ | option enabled ' | ||
+ | |||
+ | config mount | ||
+ | option target '/ | ||
+ | option uuid ' | ||
+ | option enabled ' | ||
+ | |||
+ | config swap | ||
+ | option device '/ | ||
+ | option enabled ' | ||
+ | |||
+ | config mount | ||
+ | option target '/ | ||
+ | option uuid ' | ||
+ | option enabled ' | ||
+ | |||
+ | root@OpenWrt:/ | ||
+ | |||
+ | ``` | ||
+ | |||
+ | /mnt/md1 のところを /overlay に書き換えた。 | ||
+ | |||
+ | < | ||
+ | |||
+ | |||
+ | ### 失敗 | ||
+ | |||
+ | えいやあ、で再起動してみたが、やっぱり失敗 | ||
+ | |||
+ | `/overlay` は `/ | ||
+ | |||
+ | ``` | ||
+ | hiroshi@VPCF24AJ-ubuntu: | ||
+ | |||
+ | |||
+ | BusyBox v1.35.0 (2022-05-20 19:00:24 UTC) built-in shell (ash) | ||
+ | |||
+ | _______ | ||
+ | | ||
+ | | ||
+ | | ||
+ | |__| W I R E L E S S F R E E D O M | ||
+ | | ||
+ | | ||
+ | | ||
+ | hiroshi@OpenWrt:/ | ||
+ | Filesystem | ||
+ | / | ||
+ | tmpfs | ||
+ | / | ||
+ | overlayfs:/ | ||
+ | tmpfs 512 | ||
+ | / | ||
+ | hiroshi@OpenWrt:/ | ||
+ | ``` | ||
+ | |||
+ | `/ | ||
+ | まだ勉強が必要そうだね。 | ||
+ | |||
+ | https:// | ||
+ | https:// | ||
nas/readynas_duo_v2_openwrt_extend_strage.1653919447.txt.gz · 最終更新: 2022/05/30 23:04 by nipa28