Cannot mount RAID /dev/md0 - 8 TB

471 views
Skip to first unread message

Andrea Borghi

unread,
Jan 12, 2016, 10:09:15 AM1/12/16
to Alt-F
Hi Have a DNS 325 running Alt-F with 2 $TB Drives iN Raid 0

All worked until today when a check disk was forced on the RAID.
The RAID is OK but it is mounted read only because:


[root@nas]# e2fsck /dev/md0
e2fsck 1.41.14 (22-Dec-2010)
/dev/md0 has gone 204 days without being checked, check forced.
Pass 1: Checking inodes, blocks, and sizes
Error allocating block bitmap (4): Memory allocation failed
e2fsck: aborted

Can you help me?

João Cardoso

unread,
Jan 12, 2016, 1:15:24 PM1/12/16
to Alt-F
Do you have swap? Is it active? Probably not, what is the 'swap' state in the Status webUI, right top?
Attach the System Configuration log, System->Utilities->Logs
 

Can you help me?

Andrea Borghi

unread,
Jan 12, 2016, 1:50:42 PM1/12/16
to Alt-F
Jan 12 10:17:28 nas syslog.info syslogd started: BusyBox v1.20.2
Jan 12 10:17:28 nas user.notice kernel: klogd started: BusyBox v1.20.2 (2015-01-30 16:18:45 WET)
Jan 12 10:17:28 nas user.info kernel: Booting Linux on physical CPU 0x0
Jan 12 10:17:28 nas user.notice kernel: Linux version 3.10.32 (jcard@silver) (gcc version 4.3.3 (GCC) ) #1 Fri Jan 30 16:37:58 WET 2015
Jan 12 10:17:28 nas user.warn kernel: CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
Jan 12 10:17:28 nas user.warn kernel: CPU: VIVT data cache, VIVT instruction cache
Jan 12 10:17:28 nas user.info kernel: Machine: Marvell Kirkwood (Flattened Device Tree), model: D-Link DNS-325 NAS (Rev A1/A2)
Jan 12 10:17:28 nas user.warn kernel: Memory policy: ECC disabled, Data cache writeback
Jan 12 10:17:28 nas user.debug kernel: On node 0 totalpages: 65536
Jan 12 10:17:28 nas user.notice root: Starting syslogd: OK. Starting klogd: OK.
Jan 12 10:17:28 nas user.debug kernel: free_area_init_node: node 0, pgdat c04c1b88, node_mem_map c0aea000
Jan 12 10:17:28 nas user.debug kernel:   Normal zone: 512 pages used for memmap
Jan 12 10:17:28 nas user.debug kernel:   Normal zone: 0 pages reserved
Jan 12 10:17:28 nas user.debug kernel:   Normal zone: 65536 pages, LIFO batch:15
Jan 12 10:17:28 nas user.debug kernel: pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
Jan 12 10:17:28 nas user.debug kernel: pcpu-alloc: [0] 0 
Jan 12 10:17:28 nas user.warn kernel: Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
Jan 12 10:17:28 nas user.notice kernel: Kernel command line: console=ttyS0,115200 root=/dev/ram0 init=/init
Jan 12 10:17:28 nas user.info kernel: PID hash table entries: 1024 (order: 0, 4096 bytes)
Jan 12 10:17:28 nas user.info kernel: Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Jan 12 10:17:28 nas user.info kernel: Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Jan 12 10:17:28 nas user.info kernel: Memory: 256MB = 256MB total
Jan 12 10:17:28 nas user.notice kernel: Memory: 251880k/251880k available, 10264k reserved, 0K highmem
Jan 12 10:17:28 nas user.notice kernel: Virtual kernel memory layout:
Jan 12 10:17:28 nas user.notice kernel:     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
Jan 12 10:17:28 nas user.notice kernel:     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
Jan 12 10:17:28 nas user.notice kernel:     vmalloc : 0xd0800000 - 0xff000000   ( 744 MB)
Jan 12 10:17:28 nas user.notice kernel:     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
Jan 12 10:17:28 nas user.notice kernel:     modules : 0xbf000000 - 0xc0000000   (  16 MB)
Jan 12 10:17:28 nas user.notice kernel:       .text : 0xc0008000 - 0xc0467fac   (4480 kB)
Jan 12 10:17:28 nas user.notice kernel:       .init : 0xc0468000 - 0xc0493354   ( 173 kB)
Jan 12 10:17:28 nas user.notice kernel:       .data : 0xc0494000 - 0xc04c22a0   ( 185 kB)
Jan 12 10:17:28 nas user.notice kernel:        .bss : 0xc04c22a0 - 0xc04d7fe4   (  88 kB)
Jan 12 10:17:28 nas user.info kernel: NR_IRQS:114
Jan 12 10:17:28 nas user.info kernel: sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474ms
Jan 12 10:17:28 nas user.info kernel: Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
Jan 12 10:17:28 nas user.info kernel: pid_max: default: 4096 minimum: 301
Jan 12 10:17:28 nas user.info kernel: Mount-cache hash table entries: 512
Jan 12 10:17:28 nas user.info kernel: CPU: Testing write buffer coherency: ok
Jan 12 10:17:28 nas user.info kernel: Setting up static identity map for 0xc03cb4c8 - 0xc03cb504
Jan 12 10:17:28 nas user.info kernel: xor: measuring software checksum speed
Jan 12 10:17:28 nas user.info kernel:    arm4regs  :  1087.200 MB/sec
Jan 12 10:17:28 nas user.info kernel:    8regs     :   806.000 MB/sec
Jan 12 10:17:28 nas user.info kernel:    32regs    :   881.200 MB/sec
Jan 12 10:17:28 nas user.info kernel: xor: using function: arm4regs (1087.200 MB/sec)
Jan 12 10:17:28 nas user.info kernel: pinctrl core: initialized pinctrl subsystem
Jan 12 10:17:28 nas user.info kernel: regulator-dummy: no parameters
Jan 12 10:17:28 nas user.info kernel: NET: Registered protocol family 16
Jan 12 10:17:28 nas user.info kernel: DMA: preallocated 256 KiB pool for atomic coherent allocations
Jan 12 10:17:28 nas user.info kernel: Kirkwood: MV88F6281-A1, TCLK=200000000.
Jan 12 10:17:28 nas user.info kernel: Feroceon L2: Enabling L2
Jan 12 10:17:28 nas user.info kernel: Feroceon L2: Cache support initialised.
Jan 12 10:17:28 nas user.err kernel: dnskw: Failed to register dnskw:power:recover
Jan 12 10:17:28 nas user.info kernel: No ATAGs?
Jan 12 10:17:28 nas user.info kernel: bio: create slab  at 0
Jan 12 10:17:28 nas user.warn kernel: raid6: int32x1    110 MB/s
Jan 12 10:17:28 nas user.warn kernel: raid6: int32x2    137 MB/s
Jan 12 10:17:28 nas user.warn kernel: raid6: int32x4    118 MB/s
Jan 12 10:17:28 nas user.warn kernel: raid6: int32x8    117 MB/s
Jan 12 10:17:28 nas user.warn kernel: raid6: using algorithm int32x2 (137 MB/s)
Jan 12 10:17:28 nas user.warn kernel: raid6: using intx1 recovery algorithm
Jan 12 10:17:28 nas user.err kernel: SATA0 Power: Failed to request enable GPIO39: -517
Jan 12 10:17:28 nas user.err kernel: reg-fixed-voltage 1.regulator: Failed to register regulator: -517
Jan 12 10:17:28 nas user.info kernel: platform 1.regulator: Driver reg-fixed-voltage requests probe deferral
Jan 12 10:17:28 nas user.err kernel: SATA1 Power: Failed to request enable GPIO40: -517
Jan 12 10:17:28 nas user.err kernel: reg-fixed-voltage 2.regulator: Failed to register regulator: -517
Jan 12 10:17:28 nas user.info kernel: platform 2.regulator: Driver reg-fixed-voltage requests probe deferral
Jan 12 10:17:28 nas user.notice kernel: SCSI subsystem initialized
Jan 12 10:17:28 nas user.debug kernel: libata version 3.00 loaded.
Jan 12 10:17:28 nas user.info kernel: usbcore: registered new interface driver usbfs
Jan 12 10:17:28 nas user.info kernel: usbcore: registered new interface driver hub
Jan 12 10:17:28 nas user.info kernel: usbcore: registered new device driver usb
Jan 12 10:17:28 nas user.info kernel: Switching to clocksource orion_clocksource
Jan 12 10:17:28 nas user.info kernel: NET: Registered protocol family 2
Jan 12 10:17:28 nas user.info kernel: TCP established hash table entries: 2048 (order: 2, 16384 bytes)
Jan 12 10:17:28 nas user.info kernel: TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
Jan 12 10:17:28 nas user.info kernel: TCP: Hash tables configured (established 2048 bind 2048)
Jan 12 10:17:28 nas user.info kernel: TCP: reno registered
Jan 12 10:17:28 nas user.info kernel: UDP hash table entries: 256 (order: 0, 4096 bytes)
Jan 12 10:17:28 nas user.info kernel: UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
Jan 12 10:17:28 nas user.info kernel: NET: Registered protocol family 1
Jan 12 10:17:28 nas user.info kernel: RPC: Registered named UNIX socket transport module.
Jan 12 10:17:28 nas user.info kernel: RPC: Registered udp transport module.
Jan 12 10:17:28 nas user.info kernel: RPC: Registered tcp transport module.
Jan 12 10:17:28 nas user.info kernel: RPC: Registered tcp NFSv4.1 backchannel transport module.
Jan 12 10:17:28 nas user.debug kernel: PCI: CLS 0 bytes, default 32
Jan 12 10:17:28 nas user.info kernel: Trying to unpack rootfs image as initramfs...
Jan 12 10:17:28 nas user.info kernel: rootfs image is not initramfs (junk in compressed archive); looks like an initrd
Jan 12 10:17:28 nas user.info kernel: Freeing initrd memory: 2984K (c0800000 - c0aea000)
Jan 12 10:17:28 nas user.notice kernel: VFS: Disk quotas dquot_6.5.2
Jan 12 10:17:28 nas user.warn kernel: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Jan 12 10:17:28 nas user.info kernel: squashfs: version 4.0 (2009/01/31) Phillip Lougher
Jan 12 10:17:28 nas user.info kernel: Installing knfsd (copyright (C) 1996 ok...@monad.swb.de).
Jan 12 10:17:28 nas user.info kernel: jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
Jan 12 10:17:28 nas user.info kernel: aufs 3.10.x-20140127
Jan 12 10:17:28 nas user.info kernel: msgmni has been set to 497
Jan 12 10:17:28 nas user.info kernel: async_tx: api initialized (async)
Jan 12 10:17:28 nas user.info kernel: io scheduler noop registered
Jan 12 10:17:28 nas user.info kernel: io scheduler cfq registered (default)
Jan 12 10:17:28 nas user.info kernel: kirkwood-pinctrl f1010000.pinctrl: registered pinctrl driver
Jan 12 10:17:28 nas user.notice kernel: mv_xor f1060800.xor: Marvell shared XOR driver
Jan 12 10:17:28 nas user.info kernel: mv_xor f1060800.xor: Marvell XOR: ( xor cpy )
Jan 12 10:17:28 nas user.info kernel: mv_xor f1060800.xor: Marvell XOR: ( xor fill cpy )
Jan 12 10:17:28 nas user.notice kernel: mv_xor f1060900.xor: Marvell shared XOR driver
Jan 12 10:17:28 nas user.info kernel: mv_xor f1060900.xor: Marvell XOR: ( xor cpy )
Jan 12 10:17:28 nas user.info kernel: mv_xor f1060900.xor: Marvell XOR: ( xor fill cpy )
Jan 12 10:17:28 nas user.info kernel: Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
Jan 12 10:17:28 nas user.info kernel: f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
Jan 12 10:17:28 nas user.info kernel: console [ttyS0] enabled
Jan 12 10:17:28 nas user.info kernel: brd: module loaded
Jan 12 10:17:28 nas user.info kernel: loop: module loaded
Jan 12 10:17:28 nas user.debug kernel: sata_mv f1080000.sata: version 1.28
Jan 12 10:17:28 nas user.info kernel: sata_mv f1080000.sata: slots 32 ports 2
Jan 12 10:17:28 nas user.info kernel: scsi0 : sata_mv
Jan 12 10:17:28 nas user.info kernel: scsi1 : sata_mv
Jan 12 10:17:28 nas user.info kernel: ata1: SATA max UDMA/133 irq 21
Jan 12 10:17:28 nas user.info kernel: ata2: SATA max UDMA/133 irq 21
Jan 12 10:17:28 nas user.info kernel: NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit), 128MiB, page size: 2048, OOB size: 64
Jan 12 10:17:28 nas user.info kernel: Scanning device for bad blocks
Jan 12 10:17:28 nas user.warn kernel: Bad eraseblock 214 at 0x000001ac0000
Jan 12 10:17:28 nas user.notice kernel: 6 ofpart partitions found on MTD device orion_nand
Jan 12 10:17:28 nas user.notice kernel: Creating 6 MTD partitions on "orion_nand":
Jan 12 10:17:28 nas user.notice kernel: 0x000000000000-0x000000100000 : "u-boot"
Jan 12 10:17:28 nas user.notice kernel: 0x000000100000-0x000000600000 : "uImage"
Jan 12 10:17:28 nas user.notice kernel: 0x000000600000-0x000000b00000 : "ramdisk"
Jan 12 10:17:28 nas user.notice kernel: 0x000000b00000-0x000007100000 : "image"
Jan 12 10:17:28 nas user.notice kernel: 0x000007100000-0x000007b00000 : "mini firmware"
Jan 12 10:17:28 nas user.notice kernel: 0x000007b00000-0x000008000000 : "config"
Jan 12 10:17:28 nas user.info kernel: libphy: orion_mdio_bus: probed
Jan 12 10:17:28 nas user.notice kernel: mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
Jan 12 10:17:28 nas user.notice kernel: mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:50:43:66:06:11
Jan 12 10:17:28 nas user.info kernel: ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Jan 12 10:17:28 nas user.info kernel: ehci-pci: EHCI PCI platform driver
Jan 12 10:17:28 nas user.info kernel: ehci-orion: EHCI orion driver
Jan 12 10:17:28 nas user.info kernel: orion-ehci f1050000.ehci: EHCI Host Controller
Jan 12 10:17:28 nas user.info kernel: orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
Jan 12 10:17:28 nas user.info kernel: orion-ehci f1050000.ehci: irq 19, io mem 0xf1050000
Jan 12 10:17:28 nas user.info kernel: orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
Jan 12 10:17:28 nas user.info kernel: hub 1-0:1.0: USB hub found
Jan 12 10:17:28 nas user.info kernel: hub 1-0:1.0: 1 port detected
Jan 12 10:17:28 nas user.info kernel: usbcore: registered new interface driver usb-storage
Jan 12 10:17:28 nas user.info kernel: rtc-mv f1010300.rtc: rtc core: registered f1010300.rtc as rtc0
Jan 12 10:17:28 nas user.info kernel: i2c /dev entries driver
Jan 12 10:17:28 nas user.info kernel: gpio-fan gpio_fan.2: GPIO fan initialized
Jan 12 10:17:28 nas user.info kernel: lm75 0-0048: hwmon1: sensor 'lm75'
Jan 12 10:17:28 nas user.info kernel: md: linear personality registered for level -1
Jan 12 10:17:28 nas user.info kernel: md: raid0 personality registered for level 0
Jan 12 10:17:28 nas user.info kernel: md: raid1 personality registered for level 1
Jan 12 10:17:28 nas user.info kernel: md: raid6 personality registered for level 6
Jan 12 10:17:28 nas user.info kernel: md: raid5 personality registered for level 5
Jan 12 10:17:28 nas user.info kernel: md: raid4 personality registered for level 4
Jan 12 10:17:28 nas user.info kernel: cpuidle: using governor ladder
Jan 12 10:17:28 nas user.info kernel: cpuidle: using governor menu
Jan 12 10:17:28 nas user.warn kernel: leds-gpio gpio-leds.5: pins are not configured from the driver
Jan 12 10:17:28 nas user.info kernel: usbcore: registered new interface driver usbhid
Jan 12 10:17:28 nas user.info kernel: usbhid: USB HID core driver
Jan 12 10:17:28 nas user.info kernel: TCP: cubic registered
Jan 12 10:17:28 nas user.info kernel: NET: Registered protocol family 17
Jan 12 10:17:28 nas user.info kernel: SATA0 Power: 5000 mV 
Jan 12 10:17:28 nas user.info kernel: SATA1 Power: 5000 mV 
Jan 12 10:17:28 nas user.info kernel: input: gpio_keys.1 as /devices/gpio_keys.1/input/input0
Jan 12 10:17:28 nas user.info kernel: rtc-mv f1010300.rtc: setting system clock to 2016-01-12 15:17:20 UTC (1452611840)
Jan 12 10:17:28 nas user.info kernel: ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
Jan 12 10:17:28 nas user.info kernel: ata1.00: ATA-9: ST4000VN000-1H4168, SC46, max UDMA/133
Jan 12 10:17:28 nas user.info kernel: ata1.00: 7814037168 sectors, multi 0: LBA48 NCQ (depth 31/32)
Jan 12 10:17:28 nas user.info kernel: ata1.00: configured for UDMA/133
Jan 12 10:17:28 nas user.notice kernel: scsi 0:0:0:0: Direct-Access     ATA      ST4000VN000-1H41 SC46 PQ: 0 ANSI: 5
Jan 12 10:17:28 nas user.notice kernel: sd 0:0:0:0: Attached scsi generic sg0 type 0
Jan 12 10:17:28 nas user.notice kernel: sd 0:0:0:0: [sda] 7814037168 512-byte logical blocks: (4.00 TB/3.63 TiB)
Jan 12 10:17:28 nas user.notice kernel: sd 0:0:0:0: [sda] 4096-byte physical blocks
Jan 12 10:17:28 nas user.notice kernel: sd 0:0:0:0: [sda] Write Protect is off
Jan 12 10:17:28 nas user.debug kernel: sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
Jan 12 10:17:28 nas user.notice root: Starting sslcert: OK.
Jan 12 10:17:28 nas user.notice kernel: sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Jan 12 10:17:28 nas user.info kernel:  sda: sda1 sda2
Jan 12 10:17:28 nas user.notice kernel: sd 0:0:0:0: [sda] Attached SCSI disk
Jan 12 10:17:28 nas user.info kernel: ata2: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
Jan 12 10:17:28 nas user.info kernel: ata2.00: ATA-9: ST4000VN000-1H4168, SC46, max UDMA/133
Jan 12 10:17:28 nas user.info kernel: ata2.00: 7814037168 sectors, multi 0: LBA48 NCQ (depth 31/32)
Jan 12 10:17:28 nas user.info kernel: ata2.00: configured for UDMA/133
Jan 12 10:17:28 nas user.notice kernel: scsi 1:0:0:0: Direct-Access     ATA      ST4000VN000-1H41 SC46 PQ: 0 ANSI: 5
Jan 12 10:17:28 nas user.notice kernel: sd 1:0:0:0: Attached scsi generic sg1 type 0
Jan 12 10:17:28 nas user.notice kernel: sd 1:0:0:0: [sdb] 7814037168 512-byte logical blocks: (4.00 TB/3.63 TiB)
Jan 12 10:17:28 nas user.notice kernel: sd 1:0:0:0: [sdb] 4096-byte physical blocks
Jan 12 10:17:28 nas user.notice kernel: sd 1:0:0:0: [sdb] Write Protect is off
Jan 12 10:17:28 nas user.debug kernel: sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
Jan 12 10:17:28 nas user.notice kernel: sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Jan 12 10:17:28 nas user.info kernel:  sdb: sdb1 sdb2
Jan 12 10:17:28 nas user.notice kernel: sd 1:0:0:0: [sdb] Attached SCSI disk
Jan 12 10:17:28 nas user.info kernel: md: Skipping autodetection of RAID arrays. (raid=autodetect will force)
Jan 12 10:17:28 nas user.notice kernel: RAMDISK: squashfs filesystem found at block 0
Jan 12 10:17:28 nas user.notice kernel: RAMDISK: Loading 2982KiB [1 disk] into ram disk... |^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H
Jan 12 10:17:28 nas user.info kernel: VFS: Mounted root (squashfs filesystem) readonly on device 1:0.
Jan 12 10:17:28 nas user.info kernel: Freeing unused kernel memory: 172K (c0468000 - c0493000)
Jan 12 10:17:28 nas user.info kernel: md: bind
Jan 12 10:17:28 nas user.info kernel: Adding 524284k swap on /dev/sdb1.  Priority:1 extents:1 across:524284k 
Jan 12 10:17:28 nas user.info kernel: md: bind
Jan 12 10:17:28 nas user.info kernel: md/raid0:md0: md_size is 15625971712 sectors.
Jan 12 10:17:28 nas user.info kernel: md: RAID0 configuration for md0 - 1 zone
Jan 12 10:17:28 nas user.info kernel: md: zone0=[sdb2/sda2]
Jan 12 10:17:28 nas user.info kernel:       zone-offset=         0KB, device-offset=         0KB, size=7812985856KB
Jan 12 10:17:28 nas user.info kernel: md0: detected capacity change from 0 to 8000497516544
Jan 12 10:17:28 nas user.info kernel:  md0: unknown partition table
Jan 12 10:17:28 nas user.info kernel: mv643xx_eth_port mv643xx_eth_port.0 eth0: link down
Jan 12 10:17:28 nas user.notice root: Starting urandom: OK.
Jan 12 10:17:28 nas user.info kernel: NET: Registered protocol family 10
Jan 12 10:17:28 nas user.info kernel: IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Jan 12 10:17:28 nas user.notice root: Starting modload: OK.
Jan 12 10:17:28 nas daemon.info sysctrl: Starting
Jan 12 10:17:28 nas daemon.info sysctrl: reading /etc/bay
Jan 12 10:17:28 nas daemon.info sysctrl: reading /etc/misc.conf
Jan 12 10:17:28 nas daemon.info sysctrl: reading /etc/sysctrl.conf
Jan 12 10:17:28 nas user.notice root: Starting sysctrl: OK.
Jan 12 10:17:28 nas daemon.info sysctrl: can't open /etc/sysctrl.conf: No such file or directory Using defaults
Jan 12 10:17:28 nas daemon.info sysctrl: args.lo_fan=2000
Jan 12 10:17:28 nas daemon.info sysctrl: args.hi_fan=5000
Jan 12 10:17:28 nas daemon.info sysctrl: args.lo_temp=45
Jan 12 10:17:28 nas daemon.info sysctrl: args.hi_temp=50
Jan 12 10:17:28 nas daemon.info sysctrl: args.hist_temp=1.0
Jan 12 10:17:28 nas daemon.info sysctrl: args.fan_mode=AUTO
Jan 12 10:17:28 nas daemon.info sysctrl: args.mail=1
Jan 12 10:17:28 nas daemon.info sysctrl: args.recovery=1
Jan 12 10:17:28 nas daemon.info sysctrl: args.fan_off_temp=38
Jan 12 10:17:28 nas daemon.info sysctrl: args.max_fan_speed=6000
Jan 12 10:17:28 nas daemon.info sysctrl: args.crit_temp=54
Jan 12 10:17:28 nas daemon.info sysctrl: args.warn_temp=52
Jan 12 10:17:28 nas daemon.info sysctrl: args.crit_temp_command="/usr/sbin/poweroff"
Jan 12 10:17:28 nas daemon.info sysctrl: args.warn_temp_command="(null)"
Jan 12 10:17:28 nas daemon.info sysctrl: args.front_button_command1="(null)"
Jan 12 10:17:28 nas daemon.info sysctrl: args.front_button_command2="(null)"
Jan 12 10:17:28 nas daemon.info sysctrl: args.back_button_command="(null)"
Jan 12 10:17:28 nas daemon.info sysctrl: sda left rdwr=0 last=0 spindow=1200 power=1
Jan 12 10:17:28 nas daemon.info sysctrl: sdb right rdwr=0 last=0 spindow=1200 power=1
Jan 12 10:17:28 nas daemon.info sysctrl: (null) (null) rdwr=0 last=0 spindow=1200 power=1
Jan 12 10:17:28 nas cron.info crond[495]: crond: crond (busybox 1.20.2) started, log level 8
Jan 12 10:17:28 nas user.notice root: Starting crond: OK.
Jan 12 10:17:28 nas user.notice root: Starting atd: OK.
Jan 12 10:17:28 nas daemon.info smartd[509]: smartd 6.2 2013-07-26 r3841 [armv5tel-linux-3.10.32] (local build)
Jan 12 10:17:28 nas daemon.info smartd[509]: Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
Jan 12 10:17:28 nas daemon.info smartd[509]: Opened configuration file /etc/smartd.conf
Jan 12 10:17:28 nas daemon.info smartd[509]: Configuration file /etc/smartd.conf was parsed, found DEVICESCAN, scanning devices
Jan 12 10:17:28 nas daemon.info smartd[509]: Device: /dev/sda, type changed from 'scsi' to 'sat'
Jan 12 10:17:28 nas daemon.info smartd[509]: Device: /dev/sda [SAT], opened
Jan 12 10:17:28 nas daemon.info smartd[509]: Device: /dev/sda [SAT], ST4000VN000-1H4168, S/N:S301DE6Y, WWN:5-000c50-0809b667f, FW:SC46, 4.00 TB
Jan 12 10:17:28 nas daemon.info smartd[509]: Device: /dev/sda [SAT], not found in smartd database.
Jan 12 10:17:28 nas daemon.info smartd[509]: Device: /dev/sda [SAT], enabled SMART Attribute Autosave.
Jan 12 10:17:29 nas daemon.info smartd[509]: Device: /dev/sda [SAT], enabled SMART Automatic Offline Testing.
Jan 12 10:17:29 nas daemon.info smartd[509]: Device: /dev/sda [SAT], is SMART capable. Adding to "monitor" list.
Jan 12 10:17:29 nas daemon.info smartd[509]: Device: /dev/sdb, type changed from 'scsi' to 'sat'
Jan 12 10:17:29 nas daemon.info smartd[509]: Device: /dev/sdb [SAT], opened
Jan 12 10:17:29 nas daemon.info smartd[509]: Device: /dev/sdb [SAT], ST4000VN000-1H4168, S/N:S301DFFR, WWN:5-000c50-0809b08d4, FW:SC46, 4.00 TB
Jan 12 10:17:29 nas daemon.info smartd[509]: Device: /dev/sdb [SAT], not found in smartd database.
Jan 12 10:17:29 nas daemon.info smartd[509]: Device: /dev/sdb [SAT], enabled SMART Attribute Autosave.
Jan 12 10:17:29 nas daemon.info sysctrl: temp=41.5	pwm=127 fan=3000
Jan 12 10:17:29 nas daemon.info smartd[509]: Device: /dev/sdb [SAT], enabled SMART Automatic Offline Testing.
Jan 12 10:17:29 nas daemon.info smartd[509]: Device: /dev/sdb [SAT], is SMART capable. Adding to "monitor" list.
Jan 12 10:17:29 nas daemon.info smartd[509]: Monitoring 2 ATA and 0 SCSI devices
Jan 12 10:17:30 nas daemon.info smartd[511]: smartd has fork()ed into background mode. New PID=511.
Jan 12 10:17:30 nas user.notice root: Starting smartd: OK.
Jan 12 10:17:30 nas daemon.crit mdadm[520]: DeviceDisappeared event detected on md device /dev/md/0, component device Wrong-Level
Jan 12 10:17:30 nas user.notice root: Starting mdadm: OK.
Jan 12 10:17:30 nas user.notice root: Starting cleanup: OK.
Jan 12 10:17:30 nas user.notice root: Starting news: OK.
Jan 12 10:17:30 nas user.info kernel: usbcore: registered new interface driver usblp
Jan 12 10:17:30 nas user.notice root: Starting inetd: OK.
Jan 12 10:17:30 nas user.info kernel: mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
Jan 12 10:17:30 nas user.info kernel: IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Jan 12 10:17:31 nas daemon.notice sntp[592]: Started sntp
Jan 12 10:17:31 nas daemon.warn sntp[592]: kod_init_kod_db(): Cannot open KoD db file /var/db/ntp-kod
Jan 12 10:17:32 nas daemon.notice ntpd[602]: ntpd 4.2...@1.2349-o Fri Jan 30 16:18:12 UTC 2015 (1)
Jan 12 10:17:32 nas daemon.debug ntpd[603]: signal_no_reset: signal 13 had flags 4000000
Jan 12 10:17:32 nas user.notice root: ntpd: Getting initial time via ntp: OK. Starting ntpd: OK.
Jan 12 10:17:32 nas daemon.notice ntpd[603]: proto: precision = 1.395 usec
Jan 12 10:17:32 nas daemon.debug ntpd[603]: ntp_io: estimated max descriptors: 1024, initial socket boundary: 16
Jan 12 10:17:32 nas daemon.info ntpd[603]: Listen and drop on 0 v4wildcard 0.0.0.0 UDP 123
Jan 12 10:17:32 nas daemon.info ntpd[603]: Listen and drop on 1 v6wildcard :: UDP 123
Jan 12 10:17:32 nas daemon.info ntpd[603]: Listen normally on 2 lo 127.0.0.1 UDP 123
Jan 12 10:17:32 nas daemon.info ntpd[603]: Listen normally on 3 eth0 192.168.55.3 UDP 123
Jan 12 10:17:32 nas daemon.info ntpd[603]: Listen normally on 4 lo ::1 UDP 123
Jan 12 10:17:32 nas daemon.info ntpd[603]: peers refreshed
Jan 12 10:17:32 nas daemon.info ntpd[603]: Listening on routing socket on fd #21 for interface updates
Jan 12 10:17:34 nas daemon.info ntpd[603]: Listen normally on 5 eth0 fe80::16d6:4dff:fe4a:1b79 UDP 123
Jan 12 10:17:34 nas daemon.info ntpd[603]: peers refreshed
Jan 12 10:17:34 nas daemon.debug ntpd[603]: new interface(s) found: waking up resolver
Jan 12 10:17:34 nas user.notice root: Starting nmbd: OK. Starting smbd: OK.
Jan 12 10:17:35 nas authpriv.info dropbear[621]: Running in background
Jan 12 10:17:35 nas user.notice root: Starting dropbear: OK.
Jan 12 10:17:35 nas user.notice minidlna: Alt-F folder not yet available.\nUse menu Packages->Alt-F to install Alt-F packages folder if you have not yet done it.
Jan 12 10:17:35 nas user.notice root: 
Jan 12 10:17:35 nas user.notice transmission: Alt-F folder not yet available.\nUse menu Packages->Alt-F to install Alt-F packages folder if you have not yet done it.
Jan 12 10:17:35 nas user.notice root: 
Jan 12 10:17:35 nas user.notice root: ****** Start of appended early system log ******
Jan 12 10:17:35 nas user.debug syslogd: (15:17:22) started: BusyBox v1.20.2
Jan 12 10:17:35 nas user.debug rcS: (15:17:25) Reading RCT in UTC and setting system time and date
Jan 12 10:17:35 nas user.debug rcS: (15:17:25) Board: DNS-325-A1A2
Jan 12 10:17:35 nas user.debug rcS: (15:17:25) Flashed Firmware: Alt-F-0.1RC4.1, kernel 3.10.32
Jan 12 10:17:35 nas user.debug rcS: (10:17:25) loadsave_settings: loaded set_2016-01-12_10:15:42.tgz settings file.
Jan 12 10:17:35 nas user.debug hot: (10:17:26) Unknown partition type "" in "sda1"
Jan 12 10:17:35 nas user.debug hot_aux: (10:17:27) Start fscking md0
Jan 12 10:17:35 nas user.debug rcS: (10:17:27) IP from flash-defaults
Jan 12 10:17:35 nas user.debug syslogd: (10:17:27) exiting
Jan 12 10:17:35 nas user.notice root: ****** End of appended early system log ******
Jan 12 10:17:35 nas daemon.info init: starting pid 650, tty '/dev/ttyS0': '/sbin/getty -n -l /bin/sh -L ttyS0 115200 vt100'
Jan 12 10:17:53 nas user.notice hot_aux: Unable to automatically fix md0, mounting Read Only: fsck 1.41.14 (22-Dec-2010) /dev/md0 has gone 204 days without being checked, check forced. /dev/md0: Error allocating block bitmap (4): Memory allocation failed e2fsck: abor
Jan 12 10:17:55 nas user.info kernel: EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: (null)
Jan 12 10:17:55 nas user.notice hot_aux: Users directory found in md0
Jan 12 10:17:55 nas user.notice hot_aux: ffp directory found in md0
Jan 12 10:17:55 nas user.notice hot_aux: Alt-F directory found in md0 but not used, as fs is read-only!
Jan 12 10:32:23 nas authpriv.info dropbear[2393]: Child connection from 192.168.55.241:57978
Jan 12 10:32:26 nas daemon.info sysctrl: temp=43.0	pwm=127 fan=3000
Jan 12 10:32:31 nas authpriv.notice dropbear[2393]: Password auth succeeded for 'root' from 192.168.55.241:57978
Jan 12 10:32:50 nas user.notice netatalk: Alt-F folder not yet available.\nUse menu Packages->Alt-F to install Alt-F packages folder if you have not yet done it.
Jan 12 10:32:50 nas user.notice avahi_daemon: Alt-F folder not yet available.\nUse menu Packages->Alt-F to install Alt-F packages folder if you have not yet done it.
Jan 12 10:32:53 nas user.notice netatalk: Alt-F folder not yet available.\nUse menu Packages->Alt-F to install Alt-F packages folder if you have not yet done it.
Jan 12 10:32:53 nas user.notice avahi_daemon: Alt-F folder not yet available.\nUse menu Packages->Alt-F to install Alt-F packages folder if you have not yet done it.
Jan 12 10:33:21 nas daemon.info sysctrl: left disk (sda) standby
Jan 12 10:33:26 nas daemon.info sysctrl: right disk (sdb) standby
Jan 12 10:38:55 nas daemon.info sysctrl: temp=41.5	pwm=127 fan=3000
Jan 12 10:50:30 nas daemon.info sysctrl: temp=40.5	pwm=127 fan=3000
Jan 12 11:00:01 nas cron.info crond[495]: crond: USER root pid 478 cmd /usr/sbin/cleanup
Jan 12 11:05:07 nas daemon.info sysctrl: temp=39.5	pwm=127 fan=3000
Jan 12 11:17:36 nas daemon.info sysctrl: right disk (sdb) wakeup
Jan 12 11:18:31 nas daemon.info sysctrl: right disk (sdb) standby
Jan 12 11:21:07 nas daemon.info sysctrl: right disk (sdb) wakeup
Jan 12 11:21:15 nas daemon.info sysctrl: left disk (sda) wakeup
Jan 12 11:21:15 nas user.warn kernel: EXT4-fs (md0): warning: checktime reached, running e2fsck is recommended
Jan 12 11:21:16 nas user.info kernel: EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: (null)
Jan 12 11:21:49 nas daemon.info sysctrl: left disk (sda) standby
Jan 12 11:21:49 nas daemon.info sysctrl: right disk (sdb) standby
Jan 12 11:22:04 nas daemon.info sysctrl: left disk (sda) wakeup
Jan 12 11:22:11 nas user.notice netatalk: Alt-F folder not yet available.\nUse menu Packages->Alt-F to install Alt-F packages folder if you have not yet done it.
Jan 12 11:22:11 nas user.notice avahi_daemon: Alt-F folder not yet available.\nUse menu Packages->Alt-F to install Alt-F packages folder if you have not yet done it.
Jan 12 11:22:12 nas daemon.info sysctrl: right disk (sdb) wakeup
Jan 12 11:22:15 nas user.notice netatalk: Alt-F folder not yet available.\nUse menu Packages->Alt-F to install Alt-F packages folder if you have not yet done it.
Jan 12 11:22:15 nas user.notice avahi_daemon: Alt-F folder not yet available.\nUse menu Packages->Alt-F to install Alt-F packages folder if you have not yet done it.
Jan 12 11:23:49 nas daemon.info sysctrl: left disk (sda) standby
Jan 12 11:24:22 nas daemon.info sysctrl: right disk (sdb) standby
Jan 12 11:49:40 nas daemon.info sysctrl: temp=38.5	pwm=127 fan=3000
Jan 12 12:00:01 nas cron.info crond[495]: crond: USER root pid 1276 cmd /usr/sbin/cleanup
Jan 12 12:02:32 nas authpriv.info dropbear[2393]: Exit (root): Exited normally
Jan 12 12:41:56 nas daemon.info sysctrl: right disk (sdb) wakeup
Jan 12 12:42:04 nas daemon.info sysctrl: left disk (sda) wakeup
Jan 12 12:43:00 nas user.err kernel: ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
Jan 12 12:43:00 nas user.err kernel: ata2.00: cmd e5/00:00:00:00:00/00:00:00:00:00/00 tag 0
Jan 12 12:43:00 nas user.err kernel:          res 40/00:ff:00:00:00/00:00:00:00:00/40 Emask 0x4 (timeout)
Jan 12 12:43:00 nas user.info kernel: ata2: hard resetting link
Jan 12 12:43:02 nas user.info kernel: ata2: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
Jan 12 12:43:03 nas user.info kernel: ata2.00: configured for UDMA/133
Jan 12 12:43:03 nas user.info kernel: ata2: EH complete
Jan 12 12:43:08 nas daemon.info sysctrl: left disk (sda) standby
Jan 12 12:43:17 nas daemon.info sysctrl: left disk (sda) wakeup
Jan 12 12:44:54 nas daemon.info sysctrl: left disk (sda) standby
Jan 12 12:44:54 nas daemon.info sysctrl: right disk (sdb) standby
Jan 12 13:00:01 nas cron.info crond[495]: crond: USER root pid 2697 cmd /usr/sbin/cleanup
Jan 12 13:03:21 nas daemon.info sysctrl: right disk (sdb) wakeup
Jan 12 13:03:29 nas daemon.info sysctrl: left disk (sda) wakeup
Jan 12 13:04:26 nas daemon.info sysctrl: right disk (sdb) standby
Jan 12 13:04:47 nas daemon.info sysctrl: right disk (sdb) wakeup
Jan 12 13:16:11 nas daemon.info sysctrl: temp=40.0	pwm=127 fan=3000
Jan 12 13:25:14 nas daemon.info sysctrl: temp=41.0	pwm=127 fan=3000
Jan 12 13:36:48 nas daemon.info sysctrl: temp=42.0	pwm=127 fan=3000
Jan 12 13:49:15 nas daemon.info sysctrl: left disk (sda) standby
Jan 12 13:49:15 nas daemon.info sysctrl: right disk (sdb) standby
Capture.JPG

