Blue light fixed on wd mycloud, (not quite) - need to rebuild access to files1

#1

I decided opening a new thread, comming from 4TB My Cloud disappeared- Fast blinking blue light! HELP

So… after MUCH hard work, and so much help from the WD forum community, which involved following the unbficking process (no formatting) & following many, many, many recommendations, I dd partitions sda1,3,4, 7, then using mkfthext4 /dev/sda1 , 3 and 4 finally I was able regain access.
I finally got the recovery iu, was able to apply firmware 2.31.163. Got steady blue light and WDMYCLOUD access …HOWEVER, in the process I lost the RAID volumes. - The dashboard indicates that there are none and, I’m afraid that if I create a new RAID volume I will lose everything that I’ve been working so much no to lose…

I know the data is there, I never touched /dev/sda2.
if I boot using the USB flash drive, typing the following commands
mkdir /mnt/sda
mkdir /mnt/sdb
mount /dev/sda2 /mnt/sda
mount /dev/sdb1 /mnt/sdb
cd /mnt/sda
ls

I can list the folders and files. I even was able to copy a couple of files using cp command. The problem is that, I have something like 1Tb of information to copy and, the biggest pendrive that I have is 8Gb…

I tried using a USB external disk, with a 33gb fat32 partition, connected to the USB port, but mycloud recognized it as an external drive and did NOT allow me to boot through it, Mycloud recognizes the USB hard drive, but apparently not as a boot unit.

Can anybody help me on either REGAINING ACCESS to the original volume or AT LEAST some way to copy the files on /dev/sda2 to somewhere else other than the USB flashdrive?

Thx so much in advance

PS: I don’t have any unix knowledge, (apart from the little understanding that I now have, thanks to this ordeal)

#2

You should be able to map the drive on windows or mac. Then copy the files.
open windows explorer. Click on This PC. Then click on map a network drive.
pick a letter. Then browse for the My Cloud. You also could enter
\192.168.x.xxx\Public in the area before the browse button.

PS I can’t find the raid display in the dashboard. If you login to the device using ssh.
you can type dmesg. Look for entries for md0 or raid.
mdadm --detail /dev/md0 will display information about the raid. My Gen2 has the raid set up
on /dev/sda1

#3

I wish I could. Unfortunately if I type the IP \192…I see nothing. Examining using my network, I do see mycloud, but double clicking just goes to mycloud dashboard, all of which is kinda logic, because there are no shares and in order to create shares, first, i would have to have volumes created…

I don’t know how to access the drive using ssh BUT, as I see the ssh access is closed

#4

If you go to the dashboard. Login. go to setting/network. This will show you what IP address the device has. enable SSH. SSH using that IP address

#5

OK… Here’s the dump of what you asked me. I have NO idea what to read from this, except that I THINK it says that there is a raid active

