26

Odp: Aktualizacja plugina usb-storage Gargoyle

root@Gargoyle:~# blkid
/dev/mtdblock2: TYPE="squashfs"
/dev/sda1: UUID="013d1e69-0cbc-4caa-b203-e591ecbc6aa8" TYPE="ext4"
/dev/sda2: UUID="0303a02a-adc3-4994-8f20-3adba9be1f3d" TYPE="swap"
/dev/sda3: UUID="669d4963-1e37-47aa-ad21-623a71224cb0" TYPE="ext4"
root@Gargoyle:~# mount
rootfs on / type rootfs (rw)
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,noatime)
sysfs on /sys type sysfs (rw,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
tmpfs on /dev type tmpfs (rw,noatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,noatime,mode=600)
/dev/mtdblock3 on /overlay type jffs2 (rw,noatime)
overlayfs:/overlay on / type overlayfs (rw,relatime,lowerdir=/,upperdir=/overlay)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
none on /proc/bus/usb type usbfs (rw,relatime)
/dev/sda3 on /tmp/share_home/makra/makra type ext4 (rw,noatime,user_xattr,barrier=1,data=ordered)
/dev/sda3 on /tmp/share_home/maciek/maciek type ext4 (rw,noatime,user_xattr,barrier=1,data=ordered)
/dev/sda3 on /tmp/share_home/pomoce/pomoce type ext4 (rw,noatime,user_xattr,barrier=1,data=ordered)
/dev/sda3 on /tmp/share_home/prywatny/prywatny type ext4 (rw,noatime,user_xattr,barrier=1,data=ordered)
/dev/sda1 on /tmp/usb_mount/013d1e69-0cbc-4caa-b203-e591ecbc6aa8 type ext4 (rw,noatime,user_xattr,barrier=1,data=ordered)
/dev/sda3 on /tmp/usb_mount/669d4963-1e37-47aa-ad21-623a71224cb0 type ext4 (rw,noatime,user_xattr,barrier=1,data=ordered)

ale podkreslam: W tej chwili jest ok.

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

27

Odp: Aktualizacja plugina usb-storage Gargoyle

OMG... Nie jest ok! Teraz po reboocie samba nie dziala, nie rozpoznaje hasla. Plugin gargoyle nie widzi sda3. Ftp dziala, ale nie widac w gui przydzielonych zasobow ani dysku sda3.

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

28

Odp: Aktualizacja plugina usb-storage Gargoyle

Pokaż mount...

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

29

Odp: Aktualizacja plugina usb-storage Gargoyle

root@Gargoyle:~# mount
rootfs on / type rootfs (rw)
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,noatime)
sysfs on /sys type sysfs (rw,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
tmpfs on /dev type tmpfs (rw,noatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,noatime,mode=600)
/dev/mtdblock3 on /overlay type jffs2 (rw,noatime)
overlayfs:/overlay on / type overlayfs (rw,relatime,lowerdir=/,upperdir=/overlay)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
none on /proc/bus/usb type usbfs (rw,relatime)
/dev/sda3 on /tmp/share_home/makra/makra type ext4 (rw,noatime,user_xattr,barrier=1,data=ordered)
/dev/sda3 on /tmp/share_home/maciek/maciek type ext4 (rw,noatime,user_xattr,barrier=1,data=ordered)
/dev/sda3 on /tmp/share_home/pomoce/pomoce type ext4 (rw,noatime,user_xattr,barrier=1,data=ordered)
/dev/sda3 on /tmp/share_home/prywatny/prywatny type ext4 (rw,noatime,user_xattr,barrier=1,data=ordered)
/dev/sda1 on /tmp/usb_mount/013d1e69-0cbc-4caa-b203-e591ecbc6aa8 type ext4 (rw,noatime,user_xattr,barrier=1,data=ordered)
/dev/sda3 on /tmp/usb_mount/669d4963-1e37-47aa-ad21-623a71224cb0 type ext4 (rw,noatime,user_xattr,barrier=1,data=ordered)
MiniPC 6xRJ45 2Gb, N100, 16GB DDR5, 1TB NVMe (Gargoyle)
Linksys WRT3200ACM (Gargoyle)
Tp-link 1043NDv2 (Gargoyle)

30

Odp: Aktualizacja plugina usb-storage Gargoyle

A jeszcze jedno: Skopiowalem tylko folder openvpn, ale to chyba nie ma znaczenia.

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

31

Odp: Aktualizacja plugina usb-storage Gargoyle

Wiesz że tu nie ma żadnego extroot? Więc co właściwe, gdzie i po co kopiujesz?

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

32

Odp: Aktualizacja plugina usb-storage Gargoyle

No dokladnie, zrobilem firstboota by zrobic konfiguracje od zera. A tu taki zonk...

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

33

Odp: Aktualizacja plugina usb-storage Gargoyle

Powrocilem do sprawdzonej, stabilnej wersji 1.5.9.9.

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

34

Odp: Aktualizacja plugina usb-storage Gargoyle

@Cezary, znowu mam problem z pluginem. Na jednym pendrive jest extroot i swap. Działą wszystko ok, na drugim jedna partycja ext4. Jak podpiąłem ten drugi do routera to było ok, ustawiłem wszystko w menu gargoyle, ftp i sambę. Działało... Ale teraz po restarcie widze tylko komunikat "Nie wykryto żadnego zamontowanego nośnika USB."

root@Gargoyle:~# blkid
/dev/mtdblock2: TYPE="squashfs"
/dev/sdb1: UUID="1bcecf7f-db13-4699-9ffe-5e26b74a8bd8" TYPE="ext4"
/dev/sdb2: UUID="8ba14901-e919-441a-8ce3-21024ae349dc" TYPE="swap"
/dev/sdc5: UUID="6a9f75e5-2d4b-ce01-409f-74e52d4bce01" TYPE="ext4"

Co mogę zrobić aby w menu gargoyle ponownie były widoczne ustawienia i aby to stabilnie działało?

35

Odp: Aktualizacja plugina usb-storage Gargoyle

/etc/init.d/usb_storage start ?

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

36

Odp: Aktualizacja plugina usb-storage Gargoyle

próbowałem. próbowałem też wcześniej stop i dopiero start... nic...
odłączenie pendriva i podłączenie ponowne nic nie zmienia

37

Odp: Aktualizacja plugina usb-storage Gargoyle

mount co pokazuje po podłączeniu nośnika? System plików na nim sprawdziłeś?

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

38

Odp: Aktualizacja plugina usb-storage Gargoyle

root@Gargoyle:~# mount
rootfs on / type rootfs (rw)
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,noatime)
sysfs on /sys type sysfs (rw,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
tmpfs on /dev type tmpfs (rw,noatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,noatime,mode=600)
/dev/sda1 on /overlay type ext4 (rw,noatime,user_xattr,barrier=1,data=ordered)
overlayfs:/overlay on / type overlayfs (rw,relatime,lowerdir=/,upperdir=/overlay)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
none on /proc/bus/usb type usbfs (rw,relatime)
nfsd on /proc/fs/nfsd type nfsd (rw,relatime)
root@Gargoyle:~# e2fsck -y /dev/sdb5
e2fsck 1.42.4 (12-June-2012)
/dev/sdb5: recovering journal
Backing up journal inode block information.

/dev/sdb5 has been mounted 51 times without being checked, check forced.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information

/dev/sdb5: ***** FILE SYSTEM WAS MODIFIED *****
/dev/sdb5: 12/976896 files (0.0% non-contiguous), 273546/3903763 blocks

Powiedz proszę co robić.

39

Odp: Aktualizacja plugina usb-storage Gargoyle

On w ogóle Cie nie montuje. Po sprawdzeniu jak podłączysz co masz?

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

40

Odp: Aktualizacja plugina usb-storage Gargoyle

To było tuż po podłączeniu (mount).
Sformatowałem go i po podłączeniu pojawił się jako /dev/sdb1. Obecny wynik mount:

root@Gargoyle:~# mount
rootfs on / type rootfs (rw)
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,noatime)
sysfs on /sys type sysfs (rw,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
tmpfs on /dev type tmpfs (rw,noatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,noatime,mode=600)
/dev/sda1 on /overlay type ext4 (rw,noatime,user_xattr,barrier=1,data=ordered)
overlayfs:/overlay on / type overlayfs (rw,relatime,lowerdir=/,upperdir=/overlay)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
none on /proc/bus/usb type usbfs (rw,relatime)
/dev/sdb1 on /tmp/usb_mount/4239f59b-aa7a-41ad-baaf-2d9c812015ba type ext4 (rw,noatime,user_xattr,barrier=1,data=ordered)
/dev/sdb1 on /tmp/share_home/mateusz/NAS type ext4 (rw,noatime,user_xattr,barrier=1,data=ordered)
nfsd on /proc/fs/nfsd type nfsd (rw,relatime)

Czy ja mam w fstab po uuid ustawić jego montowanie aby się montował poprawnie?

41

Odp: Aktualizacja plugina usb-storage Gargoyle

Tez Ci zamontował.

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

42 (edytowany przez sqbi 2013-05-07 18:56:52)

Odp: Aktualizacja plugina usb-storage Gargoyle

a czy kiedyś po restarcie nie zrobi się np jako /dev/sdb2 ? W sensie że zawsze będzie sdb1 ?

43

Odp: Aktualizacja plugina usb-storage Gargoyle

Nie, może być sdc1 itd. Ważne że uuid się nie zmienia.

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

44

Odp: Aktualizacja plugina usb-storage Gargoyle

Czyli jak rozumiem ustawienia FTP i samby przez menu Gargoyle bazują na uuid a nie przykładowo /dev/sdb1 ?

45

Odp: Aktualizacja plugina usb-storage Gargoyle

Zależy co wybierzesz w gui - masz tam wybór albo konkretnego dysku albo numeru partycji na dowolnym dysku.

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

46

Odp: Aktualizacja plugina usb-storage Gargoyle

Problem mam dalej nie rozwiązany tylko nie miałem czasu nad tym siedzieć. Dysk niby zamontowany ale w GUI "brak podłączonych dysków". Windows nie może podpiąć się do dysku sieciowego. Cezary, co może być przyczyną? O dziwo FTP wcześniej ustawione działa.

root@Gargoyle:~# mount
rootfs on / type rootfs (rw)
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,noatime)
sysfs on /sys type sysfs (rw,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
tmpfs on /dev type tmpfs (rw,noatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,noatime,mode=600)
/dev/sda1 on /overlay type ext4 (rw,noatime,user_xattr,barrier=1,data=ordered)
overlayfs:/overlay on / type overlayfs (rw,relatime,lowerdir=/,upperdir=/overlay)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
none on /proc/bus/usb type usbfs (rw,relatime)
/dev/sdb1 on /tmp/share_home/mateusz/NAS type ext4 (rw,noatime,user_xattr,barrier=1,data=ordered)
/dev/sdb1 on /tmp/usb_mount/9482b8ef-5b97-40c4-a912-7aaa74cd43f3 type ext4 (rw,noatime,user_xattr,barrier=1,data=ordered)
root@Gargoyle:~# uci show fstab
fstab.automount=global
fstab.automount.from_fstab=1
fstab.automount.anon_mount=0
fstab.autoswap=global
fstab.autoswap.from_fstab=1
fstab.autoswap.anon_swap=0
fstab.@mount[0]=mount
fstab.@mount[0].fstype=ext4
fstab.@mount[0].target=/overlay
fstab.@mount[0].uuid=1bcecf7f-db13-4699-9ffe-5e26b74a8bd8
fstab.@mount[0].options=rw,noatime
fstab.@mount[0].enabled=1
fstab.@mount[0].enabled_fsck=1
fstab.@swap[0]=swap
fstab.@swap[0].device=/dev/sda2
fstab.@swap[0].enabled=0

47

Odp: Aktualizacja plugina usb-storage Gargoyle

Bo jest zamontowane. Co masz w /tmp/mounted_usb_storage.tab ?

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

48

Odp: Aktualizacja plugina usb-storage Gargoyle

system plików mi padł czy co?

May 17 18:13:29 Gargoyle kern.crit kernel: [  858.940000] EXT4-fs error (device sda1): ext4_find_entry:935: inode #141: comm httpd_gargoyle: reading directory lblock 0
May 17 18:13:29 Gargoyle kern.crit kernel: [  859.310000] EXT4-fs error (device sda1): ext4_find_entry:935: inode #421: comm httpd_gargoyle: reading directory lblock 0
May 17 18:13:29 Gargoyle kern.crit kernel: [  859.410000] EXT4-fs error (device sda1): ext4_find_entry:935: inode #141: comm httpd_gargoyle: reading directory lblock 0
May 17 18:13:34 Gargoyle kern.crit kernel: [  863.750000] EXT4-fs error (device sda1): ext4_find_entry:935: inode #423: comm httpd_gargoyle: reading directory lblock 0
May 17 18:13:34 Gargoyle kern.crit kernel: [  863.860000] EXT4-fs error (device sda1): ext4_find_entry:935: inode #12: comm sh: reading directory lblock 0
May 17 18:13:34 Gargoyle kern.crit kernel: [  863.880000] EXT4-fs error (device sda1): ext4_find_entry:935: inode #132: comm sh: reading directory lblock 0
May 17 18:13:39 Gargoyle kern.crit kernel: [  869.420000] EXT4-fs error (device sda1): ext4_find_entry:935: inode #141: comm httpd_gargoyle: reading directory lblock 0
May 17 18:14:06 Gargoyle kern.crit kernel: [  895.820000] EXT4-fs error (device sda1): ext4_find_entry:935: inode #12: comm sh: reading directory lblock 0
May 17 18:14:06 Gargoyle kern.crit kernel: [  895.850000] EXT4-fs error (device sda1): ext4_find_entry:935: inode #132: comm sh: reading directory lblock 0

49

Odp: Aktualizacja plugina usb-storage Gargoyle

Cezary napisał/a:

Bo jest zamontowane. Co masz w /tmp/mounted_usb_storage.tab ?

W tej chwili w ogóle nie mam takiego pliku

50

Odp: Aktualizacja plugina usb-storage Gargoyle

Tak, sprawdź system plików.

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