Fat32fs and SATA
Raik (463) 2061 posts |
Sorry, lots of sarcasm, frustration, anger and a little hope… Once upon a time there was a 1TB SSD as a backup drive. This was formatted via HForm to around 240GB FileCore… Intermediate question, why does HForm format the same drive in different ways to USB/SCSI and SATA/ADFS (both Titanium). The suggested shape vary greatly. This may not play a role with an SSD, but … I then set the rest of the SSD to FAT32 with PartiFC and formatted them accordingly with FAT32Formatter. Larger amounts of data had to be moved again on Friday, so SATA. Data was written to both partitions. No problems. I was able to access, write to and read from both partitions throughout the session. A quick look at the FAT32FS sources (not mine, I’m too stupid for that, because I’m only user… difference DiscOp SWIs (SATA/ADFS), FN scsiop() (USB/SCSI)) revealed that apparently only USB/ SCSI can handle more than 256GB and several FAT32 partitions are also possible here. FAT32FS on SATA can only use one partition properly, and only as far as it is within the 256GB limitation (no partition offset). I’ll spare you the faecal thoughts that come to me. Why isn’t the handling the same on all filesystems? I hope someone smarter than me can fix FAT32FS accordingly. |
David J. Ruck (33) 1636 posts |
Raik if only the RISC OS boot block has been overwritten by FAT32FS, DiscKnight should be able to recover it. By using Advanced Options and specifying the Disc Shape, DiscKnight will search for the Map and its duplicate copy of the boot block, and repair the drive. Use “240G” for the size and 0 for the partition start, assuming you’ve used proper 1024^3 GB (otherwise “223” for 10^9 GB or somewhere in between). DiscKnight will take a long time to search, printing dots and question marks as it goes along. |
Bryan (8467) 468 posts |
Why? For backups, if you need two copies, then use two drives. KISS. |
Raik (463) 2061 posts |
This is not the point of the problem, but for your understanding… There are data I only use under RISC OS and other for all OS. I didn’t wrote that I wrote the same data to the different partitions. |
Raik (463) 2061 posts |
Jeff has has changed two things in fat32fs. Thanks a lot. |
André Timmermans (100) 655 posts |
Was that an issue? I have been using Fat32Fs for years with drives larger than 256GB on the Pi3. Also when he was writing is partition manager I clearly remember Jon Abbott complaining about the fact that the DiscOp64 implementation just called the old DiscOp code. |
Anton Reiser (471) 63 posts |
@André If the filing-system is ADFS and the sector is beyond 256 GB I talk direct to the disc by ATA commands with the ADFS_IDEUserOp SWI. This is very experimental, but works for Raik and me at the Titanium. With SCSIFS as filing sytem there is the SCSIFS_Paritions SWI, used as a workaround to access sectors > 256 GB, used in Fat32FS since verion 1.29. |
Raik (463) 2061 posts |
Excuse me. It looks like I mixed up several things from Anton’s mails. I’m only a dumb user … |