root@WDMyCloud root # dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.10.39 (kman@kmachine) (gcc version 4.6.4 (Linaro GCC branch-4.6.4. Marvell GCC Dev 201310-2126.3d181f66 64K MAXPAGESIZE ALIGN) ) #1 SMP Thu Nov 15 21:22:21 CST 2018 2014T20p4 Build-git0451941
[ 0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c53c7d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruc tion cache
[ 0.000000] Machine: Marvell Armada 375 (Device Tree), model: Marvell Armada 375 Development Board
[ 0.000000] Memory policy: ECC disabled, Data cache writealloc
[ 0.000000] On node 0 totalpages: 16384
[ 0.000000] free_area_init_node: node 0, pgdat c07b2680, node_mem_map c082000 0
[ 0.000000] Normal zone: 20 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 16384 pages, LIFO batch:3
[ 0.000000] PERCPU: Embedded 1 pages/cpu @c08d8000 s8064 r8192 d16512 u32768
[ 0.000000] pcpu-alloc: s8064 r8192 d16512 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0 [0] 1
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pag es: 16364
[ 0.000000] Kernel command line: root=/dev/ram console=ttyS0,115200
[ 0.000000] PID hash table entries: 2048 (order: -2, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 3, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 2, 131072 bytes)
[ 0.000000] allocated 131072 bytes of page_cgroup
[ 0.000000] please try ‘cgroup_disable=memory’ option if you don’t want memor y cgroups
[ 0.000000] Memory: 512MB = 512MB total
[ 0.000000] Memory: 511744k/511744k available, 12544k reserved, 0K highmem
[ 0.000000] Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff8000 ( 32 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xe0800000 - 0xfff00000 ( 503 MB)
lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
.text : 0xc0008000 - 0xc0719cd0 (7240 kB)
.init : 0xc0720000 - 0xc0761f80 ( 264 kB)
.data : 0xc0762000 - 0xc07b3c00 ( 327 kB)
.bss : 0xc07b3c00 - 0xc081d9fc ( 424 kB)
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000]
LSP version: linux-3.10.39-2014_T2.0p4

[ 0.000000] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 17179 8ms
[ 0.000000] L310 cache controller enabled
[ 0.000000] l2x0: 8 ways, CACHE_ID 0x410054c9, AUX_CTRL 0x12040000, Cache siz e: 262144 B
[ 0.000000] Console: colour dummy device 80x30
[ 0.000774] Calibrating delay loop… 1594.16 BogoMIPS (lpj=7970816)
[ 0.090065] pid_max: default: 32768 minimum: 301
[ 0.090186] Mount-cache hash table entries: 4096
[ 0.090918] Initializing cgroup subsys memory
[ 0.090948] Initializing cgroup subsys devices
[ 0.091002] CPU: Testing write buffer coherency: ok
[ 0.091310] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.091360] Setting up static identity map for 0xc055e960 - 0xc055e9b8
[ 0.091702] Initializing CPU Reset module
[ 0.092797] CPU1: Booted secondary processor
[ 0.131447] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.131570] Brought up 2 CPUs
[ 0.131581] SMP: Total of 2 processors activated (3188.32 BogoMIPS).
[ 0.131585] CPU: All CPU(s) started in SVC mode.
[ 0.132511] devtmpfs: initialized
[ 0.136418] pinctrl core: initialized pinctrl subsystem
[ 0.136707] NET: Registered protocol family 16
[ 0.137361] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.141706] irq: Cannot allocate irq_descs @ IRQ193, assuming pre-allocated
[ 0.142554] irq: Cannot allocate irq_descs @ IRQ225, assuming pre-allocated
[ 0.142990] irq: Cannot allocate irq_descs @ IRQ257, assuming pre-allocated
[ 0.146902] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[ 0.146910] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.162522] bio: create slab at 0
[ 0.163323] mvebu-pcie pcie-controller.2: PCI host bridge to bus 0000:00
[ 0.163337] pci_bus 0000:00: root bus resource [io 0x1000-0xfffff]
[ 0.163346] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe8000000]
[ 0.163355] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.163381] PCI: bus0: Fast back to back transfers enabled
[ 0.163785] vgaarb: loaded
[ 0.164294] SCSI subsystem initialized
[ 0.164651] libata version 3.00 loaded.
[ 0.165186] usbcore: registered new interface driver usbfs
[ 0.165315] usbcore: registered new interface driver hub
[ 0.165496] usbcore: registered new device driver usb
[ 0.165888] pps_core: LinuxPPS API ver. 1 registered
[ 0.165894] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giome tti giometti@linux.it
[ 0.165979] PTP clock support registered
[ 0.167288] Switching to clocksource armada_370_xp_clocksource
[ 0.178918] NET: Registered protocol family 2
[ 0.179419] TCP established hash table entries: 4096 (order: 0, 32768 bytes)
[ 0.179486] TCP bind hash table entries: 4096 (order: 0, 32768 bytes)
[ 0.179555] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.179599] TCP: reno registered
[ 0.179609] UDP hash table entries: 1024 (order: 0, 32768 bytes)
[ 0.179666] UDP-Lite hash table entries: 1024 (order: 0, 32768 bytes)
[ 0.179916] NET: Registered protocol family 1
[ 0.180191] RPC: Registered named UNIX socket transport module.
[ 0.180197] RPC: Registered udp transport module.
[ 0.180200] RPC: Registered tcp transport module.
[ 0.180204] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.180214] PCI: CLS 0 bytes, default 64
[ 0.180352] Trying to unpack rootfs image as initramfs…
[ 0.180822] rootfs image is not initramfs (no cpio magic); looks like an init rd
[ 0.189319] Freeing initrd memory: 2528K (c0f08000 - c1180000)
[ 0.191618] VFS: Disk quotas dquot_6.5.2
[ 0.191766] Dquot-cache hash table entries: 8192 (order 0, 32768 bytes)
[ 0.192174] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.192435] Installing knfsd (copyright © 1996 okir@monad.swb.de).
[ 0.192687] jffs2: version 2.2. (NAND) \xffffffc2\xffffffa9 2001-2006 Red Hat , Inc.
[ 0.192778] fuse init (API version 7.22)
[ 0.193115] SGI XFS with security attributes, large block/inode numbers, no d ebug enabled
[ 0.193552] msgmni has been set to 1004
[ 0.195230] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2 50)
[ 0.195239] io scheduler noop registered
[ 0.195244] io scheduler deadline registered
[ 0.195267] io scheduler cfq registered (default)
[ 0.196073] armada-375-pinctrl f1018000.pinctrl: registered pinctrl driver
[ 0.196774] mv_xor f1060800.xor: Marvell shared XOR driver
[ 0.238473] mv_xor f1060800.xor: Marvell XOR: ( xor cpy intr )
[ 0.238800] mv_xor f1060900.xor: Marvell shared XOR driver
[ 0.278417] mv_xor f1060900.xor: Marvell XOR: ( xor cpy intr )
[ 0.283283] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 0.305076] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 44) is a 16550A
[ 0.791600] console [ttyS0] enabled
[ 0.795354] brd: module loaded
[ 0.812887] loop: module loaded
[ 0.816386] sata_mv f10a0000.sata: version 1.28
[ 0.816553] sata_mv f10a0000.sata: slots 32 ports 2
[ 0.822487] scsi0 : sata_mv
[ 0.824425] scsi1 : sata_mv
[ 0.826214] ata1: SATA max UDMA/133 irq 58
[ 0.829055] ata2: SATA max UDMA/133 irq 58
[ 0.834446] m25p80 spi0.0: found mx25l8005, expected n25q128a13
[ 0.839129] m25p80 spi0.0: mx25l8005 (1024 Kbytes)
[ 0.846700] o PPv2.1 Giga driver
[ 0.848850] o 4 Giga ports supported
[ 0.851306] o BM supported for CPU: 8 BM pools
[ 0.854633] o HWF supported
[ 0.856304] o RX Queue support: 8 Queues * 128 Descriptors
[ 0.860718] o TX Queue support: 1 Queues * 532 Descriptors
[ 0.865092] o GSO supported
[ 0.866762] o Receive checksum offload supported
[ 0.870273] o Transmit checksum offload supported
[ 0.873861] o Driver ERROR statistics enabled
[ 0.877100] o Driver INFO statistics enabled