Andrea Borghi

unread,
Jan 12, 2016, 1:52:04 PM1/12/16
to Alt-F



On Tuesday, January 12, 2016 at 1:15:24 PM UTC-5, João Cardoso wrote:

Joao Cardoso

unread,
Jan 12, 2016, 9:05:34 PM1/12/16
to al...@googlegroups.com
In the future please attach logs, don't post inline. And I asked for the Configuration log, not the System log.

Anyway, you don't have swap on both disks, only on sdb1, sda1 is unknown (that is clear on the Configuration Log, took a while to find on the System log)

According to the error message, you are indeed out of memory, and I think that even adding swap to sda1 will not be enough.
Do you have a backup? Your data is safe for now, but will vanish if *any* issue happens on any of the disks. And you have one hardware reset on one disk... Having 7TB on RAID0...

Anyhow, you may start adding swap on sda1. That will increase "memory" to 1GB, but probably will no be enough.
If that fails, you have to use an external USB disk, format it if needed (ext2 will be faster, NO fat or NTFS), mount if and instruct fsck to use it instead of memory and run it manually.

Create /etc/e2fsck.conf with the following contents:

[scratch_files]
directory = /var/cache/e2fsck
 
(And, obviously, make sure that directory exists, and is on a partition with a good few GB of free space). e2fsck will run SLLOOOOWWWWWWW, but at least it'll complete.

