1

Temat: Montowanie dysku ntfs

Przeszedłem do openwrt + luci do openwrt+gargoyle i mam problem z automatycznym montowaniem dysku 2,5".
Zawartość 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 uuid     3b8c26d4-91ef-47fa-89f4-3183290a25ae
    option fstype    ext3
    option options    rw,noatime
    option enabled  1   
    option enabled_fsck 0
    option is_rootfs 1

config swap
        option uuid     6fdf74d9-b0fe-41ae-91fe-4756ae0e57aa
        option enabled  1

config mount
        option target /mnt/HDD
        option device /dev/sdb1
        option fstype ntfs-3g
        option options rw
        option enabled 1

Log:

Feb  6 16:28:07 WRT1043ND user.info kernel: usb 1-1.3: USB disconnect, address 5
Feb  6 16:28:27 WRT1043ND user.info kernel: usb 1-1.3: new high speed USB device using ar71xx-ehci and address 6
Feb  6 16:28:28 WRT1043ND user.info kernel: usb 1-1.3: configuration #1 chosen from 1 choice
Feb  6 16:28:28 WRT1043ND user.info kernel: scsi3 : SCSI emulation for USB Mass Storage devices
Feb  6 16:28:28 WRT1043ND user.debug kernel: usb-storage: device found at 6
Feb  6 16:28:28 WRT1043ND user.debug kernel: usb-storage: waiting for device to settle before scanning
Feb  6 16:28:28 WRT1043ND user.notice usb-modeswitch: 1-1.3:1.0: Manufacturer=SAMSUNG Product=HM160HI Serial=533130554A39305334333234
Feb  6 16:28:33 WRT1043ND user.notice kernel: scsi 3:0:0:0: Direct-Access     SAMSUNG  HM160HI          2.02 PQ: 0 ANSI: 4
Feb  6 16:28:33 WRT1043ND user.debug kernel: usb-storage: device scan complete
Feb  6 16:28:33 WRT1043ND user.notice kernel: sd 3:0:0:0: [sdb] 312581808 512-byte logical blocks: (160 GB/149 GiB)
Feb  6 16:28:33 WRT1043ND user.notice kernel: sd 3:0:0:0: [sdb] Write Protect is off
Feb  6 16:28:33 WRT1043ND user.debug kernel: sd 3:0:0:0: [sdb] Mode Sense: 21 00 00 00
Feb  6 16:28:33 WRT1043ND user.err kernel: sd 3:0:0:0: [sdb] Assuming drive cache: write through
Feb  6 16:28:33 WRT1043ND user.err kernel: sd 3:0:0:0: [sdb] Assuming drive cache: write through
Feb  6 16:28:33 WRT1043ND user.info kernel:  sdb: sdb1
Feb  6 16:28:33 WRT1043ND user.err kernel: sd 3:0:0:0: [sdb] Assuming drive cache: write through
Feb  6 16:28:33 WRT1043ND user.notice kernel: sd 3:0:0:0: [sdb] Attached SCSI disk

mount:

rootfs on / type rootfs (rw)
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
tmpfs on /dev type tmpfs (rw,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
/dev/sda1 on /overlay type ext3 (rw,noatime,errors=continue,data=writeback)
mini_fo:/overlay on / type mini_fo (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
none on /proc/bus/usb type usbfs (rw,relatime)

Czemu nie chce montować?

2

Odp: Montowanie dysku ntfs

mount.ntfs3g zainstalowałeś na overlay?

Najpiew zrób overlay, po uruchomieniu zainstaluj ponownie block-mount (bo nie będzie widoczny) i dopiero tam zrób montowanie ntfs.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3

Odp: Montowanie dysku ntfs

Odpusc sobie ntfs i inne nielinuxowe systemy. Na ntfs mialem po ftp (lan) upload ~3MB/. Zmienilem na ext3 i mam teraz 5-6MB/s (upload).

MiniPC 6xRJ45 2Gb, N100, 16GB DDR5, 1TB NVMe (Gargoyle)
Linksys WRT3200ACM (Gargoyle)
Tp-link 1043NDv2 (Gargoyle)

4

Odp: Montowanie dysku ntfs

Jak ktoś ma 500GB dysk na ntfs zapełniony danymi to niby jak ma ext3 z tego zrobić? Ale to OT.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

5

Odp: Montowanie dysku ntfs

Dlatego zrobilem druga partycje ext3. Sa rozne narzedzia do tego celu. No chyba ze nie ma miejsca, to zrzuca dane gdzie indziej (jak ma gdzie), formatuje na ext3 i zgrywa nazad. Ale to inna historia.

MiniPC 6xRJ45 2Gb, N100, 16GB DDR5, 1TB NVMe (Gargoyle)
Linksys WRT3200ACM (Gargoyle)
Tp-link 1043NDv2 (Gargoyle)

6

Odp: Montowanie dysku ntfs

Ja ma miejsce właśnie, to kluczowe słowo smile

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

7

Odp: Montowanie dysku ntfs

Cezary napisał/a:

mount.ntfs3g zainstalowałeś na overlay?

Najpiew zrób overlay, po uruchomieniu zainstaluj ponownie block-mount (bo nie będzie widoczny) i dopiero tam zrób montowanie ntfs.

opkg nie zna takiej paczki mount.ntfs3g. Jeżeli chodzi o ntfs-3g to mam zainstalowane (2010.8.8-1-fuseint). block-mount także mam zainstalowany (0.1.0-2).
Dysk musi mieć ntfs, gdyż z nim podróżuję, a nie każdy na komputerze ma zainstalowany Ext2 IFS for Windows. Transfer też nie jest szczególnie potrzebny - ma stoi na nim rsget.pl oraz transmission.
extroot jest wykonany poprawnie - widzi swap oraz partycję na pakiety.

8

Odp: Montowanie dysku ntfs

# opkg list mount*
mount-utils - 2.13.0.1-4 - This package contains utilities to mount/unmount devices.
mount.ntfs-3g - 2010.8.8-1-fuseint - ntfs-3g mount helper. You must enable busybox mount helper too.
mountd - 0.1-2 - openwrt automount daemon
MiniPC 6xRJ45 2Gb, N100, 16GB DDR5, 1TB NVMe (Gargoyle)
Linksys WRT3200ACM (Gargoyle)
Tp-link 1043NDv2 (Gargoyle)

9

Odp: Montowanie dysku ntfs

badziewiak napisał/a:
# opkg list mount*
mount-utils - 2.13.0.1-4 - This package contains utilities to mount/unmount devices.
mount.ntfs-3g - 2010.8.8-1-fuseint - ntfs-3g mount helper. You must enable busybox mount helper too.
mountd - 0.1-2 - openwrt automount daemon

Wielkie dzięki. Działa. big_smile