[ 0.984749] o Loading network interface(s) for port #0: cpu_mask=0x3, mtu=1 500
[ 0.991116] o Port 0 is connected to Linux netdevice
[ 0.994892] o giga p=0: phy=0, mtu=1500, mac=00:50:43:02:02:00, speed=AutoN eg (platform)
[ 1.002915] txq_size 532 is not aligned 16, rounded to 528
[ 1.008577] o egiga0, ifindex = 2, GbE port = 0

[ 1.337383] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[ 1.357584] ata1.00: ATA-9: WDC WD40EFRX-68WT0N0, 82.00A82, max UDMA/133
[ 1.363010] ata1.00: 7814037168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[ 1.387569] ata1.00: configured for UDMA/133
[ 1.390916] scsi 0:0:0:0: Direct-Access ATA WDC WD40EFRX-68W 82.0 PQ : 0 ANSI: 5
[ 1.398630] sd 0:0:0:0: [sda] 7814037168 512-byte logical blocks: (4.00 TB/3. 63 TiB)
[ 1.405104] sd 0:0:0:0: [sda] 4096-byte physical blocks
[ 1.409319] sd 0:0:0:0: [sda] Write Protect is off
[ 1.412829] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 1.413205] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, does n’t support DPO or FUA
[ 1.421189] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 1.465044] sda: sda1 sda2 sda3 sda4 sda5 sda6 sda7
[ 1.470973] sd 0:0:0:0: [sda] Attached SCSI disk
[ 1.767376] ata2: SATA link down (SStatus 0 SControl F300)
[ 2.014158] o Loading network interface(s) for port #1: cpu_mask=0x3, mtu=1 500
[ 2.020513] o Port 1 is connected to Linux netdevice
[ 2.024290] o giga p=1: phy=3, mtu=1500, mac=00:50:43:02:02:01, speed=AutoN eg (platform)
[ 2.032312] txq_size 532 is not aligned 16, rounded to 528
[ 2.038102] o egiga1, ifindex = 3, GbE port = 1