You should replace  "/var/cache/e2fsck" with the name of a folder on the external USB disk, device name might vary, eg /mnt/sdc1/e2fsck
If you feel unsure, please say so and also attach the Configuration log.

PS: a thread on a similar subject ( >6TB disk, millions of files and folders), for computer literate people: https://www.redhat.com/archives/ext3-users/2008-June/msg00014.html

Andrea Borghi

unread,
Jan 13, 2016, 8:47:28 AM1/13/16
to Alt-F
Hi Joao,
thanks for the reply.
I figured I had to move the data out...
Fortunately the drives are new (3 months old), I use RAID0 by choice, I will get a better NAS hardware in a couple of months (looking at QNAP - 4 drives bay in RAID5).
In the meantime the DNS-325 is attached to an UPS unit, I am unmounting and mounting RW manually, then I start the minidnla so I can bypass the forced checks ....
Do you know any ways I can disable teh forced check?

I already changed the parameters to 99999 - it does not help


Andrea

João Cardoso

unread,
Jan 13, 2016, 12:44:44 PM1/13/16
to Alt-F


On Wednesday, 13 January 2016 13:47:28 UTC, Andrea Borghi wrote:
Hi Joao,
thanks for the reply.
I figured I had to move the data out...
Fortunately the drives are new (3 months old), I use RAID0 by choice, I will get a better NAS hardware in a couple of months (looking at QNAP - 4 drives bay in RAID5).
In the meantime the DNS-325 is attached to an UPS unit, I am unmounting and mounting RW manually, then I start the minidnla so I can bypass the forced checks ....
Do you know any ways I can disable teh forced check?

You can try in Disk->Filesystem"Set mounted filesystems to be checked every" to a higher then current value of days/mount count and Apply. Not sure if it will suffice.

Otherwise, reset both the mount count and count days using

tune2fs -C 0 -T now /dev/md0

A quote from the manual page:

              It  is  strongly  recommended  that  either -c (mount-count-dependent) or -i (time-
              dependent) checking be enabled(*) to force periodic full  e2fsck(8)  checking  of  the
              filesystem.   Failure to do so may lead to filesystem corruption (due to bad disks,
              cables, memory, or kernel bugs) going unnoticed, ultimately resulting in data  loss
              or corruption.

(*) that's what the  Disk->Filesystem"Set mounted filesystems to be checked every"  does
Reply all
Reply to author
Forward
0 new messages