• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
RetroPie forum home
  • Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

how do you get faster write speeds to SSD only getting 24mb/s

Scheduled Pinned Locked Moved Help and Support
retropie 4.7nespi4
34 Posts 4 Posters 3.5k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C
    comet424 @comet424
    last edited by 28 Feb 2022, 14:16

    i ran the dd program on the bottom of that forum

    pi@retropie:~ $ dd if=/dev/zero of=./largefile bs=1M count=1024
    1024+0 records in
    1024+0 records out
    1073741824 bytes (1.1 GB, 1.0 GiB) copied, 45.0954 s, 23.8 MB/s
    pi@retropie:~ $ sudo sh -c "sync && echo 3 > /proc/sys/vm/drop_caches"
    pi@retropie:~ $ dd if=./largefile of=/dev/null bs=4k
    262144+0 records in
    262144+0 records out
    1073741824 bytes (1.1 GB, 1.0 GiB) copied, 25.6095 s, 41.9 MB/s
    pi@retropie:~ $
    

    and i running a WD 2tb SSD speeds up to what 550mb/s

    but thats why i went ntfs.. cuz when i googled linux should have full support in kernel for ntfs least thats what i read unless thats a different version?

    1 Reply Last reply Reply Quote 0
    • M
      mitu Global Moderator @comet424
      last edited by mitu 28 Feb 2022, 14:33

      @comet424 said in how do you get faster write speeds to SSD only getting 24mb/s:

      and then i googleed.. and it said Linux 5 and up has ntfs full support doesnt retropie use Linux 5+?

      Can you please provide a source link ? Not sure what Linux 5 is suppose to mean.

      so how can i format it then in retropie to get the 2TB to see Fat? or would be better ExFat? as i was able to mount that in Unraid ExFat for 2tb

      You can format it on a PC with ExFat or from Linux with the command line mkfs.exfat command.

      sudo apt -y install exfat-utils
      sudo mkfs.exfat /dev/sda1

      Warning - formatting will erase all existing data on the disk !

      1 Reply Last reply Reply Quote 0
      • C
        comet424
        last edited by comet424 28 Feb 2022, 14:56

        wont let me post correctly
        https://www.theregister.com/2021/10/13/how_ntfs_finally_made_it/#:~:text=Starting with the Linux 5.15,FAT)%20file%20system%20across%20Windows.

        here it says as if linux 5.5 version ntfs fully supported
        but maybe fully supported and getting retropie to access at full speed 2 different things

        Starting with the Linux 5.15 kernel, NTFS is finally being fully supported in Linux. This journey hasn't been easy.
        
        Microsoft introduced NTFS, a proprietary – naturally – journaling file system in Windows NT 3.1 in 1993. From there, it replaced 1977's File Allocation Table (FAT) file system across Windows.
        
        
        

        https://www.zdnet.com/article/linux-boosts-microsoft-ntfs-support-as-linus-torvalds-complains-about-github-merges/

        Linux creator Linus Torvalds has agreed to include Paragon Software's NTFS3 kernel driver, giving the Linux kernel 5.15 release improved support for Microsoft's NTFS file system. But he also had some process and security lessons to offer developers about how to code submissions to the kernel should be made.
        

        i did see in another link
        to use ntfs-3g

        for for the fstab
        would that fix things? adding -3g

        C 1 Reply Last reply 28 Feb 2022, 15:17 Reply Quote 0
        • C
          comet424 @comet424
          last edited by comet424 28 Feb 2022, 15:17

          i guess retropie doesnt fully support ntfs

          above says Linux 5.15 kernal is fully supported

          but when i logged into retropie

          it only runs 5.10.63 so its not fully supported yet.. i guess once retropie upgrades to 5.15 maybe then ntfs gets the fully speeds

          i formated to exfat but it didnt take

          pi@retropie:~ $ df -h -T
          Filesystem Type Size Used Avail Use% Mounted on
          /dev/root ext4 117G 4.5G 108G 4% /
          devtmpfs devtmpfs 1.8G 0 1.8G 0% /dev
          tmpfs tmpfs 1.9G 0 1.9G 0% /dev/shm
          tmpfs tmpfs 1.9G 9.4M 1.9G 1% /run
          tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
          tmpfs tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
          /dev/mmcblk0p1 vfat 256M 49M 207M 20% /boot
          tmpfs tmpfs 384M 0 384M 0% /run/user/1000
          pi@retropie:~ $ ls -l /dev/disk/by-uuid/
          total 0
          lrwxrwxrwx 1 root root 10 Feb 28 15:15 5BAF-3224 -> ../../sda1
          lrwxrwxrwx 1 root root 15 Feb 28 15:15 8988cf8f-d459-476f-9a4a-16c56702dc40 -> ../../mmcblk0p2
          lrwxrwxrwx 1 root root 15 Feb 28 15:15 C367-3F28 -> ../../mmcblk0p1
          proc /proc proc defaults 0 0
          PARTUUID=e22bcd10-01 /boot vfat defaults 0 2
          PARTUUID=e22bcd10-02 / ext4 defaults,noatime 0 1
          # a swapfile is not a swap partition, no line here
          # use dphys-swapfile swap[on|off] for that
          UUID=5BAF-3224 /home/pi/RetroPie exfat nofail,user,uid=pi,gid=pi 0 2
          pi@retropie:~ $ ls -l /dev/disk/by-uuid/
          total 0
          lrwxrwxrwx 1 root root 10 Feb 28 15:17 5BAF-3224 -> ../../sda1
          lrwxrwxrwx 1 root root 15 Feb 28 15:17 8988cf8f-d459-476f-9a4a-16c56702dc40 -> ../../mmcblk0p2
          lrwxrwxrwx 1 root root 15 Feb 28 15:17 C367-3F28 -> ../../mmcblk0p1
          pi@retropie:~ $ sudo mkfs.exfat /dev/sda1
          mkexfatfs 1.3.0
          Creating... done.
          Flushing... done.
          File system created successfully.
          pi@retropie:~ $ df -h -T
          Filesystem Type Size Used Avail Use% Mounted on
          /dev/root ext4 117G 4.5G 108G 4% /
          devtmpfs devtmpfs 1.8G 0 1.8G 0% /dev
          tmpfs tmpfs 1.9G 0 1.9G 0% /dev/shm
          tmpfs tmpfs 1.9G 9.4M 1.9G 1% /run
          tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
          tmpfs tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
          /dev/mmcblk0p1 vfat 256M 49M 207M 20% /boot
          tmpfs tmpfs 384M 0 384M 0% /run/user/1000
          pi@retropie:~ $
          C 1 Reply Last reply 28 Feb 2022, 15:51 Reply Quote 0
          • C
            comet424 @comet424
            last edited by comet424 28 Feb 2022, 15:51

            so i dont have that hdparm program not sure how to install it

            i did get it to format and mount using sudo mkfs.fat

            pi@retropie:~ $ df -h -T
            Filesystem Type Size Used Avail Use% Mounted on
            /dev/root ext4 117G 4.5G 108G 4% /
            devtmpfs devtmpfs 1.8G 0 1.8G 0% /dev
            tmpfs tmpfs 1.9G 0 1.9G 0% /dev/shm
            tmpfs tmpfs 1.9G 9.4M 1.9G 1% /run
            tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
            tmpfs tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
            /dev/mmcblk0p1 vfat 256M 49M 207M 20% /boot
            /dev/sda1 vfat 1.9T 96K 1.9T 1% /home/pi/RetroPie
            tmpfs tmpfs 384M 0 384M 0% /run/user/1000
            proc /proc proc defaults 0 0
            PARTUUID=e22bcd10-01 /boot vfat defaults 0 2
            PARTUUID=e22bcd10-02 / ext4 defaults,noatime 0 1
            # a swapfile is not a swap partition, no line here
            # use dphys-swapfile swap[on|off] for that
            UUID=D41A-0442 /home/pi/RetroPie vfat nofail,user,uid=pi,gid=pi 0 2

            extfat just wouldnt work now is this fat or fat32?

            so copying is even worse.. now it only copies 2-5mbs/s

            C 1 Reply Last reply 28 Feb 2022, 16:22 Reply Quote 0
            • C
              comet424 @comet424
              last edited by comet424 28 Feb 2022, 16:22

              i did google and found a different format

              pi@retropie:~ $ sudo mkfs.vfat -F 32 /dev/sda1
              

              now i got 5-10mb/s but no where near 80mbs whats going on? its it writting to the SD card first then the SSD?
              as its supposed to write directly to the SSD

              pi@retropie:~ $ df -h -T
              Filesystem Type Size Used Avail Use% Mounted on
              /dev/root ext4 117G 4.5G 108G 4% /
              devtmpfs devtmpfs 1.8G 0 1.8G 0% /dev
              tmpfs tmpfs 1.9G 0 1.9G 0% /dev/shm
              tmpfs tmpfs 1.9G 9.6M 1.9G 1% /run
              tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
              tmpfs tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
              /dev/mmcblk0p1 vfat 256M 49M 207M 20% /boot
              /dev/sda1 vfat 1.9T 1.7G 1.9T 1% /home/pi/RetroPie
              tmpfs tmpfs 384M 0 384M 0% /run/user/1000
              pi@retropie:~ $ ls -l /dev/disk/by-uuid/
              total 0
              lrwxrwxrwx 1 root root 10 Feb 28 16:12 3FDD-79EC -> ../../sda1
              lrwxrwxrwx 1 root root 15 Feb 28 16:12 8988cf8f-d459-476f-9a4a-16c56702dc40 -> ../../mmcblk0p2
              lrwxrwxrwx 1 root root 15 Feb 28 16:12 C367-3F28 -> ../../mmcblk0p1
              pi@retropie:~ $
              proc /proc proc defaults 0 0
              PARTUUID=e22bcd10-01 /boot vfat defaults 0 2
              PARTUUID=e22bcd10-02 / ext4 defaults,noatime 0 1
              # a swapfile is not a swap partition, no line here
              # use dphys-swapfile swap[on|off] for that
              UUID=3FDD-79EC /home/pi/RetroPie vfat nofail,user,uid=pi,gid=pi 0 2

              and i dont know how to get the testing of the dd or the hdparm command for the sda1

              is it maybe retropie cant hand 2TB at the full usb 3.0 speeds? as i didnt have issue with the same brand SSD just at a 250 and 500mbs but now i jumped to a 2TB i get these extreme slow speeds..

              and i dont know linux good enough to trouble shoot things

              1 Reply Last reply Reply Quote 0
              • M
                mitu Global Moderator
                last edited by mitu 28 Feb 2022, 16:33

                @comet424 said in how do you get faster write speeds to SSD only getting 24mb/s:

                i formated to exfat but it didnt take
                [...]

                You've run the correct command, but your next df commands don't show that the newly formatted partition is mounted.

                so i dont have that hdparm program not sure how to install it

                You can install it with sudo apt install hdparm.

                i did get it to format and mount using sudo mkfs.fat
                extfat just wouldnt work now is this fat or fat32?

                It's neither, exfat is another type of filesystem, just like fat or vfat (which is Linux name for FAT32).

                I'm not really sure how you're testing, your df commands don't show the /dev/sda1 partition being mounted so you may actually be testing just the sdcard.

                is it maybe retropie cant hand 2TB at the full usb 3.0 speeds? as i didnt have issue with the same brand SSD just at a 250 and 500mbs but now i jumped to a 2TB i get these extreme slow speeds.

                It can handle it fine, that's not the issue here - is the filesystem used. Use exfat instead of ntfs and you should get better performance.

                C 1 Reply Last reply 28 Feb 2022, 16:45 Reply Quote 0
                • C
                  comet424 @mitu
                  last edited by comet424 28 Feb 2022, 16:45

                  @mitu
                  ill re ty again and the test i did was on the bottom of the forum page

                  i ran

                  pi@retropie:~ $ sudo sh -c "sync && echo 3 > /proc/sys/vm/drop_caches"
                  pi@retropie:~ $ dd if=./largefile of=/dev/null bs=4k
                  

                  and ran

                  dd if=/dev/zero of=./largefile bs=1M count=1024
                  

                  so i installed it and ran

                  pi@retropie:~ $ sudo hdparm -Tt /dev/sda1
                  /dev/sda1:
                  Timing cached reads: 1588 MB in 2.00 seconds = 793.80 MB/sec
                  Timing buffered disk reads: 882 MB in 3.00 seconds = 293.62 MB/sec

                  so for doing the exfat how do i change that for the fstab? as it wouldnt mount or if it did it was media/usb0

                  pi@retropie:~ $ df -h -T
                  Filesystem Type Size Used Avail Use% Mounted on
                  /dev/root ext4 117G 4.5G 108G 4% /
                  devtmpfs devtmpfs 1.8G 0 1.8G 0% /dev
                  tmpfs tmpfs 1.9G 0 1.9G 0% /dev/shm
                  tmpfs tmpfs 1.9G 9.5M 1.9G 1% /run
                  tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
                  tmpfs tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
                  /dev/mmcblk0p1 vfat 256M 49M 207M 20% /boot
                  /dev/sda1 vfat 1.9T 4.2G 1.9T 1% /home/pi/RetroPie
                  tmpfs tmpfs 384M 0 384M 0% /run/user/1000

                  this above formated for fat 32 and i getting copy speeds of 5-10mbs

                  but when i had ntfs it was least 25 so i dont get it ):

                  M 1 Reply Last reply 28 Feb 2022, 16:49 Reply Quote 0
                  • M
                    mitu Global Moderator @comet424
                    last edited by 28 Feb 2022, 16:49

                    @comet424 said in how do you get faster write speeds to SSD only getting 24mb/s:

                    so for doing the exfat how do i change that for the fstab? as it wouldnt mount or if it did it was media/usb0

                    Did you try to use the fstab line that you previously posted ?

                    /dev/sda1  /home/pi/RetroPie       exfat   nofail,user,uid=pi,gid=pi 0     2
                    

                    When you test using dd, make sure you're using an output file that's on the external disc:

                    dd if=/dev/urandom of=/home/pi/RetroPie/test.file bs=1M count=1024
                    
                    C 1 Reply Last reply 28 Feb 2022, 16:59 Reply Quote 0
                    • C
                      comet424 @mitu
                      last edited by comet424 28 Feb 2022, 16:59

                      @mitu

                      for the fstab i tried "exfat" "exfat4" "extfat" "ext4"
                      none of them mounted.. unless i change the fstab uuid
                      and set the usbmount to Enabled in the menu
                      then sometimes it mounted

                      so the results for the tests are

                      pi@retropie:~ $ sudo hdparm -Tt /dev/sda1
                      /dev/sda1:
                      Timing cached reads: 1588 MB in 2.00 seconds = 793.80 MB/sec
                      Timing buffered disk reads: 882 MB in 3.00 seconds = 293.62 MB/sec
                      pi@retropie:~ $ df -h -T
                      Filesystem Type Size Used Avail Use% Mounted on
                      /dev/root ext4 117G 4.5G 108G 4% /
                      devtmpfs devtmpfs 1.8G 0 1.8G 0% /dev
                      tmpfs tmpfs 1.9G 0 1.9G 0% /dev/shm
                      tmpfs tmpfs 1.9G 9.5M 1.9G 1% /run
                      tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
                      tmpfs tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
                      /dev/mmcblk0p1 vfat 256M 49M 207M 20% /boot
                      /dev/sda1 vfat 1.9T 4.2G 1.9T 1% /home/pi/RetroPie
                      tmpfs tmpfs 384M 0 384M 0% /run/user/1000
                      pi@retropie:~ $ dd if=/dev/urandom of=/home/pi/RetroPie/test.file bs=1M count=1024
                      1024+0 records in
                      1024+0 records out
                      1073741824 bytes (1.1 GB, 1.0 GiB) copied, 59.2516 s, 18.1 MB/s
                      1 Reply Last reply Reply Quote 0
                      • M
                        mitu Global Moderator
                        last edited by mitu 28 Feb 2022, 17:17

                        @comet424 said in how do you get faster write speeds to SSD only getting 24mb/s:

                        none of them mounted.. unless i change the fstab uuid

                        My example was without the UUID, just using the partition inode directly. If you re-format the drive, it's label may change, so the UUID may not match.

                        EDIT: add the entry to /etc/fstab, then try running

                        mount -a -t exfat
                        

                        and if the drive is mounted (mount -t exfat).

                        C 1 Reply Last reply 28 Feb 2022, 17:30 Reply Quote 0
                        • C
                          comet424 @mitu
                          last edited by comet424 28 Feb 2022, 17:30

                          @mitu

                          ok so not sure what to change in my fstab

                          proc /proc proc defaults 0 0
                          PARTUUID=e22bcd10-01 /boot vfat defaults 0 2
                          PARTUUID=e22bcd10-02 / ext4 defaults,noatime 0 1
                          # a swapfile is not a swap partition, no line here
                          # use dphys-swapfile swap[on|off] for that
                          UUID=3FDD-79EC /home/pi/RetroPie vfat nofail,user,uid=pi,gid=pi 0 2

                          is my current Fat32 for the 2TB drive
                          everytime i format it changes the UUID so then i re change it in the fstab

                          and what i was meaning is /home/pi/RetroPie vfat
                          i changed the vfat to "ext4" "exfat" "exfat4"
                          when i had it formated as exFat or whatever the proper wording is for it

                          to see if it would mount.. it would sometimes mount as /media/usb0

                          so wehre in the fstab do i add /etc/fstab

                          and i guess reformat the drive to exfat right?

                          and i did try where vfat is when i had "ntfs" i tried changing it to "ntfs-3g" but that didnt help either as i read that in a different retropie article someone said worked but didnt work for me
                          when i had it as ntfs

                          1 Reply Last reply Reply Quote 0
                          • M
                            mitu Global Moderator
                            last edited by 28 Feb 2022, 17:41

                            Sorry, but it's getting difficult to follow your replies without any phrasing or punctuation. Can you make an effort and organize your replies better ? I understand English may not be your native language, but try to make an effort and put some structure into it.

                            • First, make sure you format your drive as exfat, use the mkfs.exfat command I've mentioned. Use cfdisk /dev/sda or fdisk -l /dev/sda to confirm the drive is properly formatted.

                            • 2nd, modify /etc/fstab and replace the last line with the entry I mentioned a couple of replies ago:

                            /dev/sda1  /home/pi/RetroPie       exfat   nofail,user,uid=pi,gid=pi	0	2
                            
                            • 3rd, try the mount commands from my previous reply to make sure that you've correctly modified /etc/fstab and mounting works. If none of the commands fail, then you can disable the usbmount service and reboot to see if the external disc is mounted correctly (to /home/pi/RetroPie).
                            C 1 Reply Last reply 28 Feb 2022, 17:59 Reply Quote 0
                            • C
                              comet424 @mitu
                              last edited by comet424 28 Feb 2022, 17:59

                              @mitu
                              sorry try my best as i have dislexia and its sounds clear to me

                              what i was say
                              in fstab file
                              vfat line i changed it to "ext4" "exfat" "exfat4" for Exfat
                              non of these settings "mounted" the drive tp /home/pi/RetroPie
                              only to /media/usb0 and you had to have the Auto USBmount service Enabled in the Menu.. Disabled wouldnt mount

                              when it was ntfs i treid "ntfs" and "ntfs-3g"

                              and i was sayin since its in Fat32 i guess i have to reformat it

                              and i said i had to change the UUID in the Fstab every single time when i formated the drive

                              pi@retropie:/etc $ sudo mkfs.exfat /dev/sda1
                              mkexfatfs 1.3.0
                              Creating... done.
                              Flushing... done.
                              File system created successfully.
                              pi@retropie:/etc $ cfdisk /dev/sda
                              cfdisk: cannot open /dev/sda: Permission denied
                              pi@retropie:/etc $ cfdisk /dev/sda1
                              cfdisk: cannot open /dev/sda1: Permission denied
                              pi@retropie:/etc $ fdisk -l /dev/sda
                              fdisk: cannot open /dev/sda: Permission denied
                              pi@retropie:/etc $ ls -l /dev/disk/by-uuid/
                              total 0
                              lrwxrwxrwx 1 root root 15 Feb 28 16:34 8988cf8f-d459-476f-9a4a-16c56702dc40 -> ../../mmcblk0p2
                              lrwxrwxrwx 1 root root 10 Feb 28 17:51 B862-4CA4 -> ../../sda1
                              lrwxrwxrwx 1 root root 15 Feb 28 16:34 C367-3F28 -> ../../mmcblk0p1
                              pi@retropie:/etc $ sudo nano fstab
                              pi@retropie:/etc $
                              pi@retropie:/etc $ fdisk -l /dev/sda1
                              fdisk: cannot open /dev/sda1: Permission denied
                              

                              i rebooted and ran your 2 commands again

                                   `"""'     The RetroPie Project, https://retropie.org.uk
                              
                              pi@retropie:~ $ ls -l /dev/disk/by-uuid/
                              total 0
                              lrwxrwxrwx 1 root root 15 Feb 28 17:58 8988cf8f-d459-476f-9a4a-16c56702dc40 -> ../../mmcblk0p2
                              lrwxrwxrwx 1 root root 10 Feb 28 17:58 B862-4CA4 -> ../../sda1
                              lrwxrwxrwx 1 root root 15 Feb 28 17:58 C367-3F28 -> ../../mmcblk0p1
                              pi@retropie:~ $ df -h -T
                              Filesystem     Type      Size  Used Avail Use% Mounted on
                              /dev/root      ext4      117G  4.5G  108G   4% /
                              devtmpfs       devtmpfs  1.8G     0  1.8G   0% /dev
                              tmpfs          tmpfs     1.9G     0  1.9G   0% /dev/shm
                              tmpfs          tmpfs     1.9G  9.4M  1.9G   1% /run
                              tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
                              tmpfs          tmpfs     1.9G     0  1.9G   0% /sys/fs/cgroup
                              /dev/mmcblk0p1 vfat      256M   49M  207M  20% /boot
                              tmpfs          tmpfs     384M     0  384M   0% /run/user/1000
                              pi@retropie:~ $ cfdisk /dev/sda1
                              cfdisk: cannot open /dev/sda1: Permission denied
                              pi@retropie:~ $ fdisk -l /dev/sda
                              fdisk: cannot open /dev/sda: Permission denied
                              pi@retropie:~ $ fdisk -l /dev/sda1
                              fdisk: cannot open /dev/sda1: Permission denied
                              pi@retropie:~ $
                              
                              proc /proc proc defaults 0 0
                              PARTUUID=e22bcd10-01 /boot vfat defaults 0 2
                              PARTUUID=e22bcd10-02 / ext4 defaults,noatime 0 1
                              # a swapfile is not a swap partition, no line here
                              # use dphys-swapfile swap[on|off] for that
                              UUID=B862-4CA4 /home/pi/RetroPie exfat nofail,user,uid=pi,gid=pi 0 2
                              pi@retropie:/etc $ mount -a -t exfat
                              mount: only root can use "--all" option
                              pi@retropie:/etc $ sudo mount -a -t exfat
                              FUSE exfat 1.3.0
                              WARN: volume was not unmounted cleanly.
                              fuse: mountpoint is not empty
                              fuse: if you are sure this is safe, use the 'nonempty' mount option
                              pi@retropie:/etc $
                              
                              1 Reply Last reply Reply Quote 0
                              • M
                                mitu Global Moderator
                                last edited by 28 Feb 2022, 18:14

                                The errors below

                                cfdisk: cannot open /dev/sda1: Permission denied
                                pi@retropie:~ $ fdisk -l /dev/sda
                                fdisk: cannot open /dev/sda: Permission denied
                                pi@retropie:~ $ fdisk -l /dev/sda1
                                fdisk: cannot open /dev/sda1: Permission denied

                                are because I forgot to prefix them with sudo (they need root access). Try

                                sudo fdisk -l /dev/sda
                                

                                and check if the /dev/sda1 partition is reported as NTFS/exFAT.

                                The same with the mount commands.

                                sudo mount -a -t exfat
                                FUSE exfat 1.3.0
                                WARN: volume was not unmounted cleanly.
                                fuse: mountpoint is not empty
                                fuse: if you are sure this is safe, use the 'nonempty' mount option

                                The first message is because the fuse variant is installed, though it shouldn't interfere. You can uninstall it first by running

                                sudo apt remove exfat-fuse
                                

                                and the mounting will use the native Linux exfat support. Re-try then to run

                                > sudo mount -a -t exfat -o nonempty
                                

                                and then check by running mount that /home/pi/RetroPie is mounted using exfat.

                                C 1 Reply Last reply 28 Feb 2022, 18:28 Reply Quote 0
                                • C
                                  comet424 @mitu
                                  last edited by 28 Feb 2022, 18:28

                                  @mitu

                                  pi@retropie:~ $ sudo fdisk -l /dev/sda1
                                  Disk /dev/sda1: 1.8 TiB, 2000397795328 bytes, 3907026944 sectors
                                  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
                                  pi@retropie:~ $ sudo apt remove exfat-fuse
                                  Reading package lists... Done
                                  Building dependency tree
                                  Reading state information... Done
                                  The following packages were automatically installed and are no longer required:
                                  libmicrodns0 rpi-eeprom-images
                                  Use 'sudo apt autoremove' to remove them.
                                  The following packages will be REMOVED:
                                  exfat-fuse
                                  0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
                                  After this operation, 64.5 kB disk space will be freed.
                                  Do you want to continue? [Y/n] Y
                                  (Reading database ... 130482 files and directories currently installed.)
                                  Removing exfat-fuse (1.3.0-1) ...
                                  Processing triggers for man-db (2.8.5-2) ...
                                  pi@retropie:~ $ sudo mount -a -t exfat -o nonempty
                                  pi@retropie:~ $ df -h -T
                                  Filesystem Type Size Used Avail Use% Mounted on
                                  /dev/root ext4 117G 4.5G 108G 4% /
                                  devtmpfs devtmpfs 1.8G 0 1.8G 0% /dev
                                  tmpfs tmpfs 1.9G 0 1.9G 0% /dev/shm
                                  tmpfs tmpfs 1.9G 26M 1.9G 2% /run
                                  tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
                                  tmpfs tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
                                  /dev/mmcblk0p1 vfat 256M 49M 207M 20% /boot
                                  tmpfs tmpfs 384M 0 384M 0% /run/user/1000
                                  /dev/sda1 exfat 1.9T 2.2M 1.9T 1% /home/pi/RetroPie
                                  pi@retropie:~ $ sudo hdparm -Tt /dev/sda1
                                  /dev/sda1:
                                  Timing cached reads: 1608 MB in 2.00 seconds = 804.45 MB/sec
                                  Timing buffered disk reads: 866 MB in 3.00 seconds = 288.37 MB/sec
                                  pi@retropie:~ $
                                  pi@retropie:~ $ dd if=/dev/urandom of=/home/pi/RetroPie/test.file bs=1M count=1024
                                  1024+0 records in
                                  1024+0 records out
                                  1073741824 bytes (1.1 GB, 1.0 GiB) copied, 58.2039 s, 18.4 MB/s
                                  pi@retropie:~ $
                                  

                                  copying over network from windows still get 2-10mb/s

                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    mitu Global Moderator
                                    last edited by 28 Feb 2022, 19:25

                                    OK, so the disc is not formated as exfat and mounted via the native kernel support, without fuse. This should take out the extra CPU consumed by using fuse and ntfs.

                                    If you're copying just a large file over the network, do you get the same - low - speed ? Is this over a wired or wireless conenction ?

                                    I know the NesPi case - the older versions ? - had an issue with the SATA controller used in the case (see this topic), it might be worth checking if the case you're using falls has the SATA controller that is problematic.

                                    Just

                                    C 1 Reply Last reply 1 Mar 2022, 00:41 Reply Quote 0
                                    • C
                                      comet424 @mitu
                                      last edited by comet424 3 Jan 2022, 00:46 1 Mar 2022, 00:41

                                      @mitu
                                      i thought the disk got formated as exfat

                                      /dev/sda1      exfat     1.9T  2.2M  1.9T   1% /home/pi/RetroPie
                                      

                                      so what do you mean exactly by "OK, so the disc is not formated as exfat and mounted via the native kernel support, without fuse. This should take out the extra CPU consumed by using fuse and ntfs."

                                      explain it for someone that doesnt know the fuse and the native kernel support or the extra cpu consummed etc

                                      network is cabled 1gb connection..
                                      its copying any file.. that i getting only 2-10mbs the dd command shows 18mb/s is that saying its only read writting? large or small just doesnt matter ):

                                      im using the nespi 4 from my how to guide i made
                                      https://retropie.org.uk/forum/topic/28848/guide-how-to-setup-nespi-4?_=1646095106362

                                      so i dont know if it falls under that i thought i solved the slow problem speeds with my article about mounting the sata controller as i think i read that article and thats how i made my article from it

                                      1 Reply Last reply Reply Quote 0
                                      • M
                                        mitu Global Moderator
                                        last edited by mitu 3 Jan 2022, 06:32 1 Mar 2022, 05:04

                                        @comet424 said in how do you get faster write speeds to SSD only getting 24mb/s:

                                        explain it for someone that doesnt know the fuse and the native kernel support or the extra cpu consummed etc

                                        https://en.wikipedia.org/wiki/NTFS-3G#Performance

                                        so i dont know if it falls under that i thought i solved the slow problem speeds with my article about mounting the sata controller as i think i read that article and thats how i made my article from it

                                        Did you add the quirks configuration to /boot/cmdline.txt ? Can you try without it ?

                                        C 1 Reply Last reply 1 Mar 2022, 12:08 Reply Quote 0
                                        • C
                                          comet424 @mitu
                                          last edited by 1 Mar 2022, 12:08

                                          @mitu
                                          yes and no

                                          i actually still running the same nintendo nesp case you see in the article i made.. all i did for myself was upgrade from 250gb to a 2tb and i use the 250gb in a new system for a friend.. and speeds were fine for it..

                                          so i didnt need to change the cmdline as i made thes changes back in 2020 .. but ill try removing the part in the cmdline to see if it works for a 2tb i had to add it for the 250 and 500gb

                                          C 1 Reply Last reply 1 Mar 2022, 12:21 Reply Quote 0
                                          26 out of 34
                                          • First post
                                            26/34
                                            Last post

                                          Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                                          Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.

                                            This community forum collects and processes your personal information.
                                            consent.not_received