[ 2.042048] libphy: orion_mdio_bus: probed
[ 2.045341] mdio_bus f10c0054.mdio-mi: cannot get PHY at address 3
[ 2.050817] ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
[ 2.056066] ehci-pci: EHCI PCI platform driver
[ 2.059475] ehci-orion: EHCI orion driver
[ 2.062348] orion-ehci f1054000.usb: EHCI Host Controller
[ 2.066481] orion-ehci f1054000.usb: new USB bus registered, assigned bus num ber 1
[ 2.073637] orion-ehci f1054000.usb: irq 50, io mem 0xf1054000
[ 2.097401] orion-ehci f1054000.usb: USB 2.0 started, EHCI 1.00
[ 2.102697] hub 1-0:1.0: USB hub found
[ 2.105168] hub 1-0:1.0: 1 port detected
[ 2.108430] xhci-hcd f1058000.usb3: xHCI Host Controller
[ 2.112476] xhci-hcd f1058000.usb3: new USB bus registered, assigned bus numb er 2
[ 2.119396] xhci-hcd f1058000.usb3: irq 48, io mem 0xf1058000
[ 2.124298] xHCI xhci_add_endpoint called for root hub
[ 2.124304] xHCI xhci_check_bandwidth called for root hub
[ 2.124498] hub 2-0:1.0: USB hub found
[ 2.126968] hub 2-0:1.0: 1 port detected
[ 2.129738] xhci-hcd f1058000.usb3: xHCI Host Controller
[ 2.133777] xhci-hcd f1058000.usb3: new USB bus registered, assigned bus numb er 3
[ 2.140422] xHCI xhci_add_endpoint called for root hub
[ 2.140428] xHCI xhci_check_bandwidth called for root hub
[ 2.140614] hub 3-0:1.0: USB hub found
[ 2.143082] hub 3-0:1.0: 1 port detected
[ 2.146145] usbcore: registered new interface driver usb-storage
[ 2.151330] rtc-mv f1010300.rtc: rtc core: registered f1010300.rtc as rtc0
[ 2.157085] i2c /dev entries driver
[ 2.170296] mpcore_wdt: MPcore Watchdog Timer: 0.1. mpcore_noboot=0 mpcore_ma rgin=60 sec (nowayout= 0)
[ 2.178884] softdog: Software Watchdog Timer: 0.08 initialized. soft_noboot=0 soft_margin=60 sec soft_panic=0 (nowayout=0)
[ 2.188693] md: linear personality registered for level -1
[ 2.192894] md: raid0 personality registered for level 0
[ 2.196920] md: raid1 personality registered for level 1
[ 2.201184] device-mapper: ioctl: 4.24.0-ioctl (2013-01-15) initialised: dm-d evel@redhat.com
[ 2.208633] sdhci: Secure Digital Host Controller Interface driver
[ 2.213532] sdhci: Copyright© Pierre Ossman
[ 2.217079] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.221651] armada-cesa-ocf f109d000.crypto: mv_get_cesa_resources: Total CES A HW channels supported 2
[ 2.229719] armada-cesa-ocf f109d000.crypto: mv_get_cesa_resources: CESA feat ure: int_coalescing(1)
[ 2.237517] armada-cesa-ocf f109d000.crypto: mv_get_cesa_resources threshold 0x2, threshold_time 0xff
[ 2.245636] mvCesaInit: channels=2, session=640, queue=64
[ 2.255211] armada-cesa-ocf f109d000.crypto: cesa_ocf_probe: CESA driver oper ate in ocf(0) mode
[ 2.263203] cesadev_init(c073c934)
[ 2.266055] TCP: cubic registered
[ 2.268113] NET: Registered protocol family 17
[ 2.271355] Bridge firewalling registered
[ 2.274078] 8021q: 802.1Q VLAN Support v1.8
[ 2.277026] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[ 2.284021] registered taskstats version 1
[ 2.287735] rtc-mv f1010300.rtc: setting system clock to 2029-03-18 12:59:30 UTC (1868533170)
[ 2.295355] md: Waiting for all devices to be available before autodetect
[ 2.300893] md: If you don’t use raid, use raid=noautodetect
[ 2.306047] md: Autodetecting RAID arrays.
[ 2.308879] md: Scanned 0 and added 0 devices.
[ 2.312032] md: autorun …
[ 2.313527] md: … autorun DONE.
[ 2.315655] RAMDISK: gzip image found at block 0
[ 2.836992] VFS: Mounted root (ext2 filesystem) readonly on device 1:0.
[ 2.842504] devtmpfs: mounted
[ 2.844383] Freeing unused kernel memory: 256K (c0720000 - c0760000)
[ 5.055459] EXT3-fs (sda3): error: couldn’t mount because of unsupported opti onal features (240)
[ 5.063946] EXT2-fs (sda3): error: couldn’t mount because of unsupported opti onal features (244)
[ 5.158095] EXT4-fs (sda3): recovery complete
[ 5.197421] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null)
[ 5.398016] EXT4-fs (sda7): ext4_orphan_cleanup: deleting unreferenced inode 24
[ 5.411677] EXT4-fs (sda7): 1 orphan inode deleted
[ 5.415185] EXT4-fs (sda7): recovery complete
[ 5.617410] EXT4-fs (sda7): mounted filesystem with ordered data mode. Opts: (null)
[ 14.279181] jnl: driver (lke_9.2.0 lke_9.2.0_r256412_b8, LBD=ON) loaded at bf 000000
[ 14.412997] ufsd: module license ‘Commercial product’ taints kernel.
[ 14.418108] Disabling lock debugging due to kernel taint
[ 14.429622] ufsd:: trace mask set to 0000000f
[ 14.432714] ufsd: driver (lke_9.2.0 lke_9.2.0_r256412_b8, build_host("swtest6 "), acl, ioctl, bdi, sd2(0), fua, bz, tr, rsrc) loaded at bf020000
NTFS support included
Hfs+/HfsJ support included
optimized: speed
Build_for__WD_Glacier_k3.10.39_2015-08-11_lke_9.2.0_r256412_b8

