Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Slightly undersized CF cards with nanobsd images?

    Scheduled Pinned Locked Moved 1.2.3-PRERELEASE-TESTING snapshots - RETIRED
    33 Posts 8 Posters 16.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.
    • G
      gloomrider
      last edited by

      @blewis:

      Good day,

      I was also having all sorts of issues with trying to write to a 512MB CF card using physdiskwrite under windows, but as soon as I popped a Linux LiveCD (Knoppix) I performed the write without issue.

      Another issue, is that some lower cost CF cards are made using "chip rejects" that do not meet specs.  Just like most HDD, they all contain bad sectors that gets re-allocated by its firmware.  I believe all the extra sectors that would have been used for re-allocation are all used up hence the unusually smaller size.

      Finally, a couple of cheap CF reader I had were also to blame for not able to read larger CF cards.

      So what should the verdict be for those that have CF cards too small to fit the nanobsd images?  I recently bought 2GB and 4GB cards and have no issues.  But others no doubt would like to avoid purchasing new CF cards.  I understand that pfSense is community supported and there really aren't a lot of resources to throw at this.  I'm merely suggesting that the pfSense team needs to deliver a unified and unambiguous message to the users about this.

      My personal feeling is that pfSense embedded is well worth the cost of new CF card(s).

      1 Reply Last reply Reply Quote 0
      • B
        blewis
        last edited by

        Yeah, I totally agree, I would use only quality SanDisk CF cards.

        However, in our local Fry's store, where no-name CF cards can be quite, well ALOT cheaper than even online, I buy several and perform a 10-pass destructive surface analysis, a read/seek/write test, check size, and return the ones or all of them that don't meet my expectations.

        1 Reply Last reply Reply Quote 0
        • G
          gloomrider
          last edited by

          FWIW: I recently purchased 2 X 4GB Sandisk CF cards at Costco for $30.

          In the early spring, I exhausted all of my local Radio Shack's supply of 2GB cards.  These are the cards I've been using with recent snapshots and updates without incident.

          1 Reply Last reply Reply Quote 0
          • A
            althornin
            last edited by

            Just note, all 5 of the SanDisk cards I have are the same size - too small, and they are from a "reputable" brand…so you can't trust much.

            1 Reply Last reply Reply Quote 0
            • G
              gloomrider
              last edited by

              @althornin:

              Just note, all 5 of the SanDisk cards I have are the same size - too small, and they are from a "reputable" brand…so you can't trust much.

              I don't think yours are faulty, they're just an older (and unfortunately smaller) generation.

              1 Reply Last reply Reply Quote 0
              • B
                blewis
                last edited by

                @althornin:

                Just note, all 5 of the SanDisk cards I have are the same size - too small, and they are from a "reputable" brand…so you can't trust much.

                You may have purchased "fake" SanDisk memory cards.  They are mostly prevalent on auction sites and rarely on by major retailers.

                1 Reply Last reply Reply Quote 0
                • D
                  drees
                  last edited by

                  Yes, even assuming 1 GB = 1,000,000,000 bytes is not enough for many cards.

                  gloomrider started this thread and posted that he has a 1GB card with only 998,129,664 bytes.

                  http://forum.pfsense.org/index.php/topic,18809.msg96850.html#msg96850

                  1 Reply Last reply Reply Quote 0
                  • G
                    gloomrider
                    last edited by

                    @drees:

                    Yes, even assuming 1 GB = 1,000,000,000 bytes is not enough for many cards.

                    gloomrider started this thread and posted that he has a 1GB card with only 998,129,664 bytes.

                    http://forum.pfsense.org/index.php/topic,18809.msg96850.html#msg96850

                    Actually, I was referring to the previous poster's CF card sizes.  But using that card as an example, it could still be used with a 512MB image.

                    All of the 2GB and 4GB Sandisk cards I have bought recently work just fine with nanobsd.  I'm thinking the developers are having similar experiences and downsizing images for undersized cards are not a big priority.  But that's just speculation on my part.

                    1 Reply Last reply Reply Quote 0
                    • A
                      althornin
                      last edited by

                      @blewis:

                      @althornin:

                      Just note, all 5 of the SanDisk cards I have are the same size - too small, and they are from a "reputable" brand…so you can't trust much.

                      You may have purchased "fake" SanDisk memory cards.  They are mostly prevalent on auction sites and rarely on by major retailers.

                      Doubtful, they came with my Alix boxes from NetGate, so I suspect they are legit.

                      1 Reply Last reply Reply Quote 0
                      • jimpJ
                        jimp Rebel Alliance Developer Netgate
                        last edited by

                        The sizes have been nudged down a tad, so keep an eye on the snapshots for new images:

                        https://rcs.pfsense.org/projects/pfsense-tools/repos/mainline/commits/7ff3db783970b1fadf0ffbea06bcae0c3dc23ed2

                        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                        Need help fast? Netgate Global Support!

                        Do not Chat/PM for help!

                        1 Reply Last reply Reply Quote 0
                        • G
                          gloomrider
                          last edited by

                          Thanks!

                          1 Reply Last reply Reply Quote 0
                          • F
                            FRiC
                            last edited by

                            Is it better to use 2 GB image with 2 GB cards? Since my 2 GB cards also couldn't fit the old 2 GB images, I've been using the 1 GB images forever.

                            1 Reply Last reply Reply Quote 0
                            • jimpJ
                              jimp Rebel Alliance Developer Netgate
                              last edited by

                              @FRiC:

                              Is it better to use 2 GB image with 2 GB cards? Since my 2 GB cards also couldn't fit the old 2 GB images, I've been using the 1 GB images forever.

                              That is really up to you. Some people believe they will use all the space, so they don't want to "waste" any, but also consider what databeestje wrote in this post:
                              http://forum.pfsense.org/index.php/topic,17369.msg97591.html#msg97591

                              Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                              Need help fast? Netgate Global Support!

                              Do not Chat/PM for help!

                              1 Reply Last reply Reply Quote 0
                              • jimpJ
                                jimp Rebel Alliance Developer Netgate
                                last edited by

                                Is anyone still having a problem with current nanobsd images not fitting on their cards?

                                The sizes were reduced by a good chunk to accommodate the smallest ones that were posted.

                                Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                                Need help fast? Netgate Global Support!

                                Do not Chat/PM for help!

                                1 Reply Last reply Reply Quote 0
                                • A
                                  althornin
                                  last edited by

                                  I have not reflashed any of the "2GB" cards that I was using.
                                  I'll give it a shot when I get a chance and let you know.

                                  1 Reply Last reply Reply Quote 0
                                  • K
                                    Klug
                                    last edited by

                                    I just hit the problem 8-(

                                    The CF is a Transcend Ultra 1 GB Industrial.

                                    Here's what I got :```
                                    [root@gojira pfSense]# zcat pfSense-1.2.3-1G-20090918-0711-nanobsd.img.gz | dd of=/dev/xvdb1 bs=16k
                                    dd: writing `/dev/xvdb1': No space left on device
                                    28821+0 records in
                                    28820+0 records out
                                    472195584 bytes (472 MB) copied, 32.5402 seconds, 14.5 MB/s

                                    1 Reply Last reply Reply Quote 0
                                    • G
                                      gloomrider
                                      last edited by

                                      @Klug:

                                      I just hit the problem 8-(

                                      The CF is a Transcend Ultra 1 GB Industrial.

                                      Here's what I got :```
                                      [root@gojira pfSense]# zcat pfSense-1.2.3-1G-20090918-0711-nanobsd.img.gz | dd of=/dev/xvdb1 bs=16k
                                      dd: writing `/dev/xvdb1': No space left on device
                                      28821+0 records in
                                      28820+0 records out
                                      472195584 bytes (472 MB) copied, 32.5402 seconds, 14.5 MB/s

                                      That's a different problem.  Your card filled up after 472 MB.

                                      1 Reply Last reply Reply Quote 0
                                      • K
                                        Klug
                                        last edited by

                                        Ooops, you're right.
                                        Sorry 8-(

                                        Stupid partition table on brand new CF…
                                        Now nicely working :```
                                        [root@gojira pfSense]# zcat pfSense-1.2.3-1G-20090918-0711-nanobsd.img.gz | dd of=/dev/xvdb1 bs=16k
                                        60858+0 records in
                                        60858+0 records out
                                        997097472 bytes (997 MB) copied, 57.9339 seconds, 17.2 MB/s

                                        1 Reply Last reply Reply Quote 0
                                        • A
                                          althornin
                                          last edited by

                                          Finally getting a chance to work on this again (this is a project at work, so its get time when I have time to spare :)).

                                          Flashed the slightly reduced images onto my "2GB" cards…
                                          Successfully!
                                          About to overwrite the contents of disk 2 with new data. Proceed? (y/n) y
                                          2001194496/2001194496 bytes written in total

                                          Boot fine as well.  Thanks for taking the feedback and working with it, it is appreciated.

                                          1 Reply Last reply Reply Quote 0
                                          • First post
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.