Добрый день. Может кто-нибудь помочь с такой проблемой. Имеется внешний диск 3Q на 2Тб. На старом роутере Xiaomi (Padavan) работал нормально. На абсолютно новом кинетике KN-1912 проблемы с монтированием раздела SWAP. На диске он есть, 500 Мб и разделы ext2 ext3. Под SWAP система пытается выбрать весь диск. Лог с кинетика:
Янв 16 14:24:21 kernel
usb 1-1.3: new high-speed USB device number 10 using xhci-mtk
Янв 16 14:24:21 kernel
usb 1-1.3: New USB device found, idVendor=13fd, idProduct=1840, bcdDevice= 1.08
Янв 16 14:24:21 kernel
usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Янв 16 14:24:21 kernel
usb 1-1.3: Product: USB 2.0 Drive
Янв 16 14:24:21 kernel
usb 1-1.3: Manufacturer: PI-265
Янв 16 14:24:21 kernel
usb 1-1.3: SerialNumber: 57442D574D43344D33303634
Янв 16 14:24:21 kernel
usb-storage 1-1.3:1.0: USB Mass Storage device detected
Янв 16 14:24:21 kernel
scsi host1: usb-storage 1-1.3:1.0
Янв 16 14:24:22 kernel
scsi 1:0:0:0: Direct-Access PI-265 USB 2.0 Drive 1.08 PQ: 0 ANSI: 4
Янв 16 14:24:22 kernel
sd 1:0:0:0: Attached scsi generic sg0 type 0
Янв 16 14:24:22 kernel
sd 1:0:0:0: [sdb] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
Янв 16 14:24:22 kernel
sd 1:0:0:0: [sdb] Write Protect is off
Янв 16 14:24:22 kernel
sd 1:0:0:0: [sdb] Mode Sense: 23 00 00 00
Янв 16 14:24:22 kernel
sd 1:0:0:0: [sdb] No Caching mode page found
Янв 16 14:24:22 kernel
sd 1:0:0:0: [sdb] Assuming drive cache: write through
Янв 16 14:24:22 kernel
sdb: sdb1 sdb2 sdb3
Янв 16 14:24:22 kernel
sd 1:0:0:0: [sdb] Attached SCSI disk
Янв 16 14:24:22 ndm
Storage::Manager: "Media1": enabled a disk spin down.
Янв 16 14:24:22 ndm
Storage::Partition: swap "1cbfca3f-dc6c-44ea-ab03-f75d9c605a7b:": filesystem initialized.
Янв 16 14:24:22 kernel
Truncating oversized swap area, only using 2097152k out of 1953514580k
Янв 16 14:24:22 kernel
Adding 2097148k swap on /dev/sdb. Priority:-2 extents:1 across:2097148k
Янв 16 14:24:22 ndm
Storage::Manager: "Media1": registered partition "1cbfca3f-dc6c-44ea-ab03-f75d9c605a7b:".
Янв 16 14:24:22 ndm
Storage::Manager: created "Media1", port 1.
Янв 16 14:24:22 ndm
Storage::Partition: swap "00000000-0000-0000-0000-000000000000:": filesystem initialized.
Янв 16 14:24:22 ndm
Core::FileSystem::Native: unable to enable swap: device or resource busy.
Янв 16 14:24:22 ndm
Storage::Partition: failed to mount.
Янв 16 14:24:22 ndm
Storage::Partition: swap "00000000-0000-0000-0000-000000000000:": unable to mount.
Янв 16 14:24:22 ndm
Storage::Manager: "Media1": failed to register partition "00000000-0000-0000-0000-000000000000:".
Янв 16 14:24:22 ndm
Storage::Partition: ntfs "0ABC16840ABC1684:": filesystem initialized.
Янв 16 14:24:22 ndm
Core::FileSystem::Native: failed to mount "/tmp/mnt/0ABC16840ABC1684": device or resource busy.
Янв 16 14:24:22 ndm
Storage::Partition: failed to mount.
Янв 16 14:24:22 ndm
Storage::Partition: ntfs "0ABC16840ABC1684:": unable to mount.
Янв 16 14:24:22 ndm
Storage::Manager: "Media1": failed to register partition "0ABC16840ABC1684:".
Янв 16 14:24:22 ndm
Storage::Partition: ext3 "e57b7122-44e7-4c98-aabd-1a3d7bf2e3a7:": filesystem initialized.
Янв 16 14:24:22 ndm
Core::FileSystem::Native: failed to mount "/tmp/mnt/e57b7122-44e7-4c98-aabd-1a3d7bf2e3a7": device or resource busy.
Янв 16 14:24:22 ndm
Storage::Partition: failed to mount.
Янв 16 14:24:22 ndm
Storage::Partition: ext3 "e57b7122-44e7-4c98-aabd-1a3d7bf2e3a7:": unable to mount.
Янв 16 14:24:22 ndm
Storage::Manager: "Media1": failed to register partition "e57b7122-44e7-4c98-aabd-1a3d7bf2e3a7:".
Видно, что система пытается под SWAP выделить не из области Linux Swap (около 512 Мб) а из всего диска 2Тб.(Янв 16 14:24:22 kernel
Truncating oversized swap area, only using 2097152k out of 1953514580k
Янв 16 14:24:22 kernel
Adding 2097148k swap on /dev/sdb. Priority:-2 extents:1 across:2097148k)
Тот же диск на Xiaomi:
Jan 1 00:00:17 kernel: usb 1-1: new high-speed USB device number 2 using ehci-platform
Jan 1 00:00:17 kernel: usb 1-1: New USB device found, idVendor=13fd, idProduct=1840
Jan 1 00:00:17 kernel: usb 1-1: Product: USB 2.0 Drive
Jan 1 00:00:17 kernel: usb 1-1: Manufacturer: PI-265
Jan 1 00:00:17 kernel: usb 1-1: SerialNumber: 57442D574D43344D33303634
Jan 1 00:00:17 kernel: scsi0 : usb-storage 1-1:1.0
Jan 1 00:00:20 kernel: scsi 0:0:0:0: Direct-Access PI-265 USB 2.0 Drive 1.08 PQ: 0 ANSI: 4
Jan 1 00:00:20 kernel: sd 0:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB)
Jan 1 00:00:20 kernel: sd 0:0:0:0: Attached scsi generic sg0 type 0
Jan 1 00:00:20 kernel: sd 0:0:0:0: [sda] Write Protect is off
Jan 1 00:00:20 kernel: sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
Jan 1 00:00:20 kernel: sd 0:0:0:0: [sda] No Caching mode page found
Jan 1 00:00:20 kernel: sd 0:0:0:0: [sda] Assuming drive cache: write through
Jan 1 00:00:20 kernel: sd 0:0:0:0: [sda] No Caching mode page found
Jan 1 00:00:20 kernel: sd 0:0:0:0: [sda] Assuming drive cache: write through
Jan 1 00:00:20 kernel: sda: sda1 sda2 sda3
Jan 1 00:00:20 kernel: sd 0:0:0:0: [sda] No Caching mode page found
Jan 1 00:00:20 usb_modeswitch: no rule for device 13fd:1840
Jan 1 00:00:20 kernel: sd 0:0:0:0: [sda] Assuming drive cache: write through
Jan 1 00:00:20 kernel: sd 0:0:0:0: [sda] Attached SCSI disk
Jan 1 00:00:21 kernel: Adding 520188k swap on /dev/sda1. Priority:-1 extents:1 across:520188k
Jan 1 00:00:21 automount: Activate swap partition /dev/sda1 SUCCESS!
Jan 1 00:00:21 kernel: fuse init (API version 7.18)
Jan 1 00:00:21 kernel: EXT4-fs (sda3): mounting ext3 file system using the ext4 subsystem
Jan 1 00:00:21 ntfs-3g[541]: Version 2017.3.23 integrated FUSE 27
Jan 1 00:00:21 ntfs-3g[541]: Mounted /dev/sda2 (Read-Write, label "Disk_2Tb", NTFS 3.1)
Jan 1 00:00:21 ntfs-3g[541]: Cmdline options: noatime,umask=0,big_writes
Jan 1 00:00:21 ntfs-3g[541]: Mount options: allow_other,nonempty,noatime,default_permissions,fsname=/dev/sda2,blkdev,blksize=512
Jan 1 00:00:21 ntfs-3g[541]: Global ownership and permissions enforced, configuration type 1
Jan 1 00:00:22 kernel: EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null)
Jan 1 00:00:29 Samba Server: daemon is started
Уже и пожертвовал данными с диска, сделал один в один по инструкции, присланной из поддержки, толку ноль.