[ 14.485378] tun: Universal TUN/TAP device driver, 1.6
[ 14.489225] tun: © 1999-2004 Max Krasnyansky maxk@qualcomm.com
[ 19.506595] EXT4-fs (sda6): mounted filesystem with ordered data mode. Opts: (null)
[ 19.695909] egiga0: mac address changed
[ 19.710459] SWF long pool #0: pkt_size=1536, buf_size=1600, total_size=1792 - 1024 of 1024 buffers added
[ 19.721256] SWF short pool #3: pkt_size= 256, buf_size= 320, total_size= 512 - 2048 of 2048 buffers added
[ 19.734405] HWF long pool #4: pkt_size=1536, buf_size=1568, total_size=1568 - 1024 of 1024 buffers added
[ 19.746786] HWF short pool #7: pkt_size= 480, buf_size= 512, total_size= 512 - 2048 of 2048 buffers added
[ 19.755415] egiga0: link up, full duplex, speed 100 Mbps
[ 19.759522] egiga0: started
[ 19.761023] egiga0: link up, full duplex, speed 100 Mbps
[ 29.047777] md: bind
[ 29.051981] md/raid1:md0: active with 1 out of 2 mirrors
[ 29.056197] md0: bitmap file is out of date (0 < 1) – forcing full recovery
[ 29.062038] created bitmap (16 pages) for device md0
[ 29.065787] md0: bitmap file is out of date, doing full recovery
[ 29.218321] md0: bitmap initialized from disk: read 2 pages, set 262136 of 26 2136 bits
[ 29.237426] md0: detected capacity change from 0 to 2147418112
[ 29.250775] md0: unknown partition table
[ 29.311409] Adding 2097056k swap on /dev/md0. Priority:-1 extents:1 across:2 097056k
[ 29.366045] EXT4-fs (sda4): barriers disabled
[ 29.380710] EXT4-fs (sda4): recovery complete
[ 29.383935] EXT4-fs (sda4): mounted filesystem with ordered data mode. Opts: barrier=0,usrquota,grpquota
[ 29.572960] restart sysinfod…
[ 36.178017] nf_conntrack version 0.5.0 (8039 buckets, 32156 max)
[ 36.429673] ip_tables: © 2000-2006 Netfilter Core Team
[ 45.970893] scandisk for power failure now.

