# Linux filesystems \*NOT\* supported by My Cloud?

**URL:** <https://community.wd.com/t/linux-filesystems-not-supported-by-my-cloud/159765>\
**Category:** My Cloud OS 3\
**Created:** [April 12, 2016, 3:48am UTC](https://community.wd.com/t/linux-filesystems-not-supported-by-my-cloud/159765 "2016-04-12T03:48:10Z")\
**Posts on this page:** 15\
**Page:** 2

<div class="post-metadata">

**Author:** ![jharris1993](https://sea2.discourse-cdn.com/wd/user_avatar/community.wd.com/jharris1993/32/38914_2.png) [@jharris1993](https://community.wd.com/u/jharris1993)\
**Post date:** [April 13, 2016, 9:37pm UTC](https://community.wd.com/t/linux-filesystems-not-supported-by-my-cloud/159765/21 "2016-04-13T21:37:36Z")

</div>

OK, here’s what I’ve got here on this beastie:

## root@Storage2 /bin # help Built-in commands:

```
    . : [ [[ alias bg break cd chdir command continue echo eval exec
    exit export false fg getopts hash help jobs kill local printf
    pwd read readonly return set shift source test times trap true
    type ulimit umask unalias unset wait

```

The /bin directory:

```
root@Storage2 /bin # ls
addgroup delgroup ionice nice sleep
adduser deluser ipcalc passwd stat
ash df kill pidof tar
bash dmesg ln ping tinylogin
busybox dnsdomainname login ping6 touch
cat echo ls printenv true
chgrp egrep mkdir ps umount
chmod false mknod pwd uname
chown fgrep mktemp rm usleep
cp getopt more rmdir vi
date grep mount sed watch
dd hostname mv sh
root@Storage2 /bin #

```

The /sbin directory

```
root@Storage2 /sbin # ls
adjtimex ifconfig losetup modprobe swapoff udhcpc
arp ifenslave lsof pivot_root swapon vconfig
fsck init mdev poweroff sysctl zcip
getty logread mkswap route syslogd
root@Storage2 /sbin #

```

Oh, and I just noticed. . . I can’t find a 'naffing on/of button on this beast! So, in order to power this beastie down, I have to log into its webmin page? (or the SSH shell?) Sheesh! (shaking head. . .)

---

<div class="post-metadata">

**Author:** ![Bennor](https://sea2.discourse-cdn.com/wd/user_avatar/community.wd.com/bennor/32/97829_2.png) [@Bennor](https://community.wd.com/u/Bennor)\
**Post date:** [April 13, 2016, 10:28pm UTC](https://community.wd.com/t/linux-filesystems-not-supported-by-my-cloud/159765/22 "2016-04-13T22:28:00Z")

</div>

> [@jharris1993](#):
>
> Oh, and I just noticed. . . I can’t find a 'naffing on/of button on this beast! So, in order to power this beastie down, I have to log into its webmin page? (or the SSH shell?) Sheesh! (shaking head. . .)

The lack of an on/off button within the Dashboard is **_a well known issue_** discussed in several prior threads. the solution is to either use the WD Access program or issue the shutdown command via SSH.

[http://community.wd.com/t/how-i-turn-off/159860](http://community.wd.com/t/how-i-turn-off/159860)

[http://community.wd.com/t/how-to-safely-shutdown-mycloud/155265](http://community.wd.com/t/how-to-safely-shutdown-mycloud/155265)

[http://community.wd.com/t/safe-shutdown/147307](http://community.wd.com/t/safe-shutdown/147307)

[http://community.wd.com/t/cannot-find-power-off-button-in-dashboard-v2-11-133/151868](http://community.wd.com/t/cannot-find-power-off-button-in-dashboard-v2-11-133/151868)

---

<div class="post-metadata">

**Author:** ![Shabuboy](https://sea2.discourse-cdn.com/wd/user_avatar/community.wd.com/shabuboy/32/34055_2.png) [@Shabuboy](https://community.wd.com/u/Shabuboy)\
**Post date:** [April 13, 2016, 10:49pm UTC](https://community.wd.com/t/linux-filesystems-not-supported-by-my-cloud/159765/23 "2016-04-13T22:49:56Z")

</div>

This device as with most NAS devices, is design to be 24x7.  
Whatever you do, do not just pull the power plug, since there is a mechanical hard drive.

It can be done either via dashboard or CLI as specified on previous Bennor’s post

---

<div class="post-metadata">

**Author:** ![jharris1993](https://sea2.discourse-cdn.com/wd/user_avatar/community.wd.com/jharris1993/32/38914_2.png) [@jharris1993](https://community.wd.com/u/jharris1993)\
**Post date:** [April 13, 2016, 11:45pm UTC](https://community.wd.com/t/linux-filesystems-not-supported-by-my-cloud/159765/24 "2016-04-13T23:45:22Z")

</div>

> [@Shabuboy](#):
>
> It can be done either via dashboard or CLI as specified on previous Bennor’s post

As a guy I knew a long time ago used to say: “Not so, Buffalo Breath!” 😉

This is true, and **_ONLY_** true, if you are lucky enough to have a system with the 4.n firmware in it. The newer 2.n firmware devices do not, repeat **_NOT_** , have the ability to safely shutdown the device at all!

Viz.: My posting at [Safe shutdown](http://community.wd.com/t/safe-shutdown/147307/32)

I know this is way off topic, but it’s this kind of horse-hooey that makes me want to find whoever was responsible for this debacle, and CHOKE THE [snap!] OUT OF HIM!!

I have an ancient My Book World (blue rings edition) that, at the very least, has a power button. Of course, the Einsteins that developed the firmware for this beastie designed it so that the power lights go off first - making the user think it’s off - about two minutes before it has truly shut down. Result: Many borked My Book World systems, (including mine!), and a while slew of dissatisfied customers.

In my case, I solved the problem with a red LED wired across the +12v power to the hard drives in my device. When the LED is off, I can safely shut down power to it.

(fume, fume, rant, rant. . . .)

Jim “JR”

p.s. I’m still experimenting with the USB stuff.

---

<div class="post-metadata">

**Author:** ![jharris1993](https://sea2.discourse-cdn.com/wd/user_avatar/community.wd.com/jharris1993/32/38914_2.png) [@jharris1993](https://community.wd.com/u/jharris1993)\
**Post date:** [April 13, 2016, 11:56pm UTC](https://community.wd.com/t/linux-filesystems-not-supported-by-my-cloud/159765/25 "2016-04-13T23:56:25Z")

</div>

The firmware file for the 2.n systems is 106 megs in size.

If what I am thinking is correct, you’d have to copy the “busybox” file to the other system, assuming that it will work on that processor.

Jim “JR”

---

<div class="post-metadata">

**Author:** ![cpt\_paranoia](https://sea2.discourse-cdn.com/wd/user_avatar/community.wd.com/cpt_paranoia/32/34703_2.png) [@cpt\_paranoia](https://community.wd.com/u/cpt_paranoia)\
**Post date:** [April 14, 2016, 12:03am UTC](https://community.wd.com/t/linux-filesystems-not-supported-by-my-cloud/159765/26 "2016-04-14T00:03:08Z")

</div>

> [@jharris1993](#):
>
> The newer 2.n firmware devices do not, repeat NOT, have the ability to safely shutdown the device at all!

Just to be sure: have you tried the shutdown which is supposed to be possible from the ‘User’ ‘information icon’ at the top of the Dashboard (the head icon)? That’s what the user manual says is possible.

---

<div class="post-metadata">

**Author:** ![jharris1993](https://sea2.discourse-cdn.com/wd/user_avatar/community.wd.com/jharris1993/32/38914_2.png) [@jharris1993](https://community.wd.com/u/jharris1993)\
**Post date:** [April 14, 2016, 12:14am UTC](https://community.wd.com/t/linux-filesystems-not-supported-by-my-cloud/159765/27 "2016-04-14T00:14:48Z")

</div>

That does not exist in the current 2.n firmware.

Viz.:

 ![](https://global.discourse-cdn.com/wd/original/3X/9/8/9832f2cc78f6014742b63017047ca43e05be2a68.JPG)

Using the method suggested by Domemvs,

> [@Safe shutdown](https://community.wd.com/t/safe-shutdown/147307/26):
>
> I connected to my My Cloud via SSH. Unfortunately I don’t have a shutdown file in my /sbin/ folder. All I have is **/usr/local/modules/script/shutdown.sh** Any suggestions?

. . . the machine **_appears_** to shut down, but does not appear to cleanly unmount the filesystem first, resulting in a “Power” warning in the webmin page when you log in again, and it spends a while fsck’ing the system.

More research is needed.

Jim “JR”

---

<div class="post-metadata">

**Author:** ![rac8006](https://sea2.discourse-cdn.com/wd/user_avatar/community.wd.com/rac8006/32/34022_2.png) [@rac8006](https://community.wd.com/u/rac8006)\
**Post date:** [April 14, 2016, 12:29am UTC](https://community.wd.com/t/linux-filesystems-not-supported-by-my-cloud/159765/28 "2016-04-14T00:29:32Z")

</div>

You don’t need to copy busybox. The gen 1 cloud does not have busybox. You would just copy fdisk from the gen 1 to the gen 2. Try to run it. If it works good.  
If you look at the files in the /bin /sbin /usr/bin and /usr/sbin most will be a symbolic link to busybox. On the gen 1 they are all seperate files. The problem is that the gen 1 is compied wiht 64k page size. The standard Debian is compile with 4k page size. If you know someone with a gen 1 cloud get the fdisk from them and name it fdisk64k then get the standard fdisk and call it fdisk4k. Check each one. The thing that may happen is that you will have a missing library.

RAC

---

<div class="post-metadata">

**Author:** ![jharris1993](https://sea2.discourse-cdn.com/wd/user_avatar/community.wd.com/jharris1993/32/38914_2.png) [@jharris1993](https://community.wd.com/u/jharris1993)\
**Post date:** [April 14, 2016, 12:31am UTC](https://community.wd.com/t/linux-filesystems-not-supported-by-my-cloud/159765/29 "2016-04-14T00:31:50Z")

</div>

> [@Bennor](#):
>
> While you may have reformatted the drive did you delete the partition first then reparation before reformatting? In my case doing just a reformat didn’t solve the issue I had to remove the partition on the drive, repartition, then format for the My Cloud to properly mount the drive.

KA-BINNNNNG!!

You get the Golden Kewpie Doll! 😆

Completely nuking, (as in “dd if=/dev/zero of=/dev/sd bs=8M”), repartitioning, and re-creating the ext4 filesystem solved the problem, (emoticon of smiley-face scratching head in wonder), and I think there’s more going on here than just a missing power switch.

I do not have the time right now to dig into this in the big way, however there should be (with the emphasis on the “should be” part), no reason why everybody and his uncle’s brother will mount a device, and the My Cloud won’t.

Obviously, more research, and perhaps a firmware update, is needed.

I’m being shipped overseas in almost exactly 48 hours, and I have to be “ready to deploy” by 0700 on Friday, so I might not get much more time to play with this until I’m feet-dry on the other side. That is, God willlin’ an’ the Creek Don’t Rise! 🙂

This thing is fun, and despite the fact that I want to **_STRANGLE_** both the Dev and QA teams, I am having fun with it. I have it bung-full with just short of 6T of stuff, and I’m bringing an empty 3T USB “outrigger” drive with it.

Massive Kudos and huge thanks to everyone who has helped, (make that read “put up with”), me during this odyssey.

Jim “JR”

---

<div class="post-metadata">

**Author:** ![Bennor](https://sea2.discourse-cdn.com/wd/user_avatar/community.wd.com/bennor/32/97829_2.png) [@Bennor](https://community.wd.com/u/Bennor)\
**Post date:** [April 14, 2016, 2:03am UTC](https://community.wd.com/t/linux-filesystems-not-supported-by-my-cloud/159765/30 "2016-04-14T02:03:00Z")

</div>

> [@cpt\_paranoia](#):
>
> Just to be sure: have you tried the shutdown which is supposed to be possible from the ‘User’ ‘information icon’ at the top of the Dashboard (the head icon)? That’s what the user manual says is possible.

This has been discussed before. While the v2.x user manual claims in two separate places that there is a shutdown button on the Dashboard. Fact is there is currently no shutdown button on the Dashboard. Stupid and something you’d figure they’d fix ASAP. But they haven’t.

> [@Safe shutdown](http://community.wd.com/t/safe-shutdown/147307/7):
>
> It would appear your using a v2.x My Cloud. The [v2.x My Cloud User Manual](http://www.wdc.com/wdproducts/library/UM/ENG/4779-705147.pdf) claims to indicate two places in the user manual where there is a shutdown option yet both locations, page 32 and page 63, do not appear to show an actual shutdown button. If there is no actual button to shutdown the v2.x My Cloud one can, as explained above still shutdown the My Cloud using SSH. While I don’t use the WD Quick View software it is possible that software also has the option to shutdown the My Cloud. The WD…

---

<div class="post-metadata">

**Author:** ![Bennor](https://sea2.discourse-cdn.com/wd/user_avatar/community.wd.com/bennor/32/97829_2.png) [@Bennor](https://community.wd.com/u/Bennor)\
**Post date:** [April 14, 2016, 2:07am UTC](https://community.wd.com/t/linux-filesystems-not-supported-by-my-cloud/159765/31 "2016-04-14T02:07:12Z")

</div>

> [@jharris1993](#):
>
> Completely nuking, (as in “dd if=/dev/zero of=/dev/sd bs=8M”), repartitioning, and re-creating the ext4 filesystem solved the problem, (emoticon of smiley-face scratching head in wonder), and I think there’s more going on here than just a missing power switch.

Glad it worked. Seems the My Cloud has trouble with certain hard drive partitions that only repartitioning fixes.

---

<div class="post-metadata">

**Author:** ![jharris1993](https://sea2.discourse-cdn.com/wd/user_avatar/community.wd.com/jharris1993/32/38914_2.png) [@jharris1993](https://community.wd.com/u/jharris1993)\
**Post date:** [April 14, 2016, 2:21am UTC](https://community.wd.com/t/linux-filesystems-not-supported-by-my-cloud/159765/32 "2016-04-14T02:21:12Z")

</div>

> [@Bennor](#):
>
> This has been discussed before. While the v2.x user manual claims in two separate places that there is a shutdown button on the Dashboard. Fact is there is currently no shutdown button on the Dashboard. Stupid and something you’d figure they’d fix ASAP. But they haven’t.

When we last saw our Fearless Hero, he was commenting within the thread [“ **Safe shutdown** ”](http://community.wd.com/t/safe-shutdown/147307/33) about how to shut the My Cloud down without trashing the hard drives. . . .

As I noted there, there is a very cleverly hidden **_binary_** command called (drum-roll please!) “halt”. As in "smack your head with your palm “halt” "

If there was a “Doh!” emoticon, I’d be using it now.

The way you use it is from within a SSH shell - log in, and then type the command “halt”. Hit the enter key, and watch the lights on your My Cloud unit do their Death Dance as it (gracefully!) shuts itself down, **_without_** trashing the hard drives.

Once the front panel light goes off, the filesystems are unmounted, drives parked, power removed, and it’s ready and raring to be thrown into a duffel-bag and shlepped to God Only Knows Where.

Jim “JR”

p.s. Why they can’t link a button from the Webmin page, or from within the totally useless Windows app, to the obviously existing “halt” function is beyond me. When I get the chance, maybe there’s a way to edit the dashboard page to add a button that links to the halt command, 'eh?

See you all on the other side!

Jim “JR”

---

<div class="post-metadata">

**Author:** ![jharris1993](https://sea2.discourse-cdn.com/wd/user_avatar/community.wd.com/jharris1993/32/38914_2.png) [@jharris1993](https://community.wd.com/u/jharris1993)\
**Post date:** [April 14, 2016, 4:28pm UTC](https://community.wd.com/t/linux-filesystems-not-supported-by-my-cloud/159765/33 "2016-04-14T16:28:13Z")

</div>

Going back to the “not mounting USB drives with filesystem [blah-blah]” discussion. . . .

Looking at a drive that **_was_** successfully mounted on the My Cloud, discloses a hidden file named “.smbm.xml” in the root of that drive. Examination of that file discloses that it is apparently a fragment of a samba.conf configuration file for SMB. This file contains information about how the My Cloud will mount and expose the drive for use when plugged in.

I have not confirmed this, but there might be another explanation to the failure-to-mount issue:  
What if, for whatever reason, the My Cloud does not have permission to write to the root of the USB device? In that case, it might not be able to create - or update - the smbm.xml file, and as a consequence it fails to mount the device. Even though normally it would be able to mount it just wonderfully.

Again, I do **_not_** know if this is true for a fact and I do not have time to experiment with it at the present time, though it would be interesting to play with.

One good test would be to take a drive that - for whatever reason - fails to mount, and then run a “chmod 777 [path to drive]” command. Or a “chown” to whatever the owner of the filesystem is. (or both?)

If anyone gets time to play with this, try it and let me know if that helps.

Thanks!

Jim “JR”

---

<div class="post-metadata">

**Author:** ![jharris1993](https://sea2.discourse-cdn.com/wd/user_avatar/community.wd.com/jharris1993/32/38914_2.png) [@jharris1993](https://community.wd.com/u/jharris1993)\
**Post date:** [November 6, 2016, 10:31pm UTC](https://community.wd.com/t/linux-filesystems-not-supported-by-my-cloud/159765/34 "2016-11-06T22:31:58Z")

</div>

> [@rac8006](#):
>
> Does anybody know if gen 2 clouds are 4k or 64k code files. If 64k then fdisk from a gen 1 cloud could possibly copied to the gen 2 cloud. Missing libraries could be a problem. Otherwise a standard debian program could be copied to the gen 2 cloud.  
> In either case running fdisk on the gen 2 would just fail to run if it is the wrong version or is missing a library.

Sigh. . . .

If it were only that simple. As I have discovered, something like 99.9999% of the software on the 2.n version systems is embedded in the firmware, within a write-only squashfs filesystem. With that the ability to make modifications to the filesystem are (virtually?) impossible.

Jim (JR)

---

<div class="post-metadata">

**Author:** ![rac8006](https://sea2.discourse-cdn.com/wd/user_avatar/community.wd.com/rac8006/32/34022_2.png) [@rac8006](https://community.wd.com/u/rac8006)\
**Post date:** [November 7, 2016, 12:09am UTC](https://community.wd.com/t/linux-filesystems-not-supported-by-my-cloud/159765/35 "2016-11-07T00:09:29Z")

</div>

In both the gen1 and gen2 system the software is embedded in the firmware. Only those things that other people  
install in the gen1 is outside of the firmware. The gen1 uses a Debian system compiled with 4k page size on firmware version 3.xx. The firmware version 4.xx uses 64k page size. On the gen1 system the Linux commands are seperate programs. On the gen2 a lot of the Linux commands are built into a file called busybox. Also the gen2 systems have a limited number of libraries. One can copy a program from a standard Debian Linux system and copy it to a gen2 system. The odds of that program running are slim. Since the necessary libraries may not be installed.

[Previous page](https://community.wd.com/t/linux-filesystems-not-supported-by-my-cloud/159765.md?page=1)
