ssh target sd card

I just got a sd card for my Yun. I have tried to follow some tutorials using ssh, which is new to me.
This is what happens:

I can do:
cd /mnt/sda1

Here I make a new directory and file:

mkdir arduino
cd arduino
mkdir www
cd www
echo Hello World >hello.txt

Now if I do:
ls

it returns
hello.txt

Now If I try to umount the sd card:
umount /dev/sda1
umount: can't umount /dev/sda1: Invalid argument

If I just unplug the sd card and insert it in my computer, I can read the card but no folder "arduino" or hello.txt file is found.

After removing the sd card from the yun, I can still access sda1:
cd /mnt/sda1/arduino/www
ls

and it returns:
hello.txt

Any comment or suggestions?

It looks like you have written files on the flash at folder /mnt/sda1 instead than on the sd card

Once you have inserted the sd card in the yun, what the output of the following command? mount

Thanks! It was not listed.
Now I have formatted and inserted an old sd card. Now it works! thanks

I guess that this new class 10 64 gb SDXC is not compatible with the Yun...

wolmer:
I guess that this new class 10 64 gb SDXC is not compatible with the Yun...

They are not compatible with much right now at all. I have been just last week through a lot of trial and error to try and get those cards recognized and working in a whole bunch of laptops and tablets, in order to copy some presentation data onto one for an oversees trip of a client of mine. We ended up using a few 32GB SDHC cards, which turned out to be working just fine in the target Samsung Galaxy Note 12.1 as well as in my 2month old Toshiba Satellite and the customers brand spanking new Dell Inspiron laptop...

Stick with SDHC and you save yourself a lot of headaches and grey hair... :grin:

Ralf

Good to know, thanks PCWorxLA