root@WDMyCloud root # mdadm --detail /dev/md0
/dev/md0:
Version : 00.90.03
Creation Time : Sun Mar 18 05:59:56 2029
Raid Level : raid1
Array Size : 2097088 (2048.28 MiB 2147.42 MB)
Device Size : 2097088 (2048.28 MiB 2147.42 MB)
Raid Devices : 2
Total Devices : 1
Preferred Minor : 0
Persistence : Superblock is persistent

Intent Bitmap : Internal

Update Time : Sun Apr  7 17:09:18 2019
      State : active, degraded

Active Devices : 1
Working Devices : 1
Failed Devices : 0
Spare Devices : 0

       UUID : e4a88172:8c51e22d:1df3f42d:51eb7b4b
     Events : 0.9

Number   Major   Minor   RaidDevice State
   0       8        1        0      active sync   /dev/sda1
   1       0        0        1      removed

root@WDMyCloud root #

I BELIEVE that I was told that using SSH I could copy the files on the drive into the notebook? Of course that I would prefer reviving the volume and moving on, but if I can get the files copied, then formatting and recreating the volumes, that would be OK as well

THX A LOT FOR YOUR HELP!

#6

What does a df -h show. I’m going to be unavailable for a couple of hours. Looks like /dev/sda2 is not mounted. You could try to mount it.
mount /dev/sda2 /mnt/HD/HD_a2
if you get an error no directory. Try mkdir /mnt/HD/ND_a2
then try the mount again. Once mounted. You could cd /mnt/HD/HD_a2/Public
your videos should in the Shared Videos folder.

#7

This from ssh?

That is I log myself in
Then type
mount /dev/sda2 /mnt/HD/HD_a2

if I get an error no directory, then try
mkdir /mnt/HD/ND_a2
And then? reboot or sync or anything else?

#8

This is what I did…ssh logged myself in
mount /dev/sda2 /mnt/HD/HD_a2
root@WDMyCloud root # mount /dev/sda2 /mnt/HD/HD_a2
mount: mount point /mnt/HD/HD_a2 does not exist

So I tried the other command

root@WDMyCloud root # mkdir /mnt/HD/ND_a2
root@WDMyCloud root # mount /dev/sda2 /mnt/HD/HD_a2
mount: mount point /mnt/HD/HD_a2 does not exist

So…no advance, I tried anyway the cd command, but obviously, nothing.

root@WDMyCloud root # cd /mnt/HD/HD_a2/Public
-sh: cd: can’t cd to /mnt/HD/HD_a2/Public

On the dashboard, no change. Still no volumes, using windows, can’t get anything typing the IP

#9

Seems like a typo in your mkdir line: ND_a2

#10

You typed ND rather than HD. Also what does the df -h display.

#11

Ok…progress!!! I can see the folders on my ssh window connection.

root@WDMyCloud Public # df -h
Filesystem Size Used Available Use% Mounted on
%root% 54.2M 34.5M 16.9M 67% /
/dev/ram0 54.2M 34.5M 16.9M 67% /
mdev 251.2M 32.0K 251.2M 0% /dev
/dev/sda3 975.9M 195.9M 712.8M 22% /boot
/dev/sda7 991.6M 1.6M 974.1M 0% /usr/local/config
/dev/loop0 94.3M 94.3M 0 100% /usr/local/modules
tmpfs 1.0M 0 1.0M 0% /mnt
tmpfs 40.0M 928.0K 39.1M 2% /var/log
tmpfs 100.0M 4.8M 95.3M 5% /tmp
/dev/sda4 975.9M 8.6M 900.1M 1% /mnt/HD_a4
/dev/sda2 3.6T 1017.3G 2.5T 28% /mnt/HD/HD_a2

Still no progress on windows. Nothing visible on \192… and in the case of \192…\Public I get an connection error

image

I guess we’re getting there…maybe? baby steps.

#12

So you can SSH into the device. What IP address do you use to enter SSH? Use the same IP.
Also do a ps -eaf|grep smb show the results.

#13

Yes, all these last series of commands was using a ssh connection.
The IP is 192.168.33.103
I don’t understand what do you mean by “use the same IP”

root@WDMyCloud Public # ps -eaf|grep smb
1588 root 2592 S grep smb
2869 root 46496 S smbd -D
2871 root 36256 S smbd -D

#14

