Cezary napisał/a:Jeżeli montuje to overlay też musi. Sprawdź czy systemu plików nie pomyliłeś (ext4 zamontuje ext2, ale przy overlay może sie buntować o to).
Do tplinka nie widziałem. Chociaż są źródła dostępne więc możesz sobie zmienić, skompilować i wgrać.
Ok, o to fragment loga przy podpiętym dysku.
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ar71xx-ehci ar71xx-ehci: Atheros AR91xx built-in EHCI controller
ar71xx-ehci ar71xx-ehci: new USB bus registered, assigned bus number 1
ar71xx-ehci ar71xx-ehci: irq 3, io mem 0x1b000000
ar71xx-ehci ar71xx-ehci: USB 2.0 started, EHCI 1.00
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usb 1-1: new high speed USB device using ar71xx-ehci and address 2
usb 1-1: configuration #1 chosen from 1 choice
scsi0 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
scsi 0:0:0:0: Direct-Access HITACHI HTS722010K9SA00 PQ: 0 ANSI: 2
usb-storage: device scan complete
sd 0:0:0:0: [sda] 195371568 512-byte logical blocks: (100 GB/93.1 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 38 00 00 00
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] Assuming drive cache: write through
sda: sda1
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] Attached SCSI disk
mini_fo: using base directory: /
mini_fo: using storage directory: /overlay
eth0: link down
ar71xx: pll_reg 0xb8050014: 0x1a000000
eth0: link up (1000Mbps/Full duplex)
device eth0.1 entered promiscuous mode
device eth0 entered promiscuous mode
br-lan: port 1(eth0.1) entering forwarding state
Compat-wireless backport release: compat-wireless--2
Jeszcze zrzut by nie było wątpliwości:
Filesystem Size Used Available Use% Mounted on
/dev/root 3.1M 3.1M 0 100% /rom
tmpfs 14.4M 176.0K 14.2M 1% /tmp
tmpfs 512.0K 0 512.0K 0% /dev
/dev/mtdblock3 3.4M 292.0K 3.2M 8% /overlay
mini_fo:/overlay 3.1M 3.1M 0 100% /
root@OpenWrt:~# cat /overlay/etc/config/fstab
config 'global' 'automount'
option 'from_fstab' '1'
option 'anon_mount' '1'
config 'global' 'autoswap'
option 'from_fstab' '1'
option 'anon_swap' '0'
config 'mount'
option 'target' ''
option 'fstype' 'ext3'
option 'options' 'rw,sync'
option 'enabled_fsck' '0'
option 'device' '/dev/sda1'
option 'enabled' '1'
option 'is_rootfs' '1'
config 'swap'
option 'device' '/dev/sda98'
option 'enabled' '0'
root@OpenWrt:/tmp# mount /dev/sda1 /tmp/bla/
NTFS signature is missing.
Failed to mount '/dev/sda1': Invalid argument
The device '/dev/sda1' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
root@OpenWrt:/tmp# df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 3.1M 3.1M 0 100% /rom
tmpfs 14.4M 176.0K 14.2M 1% /tmp
tmpfs 512.0K 0 512.0K 0% /dev
/dev/mtdblock3 3.4M 292.0K 3.2M 8% /overlay
mini_fo:/overlay 3.1M 3.1M 0 100% /
/dev/sda1 91.7G 72.0G 19.7G 79% /tmp/bla
root@OpenWrt:/tmp# cd /tmp/bla/
root@OpenWrt:/tmp/bla# ls
stuff
Filesystem jest clean, sprawdziłem.
A tu przy podpiętym pendrive
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
scsi 0:0:0:0: Direct-Access USB 2.0 SD MMC Reader PQ: 0 ANSI: 0 CCS
usb-storage: device scan complete
sd 0:0:0:0: [sda] 3854336 512-byte logical blocks: (1.97 GB/1.83 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] Assuming drive cache: write through
sda: sda1
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] Attached SCSI removable disk
kjournald starting. Commit interval 5 seconds
EXT3 FS on sda1, internal journal
EXT3-fs: mounted filesystem with writeback data mode.
mini_fo: using base directory: /
mini_fo: using storage directory: /overlay
root@threehorn:~# df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 3.1M 3.1M 0 100% /rom
tmpfs 14.4M 180.0K 14.2M 1% /tmp
tmpfs 512.0K 0 512.0K 0% /dev
/dev/sda1 1.8G 49.6M 1.8G 3% /overlay
mini_fo:/overlay 3.1M 3.1M 0 100% /
Host nazywa się inaczej, bo tu już konfigurowałem, tą konfigurację chciałem przerzucić na dysk, ale i nawet z czystego nie odpala jako overlaya.