Reply
Emerging Member
Posts: 42
Registered: ‎08-29-2009
Kudos: 1
Solutions: 3
Accepted Solution

Which format for Cloud Key micro sd?

Hi,

 

I lost the micro sd come the the Cloud Key and i buy new one. I thing the card come with ext4 format but the manual dont say nothing. Which format i use? Fat32 or some Ext4 or similar linux filesystem?

 

Thx. in advance


Accepted Solutions
SuperUser
Posts: 16,715
Registered: ‎06-18-2010
Kudos: 5362
Solutions: 1780

Re: Which format for Cloud Key micro sd?

[ Edited ]
login as: admin
admin@192.168.1.5's password:

  ___ ___      .__________.__
 |   |   |____ |__\_  ____/__|
 |   |   /    \|  ||  __) |  |   (c) 2013-2017
 |   |  |   |  \  ||  \   |  |   Ubiquiti Networks, Inc.
 |______|___|  /__||__/   |__|
            |_/                  http://www.ubnt.com

      Welcome to UniFi CloudKey!

Last login: Tue Oct 17 12:10:46 2017
root@UniFi-CloudKey:~# df -h
Filesystem                     Size  Used Avail Use% Mounted on
aufs-root                      2.9G  239M  2.7G   9% /
udev                            10M     0   10M   0% /dev
tmpfs                          404M  384K  404M   1% /run
/dev/disk/by-label/userdata    2.9G  239M  2.7G   9% /mnt/.rwfs
/dev/disk/by-partlabel/rootfs  400M  400M     0 100% /mnt/.rofs
tmpfs                         1009M     0 1009M   0% /dev/shm
tmpfs                          5.0M     0  5.0M   0% /run/lock
tmpfs                         1009M     0 1009M   0% /sys/fs/cgroup
tmpfs                         1009M  224K 1009M   1% /tmp
/dev/mmcblk0p8                  11G  1.2G  9.1G  11% /srv
/dev/mmcblk1p1                 7.2G  100M  7.1G   2% /data

root@UniFi-CloudKey:~# lsblk -f
NAME         FSTYPE   LABEL    UUID                                 MOUNTPOINT
mmcblk0rpmb
mmcblk0boot0
mmcblk0boot1
mmcblk0
|-mmcblk0p1
|-mmcblk0p2
|-mmcblk0p3
|-mmcblk0p4
|-mmcblk0p5
|-mmcblk0p6  squashfs                                               /mnt/.rofs
|-mmcblk0p7  ext4     userdata 1bf57851-83b7-4c09-8367-de6cd9fbc3ba /mnt/.rwfs
`-mmcblk0p8  ext4     appdata  853eb0bb-a960-4377-8b01-779d6d19d39c /srv
mmcblk1
`-mmcblk1p1  ext4     data     0e9889f5-f5fb-442a-977f-892712e3720b /data
mtdblock0
mtdblock1
root@UniFi-CloudKey:~#

mmcblk1 == ext4, the uSD card in my CloudKey

Set a Frequency! Don't leave it on Auto!
Disable Uplink Connectivity Monitor
Always set-inform a Second time after Adopting

View solution in original post


All Replies
SuperUser
Posts: 16,715
Registered: ‎06-18-2010
Kudos: 5362
Solutions: 1780

Re: Which format for Cloud Key micro sd?

[ Edited ]
login as: admin
admin@192.168.1.5's password:

  ___ ___      .__________.__
 |   |   |____ |__\_  ____/__|
 |   |   /    \|  ||  __) |  |   (c) 2013-2017
 |   |  |   |  \  ||  \   |  |   Ubiquiti Networks, Inc.
 |______|___|  /__||__/   |__|
            |_/                  http://www.ubnt.com

      Welcome to UniFi CloudKey!

Last login: Tue Oct 17 12:10:46 2017
root@UniFi-CloudKey:~# df -h
Filesystem                     Size  Used Avail Use% Mounted on
aufs-root                      2.9G  239M  2.7G   9% /
udev                            10M     0   10M   0% /dev
tmpfs                          404M  384K  404M   1% /run
/dev/disk/by-label/userdata    2.9G  239M  2.7G   9% /mnt/.rwfs
/dev/disk/by-partlabel/rootfs  400M  400M     0 100% /mnt/.rofs
tmpfs                         1009M     0 1009M   0% /dev/shm
tmpfs                          5.0M     0  5.0M   0% /run/lock
tmpfs                         1009M     0 1009M   0% /sys/fs/cgroup
tmpfs                         1009M  224K 1009M   1% /tmp
/dev/mmcblk0p8                  11G  1.2G  9.1G  11% /srv
/dev/mmcblk1p1                 7.2G  100M  7.1G   2% /data

root@UniFi-CloudKey:~# lsblk -f
NAME         FSTYPE   LABEL    UUID                                 MOUNTPOINT
mmcblk0rpmb
mmcblk0boot0
mmcblk0boot1
mmcblk0
|-mmcblk0p1
|-mmcblk0p2
|-mmcblk0p3
|-mmcblk0p4
|-mmcblk0p5
|-mmcblk0p6  squashfs                                               /mnt/.rofs
|-mmcblk0p7  ext4     userdata 1bf57851-83b7-4c09-8367-de6cd9fbc3ba /mnt/.rwfs
`-mmcblk0p8  ext4     appdata  853eb0bb-a960-4377-8b01-779d6d19d39c /srv
mmcblk1
`-mmcblk1p1  ext4     data     0e9889f5-f5fb-442a-977f-892712e3720b /data
mtdblock0
mtdblock1
root@UniFi-CloudKey:~#

mmcblk1 == ext4, the uSD card in my CloudKey

Set a Frequency! Don't leave it on Auto!
Disable Uplink Connectivity Monitor
Always set-inform a Second time after Adopting
Emerging Member
Posts: 42
Registered: ‎08-29-2009
Kudos: 1
Solutions: 3

Re: Which format for Cloud Key micro sd?

Thx. you! now i got the same. Format from gnome with gnome disk utility and write data as label.
Member
Posts: 111
Registered: ‎07-22-2017
Kudos: 44
Solutions: 6

Re: Which format for Cloud Key micro sd?

[ Edited ]

I had a problem with a Cloud Key G1 not booting when the SD Card was inserted, formating it in Windows and testing it with data and checksums, the SD Card seemed ok.

 

I removed all filesystem data from the SD Card using diskpart's clean command (don't du this unless you know how it works).

 

SD Card is not hot swapable, so i shut the CK down, mounted the SD card, and booted.

 

df -h did not show /dev/mmcblk1p1 but lsblk -f did show that the card was automatically formated with an ext4 partition.

 

Rebooting one more time, and /dev/mmcblk1p1 was mounted as /data and everything works as expected.

 

To put this in words:

When booting, and the Cloud Key finds an SD card that does not have the correct partition, it will first format it and after a second boot it will mount it correctly. I even checked with a SD card FAT32 formatted, it will be formatted too.

Ubiquiti Enterprise Wireless Admin
UEWA 2.1 Certified
Highlighted
Emerging Member
Posts: 42
Registered: ‎08-29-2009
Kudos: 1
Solutions: 3

Re: Which format for Cloud Key micro sd?

Check the boot log and dmesg message for any error.

 

root@UniFi-CloudKey:~# journalctl -b
Reply