Also need the output of cat /etc/samba/smb.conf
in windows explorer. When you click on this PC then click on map network drive. enter
\192.168.33.103\Public
That is the correct statement. I need to see the smb.conf file to see if Public has been shared.

#15

root@WDMyCloud Public # cat /etc/samba/smb.conf
[ global ]
netbios name = WDMyCloud
server string = WDMyCloud
veto files = /:2eDS_Store/.bin/Network Trash Folder/.systemfile/lost+found/Nas_Prog/mirrored/uploaded/.wdmc/.AppleDouble/
workgroup = WORKGROUP
security = user
passdb backend = smbpasswd
ldap ssl = no
local master = no
os level = 0
preferred master = no
smb2 leases = yes
fruit:copyfile= yes
printing = bsd
printcap name = /dev/null
disable spoolss = yes
max protocol = SMB3
max xmit = 131072
max log size = 10
log level = 0
socket options = IPTOS_LOWDELAY TCP_NODELAY SO_RCVBUF=2097152 SO_SNDBUF=2097152
delete veto files = yes
unix charset = UTF8
encrypt passwords = yes
map to guest = bad user
null passwords = yes
guest account = nobody
dns proxy = no
use mmap = yes
use spnego = yes
disable netbios = no
strict allocate = yes
csc policy = disable
min receivefile size = 16k
allocation roundup size = 0
create mask = 0777
directory mask = 0777
force create mode = 0777
force directory mode = 0777
use sendfile = yes
smb passwd file = /etc/samba/smbpasswd
disable spoolss = yes
nt acl support = yes
acl map full control = yes
load printers = no
unix extensions = no
follow symlinks = yes
wide links = yes
printable = no
include = /etc/samba/tm_config.conf

From Windows Explorer, cannot access \192.168.33.103\Public - I get an error, it doesn’t exists…either if I type it on the address window, or if I try via Map Network Drive.

#16

Captain obvious here:

When you type \192.168.33.103, you really are typing the address with TWO leading forward slashes?

\ \192.168.33.103 (without the space between the forward slashes.

This forum software has real problems displaying a double slash.

Apologies if this was too obvious, but it seems like you are really close. Easy to have simple errors completely stymie someone.

If you can’t see the drive by typing the IP address, you probably won’t be able to map it. Also, you try the “device name” i.e. “\ \MyCloud”

#17

TWO FORWARD SLASHES, without the space.

\IP or Drive name - Empty folder
\IP\Public - Error , not able to find it

(Yes, i’d like to think that i`m really close, because of all your (all of you) help!. At least I’ve come a HUGE WAY, from no drive at all, to finding the data on the drive, and being able to downgrade the firmware)

#18

You need to add the following line to the end of smb.conf
[ Public ]
comment =
path = /mnt/HD/HD_a2/Public
browseable = yes
public = yes
available = yes
oplocks = yes
map archive = no
guest ok = yes
writable = yes
Not sure what editor you are familiar with.
maybe the easy way would be to plug in the bootable USB
cd /etc/samba
cp smb.conf /mnt/USB/
When you plug in the USB it should automatically mount. the type df
Thei will show you the USB name
Mine is /mnt/USB/USB3_b1
so the command would be cp smb.conf /mnt/USB/USB3_b1
Now you can move the USB to windows and use notepad to edit the file.
The hard way would be to use vi
to do that first cp smb.conf smb.conf-sv
vi smb.conf-sv
i
[ Public ]
comment =
path = /mnt/HD/HD_a2/Public
browseable = yes
public = yes
available = yes
oplocks = yes
map archive = no
guest ok = yes
writable = yes

:wq

Now cat smb.conf-sv it should show the new lines.
Note the escape is pressing the ecs key.
if the data is there mv smb.conf smb.conf-old
mv smb.conf-sv smb.conf
now reboot
now try to map the drive.

#19

Thank you rac8006… I’ll try this tomorrow. I feel terribly today, I got a bad cold so I’m done for the day.

I thank you so very much.

I will try this tomorrow and keep you updated.

Just to know. If I do this, it will make the partition visible from windows explorer, correct? That is, so that I can copy the files, STILL then (once I copy the files) I would have to rebuild the RAID volumes? and, of course, copy everything BACK to the drive.

Just wondering if I’m understanding this whole thing.

#20

Argh! CLIFFHANGER!!

I will definitely tune in tomorrow to see how this turns out.

1 Like