Dzień dobry,
Używam OpenWrt 21.02.3 r16554-1d4dea6d4f na ZBT-WG3526 (MT7621, architektura ramips, paczki mipsel_24kc). Dotąd używałem sobie dysku WD 12TB, działa bez probblemu. Chciałem podłączyć napęd 18TB - mam obudowę wielozatokową (Orico DS500C3), więc przełożyłem WD, dołożyłem nowy dysk i podłączyłem taki zestaw do rutera.
Kontroler wydaje się działać OK, pod Windowsem te dyski są widziane i zarządzane (nie wiem jak np. pod Ubuntu), natomiast pod OpenWrt na tym sprzęcie mam albo "damaged GPT" (gdisk i parted), albo "unexpected end of file", albo mount mi mówi że nie zamontuje mi tego, bo to niebezpieczne, jeśli już nawet uda mi się utworzyć fs (ewentualnie "volume too large".
Czy coś będę w stanie tutaj ugrać, czy szykować się na zmianę sprzętu? Dodam że i tak mam zamiar to zrobić, bo OpenWrt nie pociągnie mi np. Plexa, ale pomyślałem że póki nie mam czegoś mocniejszego to na razie mogłoby to tak działać jak działało do tej pory - tj. minidlna i samba.
Będę wdzieczny za ogląd. Zostawiam kawałek dumpu z paru poleceń, może będzie pomocny. W razie czego pytajcie.
root@openwrt:~# lsusb
Bus 001 Device 002: ID 2c7c:0125 Android Android
Bus 001 Device 001: ID 1d6b:0002 Linux 5.4.188 xhci-hcd xHCI Host Controller
Bus 002 Device 003: ID 152d:0567 JMicron External USB 3.0
Bus 002 Device 001: ID 1d6b:0003 Linux 5.4.188 xhci-hcd xHCI Host Controller
root@openwrt:~# ll /dev/sd*
brw------- 1 root root 8, 0 Jan 1 1970 /dev/sda
brw------- 1 root root 8, 1 Jan 1 1970 /dev/sda1
brw------- 1 root root 8, 16 Jul 29 14:12 /dev/sdb
brw------- 1 root root 8, 17 Jul 29 14:12 /dev/sdb1
brw------- 1 root root 8, 18 Jul 29 14:12 /dev/sdb2
brw------- 1 root root 8, 32 Jul 29 14:12 /dev/sdc
brw------- 1 root root 8, 33 Jul 29 14:12 /dev/sdc1
root@openwrt:~# gdisk /dev/sdb
GPT fdisk (gdisk) version 1.0.6
Warning! Read error 27; strange behavior now likely!
Caution: invalid backup GPT header, but valid main header; regenerating
backup header from main header.
Warning! Error 27 reading partition table for CRC check!
Warning! One or more CRCs don't match. You should repair the disk!
Main header: OK
Backup header: ERROR
Main partition table: OK
Backup partition table: ERROR
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: damaged
****************************************************************************
Caution: Found protective or hybrid MBR and corrupt GPT. Using GPT, but disk
verification and recovery are STRONGLY recommended.
****************************************************************************
Command (? for help): q
root@openwrt:~# parted /dev/sdb
GNU Parted 3.4
Using /dev/sdb
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
Error: end of file while reading /dev/sdb
Retry/Ignore/Cancel? i
Error: The backup GPT table is corrupt, but the primary appears OK, so that will be used.
OK/Cancel? o
Model: External USB3.0 DISK03 (scsi)
Disk /dev/sdb: 18.0TB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 17.4kB 16.8MB 16.8MB Microsoft reserved partition msftres
2 16.8MB 18.0TB 18.0TB Basic data partition msftdata
(parted) quit
root@openwrt:~# lsmod
ahci 14000 1
ata_piix 10416 0
btrfs 1061264 0
cfg80211 279376 5 mt76x2_common,mt76x02_lib,mt7603e,mt76,mac80211
compat 1344 2 mac80211,cfg80211
crc_ccitt 1696 1 ppp_async
crc32_generic 1376 1
crc32c_generic 1376 3
ehci_fsl 3456 0
ehci_hcd 36912 3 ehci_pci,ehci_platform,ehci_fsl
ehci_pci 2880 0
ehci_platform 4800 0
ext4 417648 1
f2fs 369248 1
fsl_mph_dr_of 3600 0
gpio_button_hotplug 6752 0
ip_tables 11488 4 iptable_nat,iptable_mangle,iptable_filter
ip6_tables 11264 24 ip6table_mangle,ip6table_filter
ip6t_REJECT 1248 2
ip6table_filter 928 1
ip6table_mangle 1344 1
ipt_REJECT 1184 2
iptable_filter 896 1
iptable_mangle 1056 1
iptable_nat 1088 1
jbd2 56592 1 ext4
leds_gpio 3008 0
ledtrig_usbport 2768 0
libahci 19408 1 ahci
libata 144096 6 sata_via,ata_piix,sata_nv,sata_mv,ahci,libahci
libcrc32c 592 2 btrfs,xfs
mac80211 523200 4 mt76x2e,mt76x02_lib,mt7603e,mt76
mbcache 3952 1 ext4
md_mod 120400 3 raid10,raid1,raid0
mmc_block 26704 0
mmc_core 85088 2 mmc_block,mtk_sd
mt76 44064 4 mt76x2e,mt76x2_common,mt76x02_lib,mt7603e
mt7603e 38592 0
mt76x02_lib 40448 2 mt76x2e,mt76x2_common
mt76x2_common 11712 1 mt76x2e
mt76x2e 10336 0
mtk_sd 15344 0
nf_conntrack 75568 8 xt_state,xt_nat,xt_conntrack,xt_REDIRECT,xt_MASQUERADE,xt_CT,nf_nat,nf_flow_table
nf_defrag_ipv4 1216 1 nf_conntrack
nf_defrag_ipv6 5712 1 nf_conntrack
nf_flow_table 15408 2 xt_FLOWOFFLOAD,nf_flow_table_hw
nf_flow_table_hw 2416 1
nf_log_common 2976 2 nf_log_ipv4,nf_log_ipv6
nf_log_ipv4 3616 0
nf_log_ipv6 4320 0
nf_nat 26000 4 iptable_nat,xt_nat,xt_REDIRECT,xt_MASQUERADE
nf_reject_ipv4 2272 1 ipt_REJECT
nf_reject_ipv6 2688 1 ip6t_REJECT
nls_base 5296 2 f2fs,usbcore
ohci_hcd 25456 2 ohci_pci,ohci_platform
ohci_pci 1952 0
ohci_platform 3712 0
ppp_async 7344 0
ppp_generic 24848 3 pppoe,ppp_async,pppox
pppoe 9152 0
pppox 1296 1 pppoe
raid0 9136 0
raid1 33952 0
raid10 51136 0
raid6_pq 87232 1 btrfs
sata_mv 24528 0
sata_nv 17136 0
sata_via 6832 0
scsi_mod 86192 5 ums_cypress,uas,usb_storage,libata,sd_mod
sd_mod 29136 4
slhc 5280 1 ppp_generic
uas 12208 0
uhci_hcd 19728 0
ums_alauda 8896 0
ums_cypress 2624 0
ums_datafab 5152 0
ums_freecom 2176 0
ums_isd200 5856 0
ums_jumpshot 4224 0
ums_karma 1824 0
ums_sddr09 9632 0
ums_sddr55 6112 0
ums_usbat 8768 0
usb_common 2704 5 ohci_hcd,ehci_platform,xhci_plat_hcd,xhci_hcd,usbcore
usb_storage 42272 12 ums_usbat,ums_sddr55,ums_sddr09,ums_karma,ums_jumpshot,ums_isd200,ums_freecom,ums_datafab,ums_cypress,ums_alauda,uas
usbcore 141312 25 ums_usbat,ums_sddr55,ums_sddr09,ums_karma,ums_jumpshot,ums_isd200,ums_freecom,ums_datafab,ums_cypress,ums_alauda,ledtrig_usbport,uas,usb_storage,ohci_pci,uhci_hcd,ohci_platform,ohci_hcd,ehci_pci,ehci_platform,ehci_fsl,ehci_hcd,xhci_plat_hcd,xhci_pci,xhci_mtk,xhci_hcd
x_tables 15696 24 xt_state,xt_nat,xt_conntrack,xt_REDIRECT,xt_MASQUERADE,xt_FLOWOFFLOAD,xt_CT,ipt_REJECT,xt_time,xt_tcpudp,xt_multiport,xt_mark,xt_mac,xt_limit,xt_comment,xt_TCPMSS,xt_LOG,iptable_mangle,iptable_filter,ip_tables,ip6table_mangle,ip6table_filter,ip6_tables,ip6t_REJECT
xfs 655248 0
xhci_hcd 115744 3 xhci_plat_hcd,xhci_pci,xhci_mtk
xhci_mtk 4928 0
xhci_pci 3744 0
xhci_plat_hcd 5856 0
xor 6192 1 btrfs
xt_CT 2912 0
xt_FLOWOFFLOAD 3248 0
xt_LOG 768 0
xt_MASQUERADE 832 1
xt_REDIRECT 704 0
xt_TCPMSS 3168 8
xt_comment 512157
xt_conntrack 2432 16
xt_limit 1312 22
xt_mac 640 0
xt_mark 672 0
xt_multiport 1312 0
xt_nat 2432 0
xt_state 832 0
xt_tcpudp 1824 24
xt_time 1952 0
xxhash 8416 2 zstd_decompress,zstd_compress
zstd 2656 0
zstd_compress 151328 2 zstd,btrfs
zstd_decompress 49408 2 zstd,btrfs
root@openwrt:~#