Fresh 128GB Micro SD states "No space left"

Hi,

I got myself a PinePhone and I’m aiming to install OpenSuse on it. In order to flash the eMMC I’m following instructions from https://en.opensuse.org/HCL:PinePhone .
Now I put in my newly bought 128 GB miniSD into a USB SD-Card Reader, plugged it into my Desktop PC and executed the command

 xzcat ~user/Downloads/openSUSE-Tumbleweed-ARM-PLAMO-pinephone.aarch64.raw.xz | dd bs=4M of=/dev/sdd iflag=fullblock oflag=direct status=progress; sync 

As a result i get this message:

[FONT=monospace]
dd: error writing '/dev/sdd': No space left on device 
1+0 records in 
0+0 records out 
1966080 bytes (2.0 MB, 1.9 MiB) copied, 0.119083 s, 16.5 MB/s
[/FONT]

[FONT=monospace]

[/FONT]
[FONT=monospace][FONT=monospace]lsblk :
[/FONT][/FONT]

NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
[FONT=monospace][FONT=monospace][FONT=monospace]sdd      8:48   1   1.9M  0 disk 

[/FONT][/FONT][/FONT]

[FONT=monospace][FONT=monospace][FONT=monospace]

fdisk -l
[/FONT][/FONT][/FONT]


[FONT=monospace][FONT=monospace][FONT=monospace]
**Disk /dev/sdd: 1.88 MiB, 1966080 bytes, 3840 sectors**
Disk model: Mini SD Reader   
Units: sectors of 1 * 512 = 512 bytes 
Sector size (logical/physical): 512 bytes / 512 bytes 
I/O size (minimum/optimal): 512 bytes / 512 bytes 
Disklabel type: dos 
Disk identifier: 0x5b213ad4
[/FONT][/FONT][/FONT]

[FONT=monospace][FONT=monospace][FONT=monospace]

So obviously the system recognizes only 1.9MB of space, while it should be 128GB

Do you know any solution for this problem? Thanks in advance.

[/FONT][/FONT][/FONT]

@Jaizkibel:

Does the SD card have an exFAT partition on it?


 > lsblk --fs /dev/sdg
NAME   FSTYPE FSVER LABEL      UUID                                 FSAVAIL FSUSE% MOUNTPOINT
sdg                                                                                
└─sdg1 **exfat**  1.0   SD QUATTRO F01F-DD02                                           
 > 

If not, you’ll have to install the “exfatprogs” package, create an exFAT partition on the SD card and then, create and format an exFAT filesystem on that partition with “mkfs.exfat” –


 # fdisk --list /dev/sdg
Disk /dev/sdg: 59.48 GiB, 63864569856 bytes, 124735488 sectors
Disk model: USB3.0 CRW-SD   
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x4c6faf3d

Device     Boot Start       End   Sectors  Size Id Type
/dev/sdg1       32768 124735487 124702720 59.5G  7 HPFS/NTFS/exFAT
 # 

BTW, the SD card I’m using as an example here, was formatted by my digital camera …

Hi
Is this card reader old or new? If an older device it may not be able to read cards that big…

I tried to create that partition mentioned by dcurtisfra. It worked in parts, but not enough. I spare you the details until I give it another try with a newer card reader. Mine is actually indeed an old one. Probably too old. Thanks to both of you.

Yes, in the past, Card Readers used to only support FAT – you need to be careful that the Card Reader to be purchased actually supports exFAT

  • Beware of vendors attempting to get rid of old stock …

Could be a fake. Try a known good one. I use Genesys Logic, Inc. SDXC and microSDXC CardReader. This model always worked with any [FONT=monospace]SDXC [/FONT][FONT=monospace][FONT=monospace]and microSDXC card.
[/FONT][/FONT]

[FONT=monospace]**erlangen:~ #** journalctl -b 0 _KERNEL_SUBSYSTEM=usb 
-- Journal begins at Wed 2021-12-29 21:57:19 CET, ends at Thu 2021-12-30 11:20:00 CET. -- 
...
Dec 30 11:19:02 erlangen kernel: usb 2-4: new SuperSpeed USB device number 4 using xhci_hcd 
Dec 30 11:19:02 erlangen kernel: usb 2-4: New USB device found, idVendor=05e3, idProduct=0743, bcdDevice= 8.28 
Dec 30 11:19:02 erlangen kernel: usb 2-4: New USB device strings: Mfr=3, Product=4, SerialNumber=5 
Dec 30 11:19:02 erlangen kernel: usb 2-4: Product: USB Storage 
Dec 30 11:19:02 erlangen kernel: usb 2-4: Manufacturer: Generic 
Dec 30 11:19:02 erlangen kernel: usb 2-4: SerialNumber: 000000000828 
Dec 30 11:19:02 erlangen kernel: usb-storage 2-4:1.0: USB Mass Storage device detected 
**erlangen:~ #**[/FONT]
**erlangen:~ #** fdisk -l /dev/sde 
**Disk /dev/sde: 30.17 GiB, 32395755520 bytes, 63272960 sectors**
Disk model: STORAGE DEVICE   
Units: sectors of 1 * 512 = 512 bytes 
Sector size (logical/physical): 512 bytes / 512 bytes 
I/O size (minimum/optimal): 512 bytes / 512 bytes 
Disklabel type: dos 
Disk identifier: 0x00000000 

**Device    ****Boot****Start****     End**** Sectors**** Size****Id****Type**
/dev/sde1        8192 63272959 63264768 30.2G  c W95 FAT32 (LBA) 
**erlangen:~ #**