The pfSense Store

Author Topic: Slightly undersized CF cards with nanobsd images?  (Read 8654 times)

0 Members and 1 Guest are viewing this topic.

Offline blewis

  • Jr. Member
  • **
  • Posts: 80
    • View Profile
Re: Slightly undersized CF cards with nanobsd images?
« Reply #15 on: September 01, 2009, 02:01:43 pm »
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.

Offline gloomrider

  • Full Member
  • ***
  • Posts: 119
    • View Profile
Re: Slightly undersized CF cards with nanobsd images?
« Reply #16 on: September 01, 2009, 03:15:40 pm »
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.

Offline althornin

  • Jr. Member
  • **
  • Posts: 57
    • View Profile
Re: Slightly undersized CF cards with nanobsd images?
« Reply #17 on: September 02, 2009, 07:42:02 am »
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.

Offline gloomrider

  • Full Member
  • ***
  • Posts: 119
    • View Profile
Re: Slightly undersized CF cards with nanobsd images?
« Reply #18 on: September 02, 2009, 07:57:52 am »
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.

Offline blewis

  • Jr. Member
  • **
  • Posts: 80
    • View Profile
Re: Slightly undersized CF cards with nanobsd images?
« Reply #19 on: September 03, 2009, 12:58:10 pm »
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.

Offline drees

  • Full Member
  • ***
  • Posts: 115
    • View Profile
Re: Slightly undersized CF cards with nanobsd images?
« Reply #20 on: September 03, 2009, 05:38:22 pm »
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

Offline gloomrider

  • Full Member
  • ***
  • Posts: 119
    • View Profile
Re: Slightly undersized CF cards with nanobsd images?
« Reply #21 on: September 03, 2009, 06:36:57 pm »
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.

Offline althornin

  • Jr. Member
  • **
  • Posts: 57
    • View Profile
Re: Slightly undersized CF cards with nanobsd images?
« Reply #22 on: September 04, 2009, 07:22:59 am »
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.

Offline jimp

  • Administrator
  • Hero Member
  • *****
  • Posts: 14932
    • View Profile
Re: Slightly undersized CF cards with nanobsd images?
« Reply #23 on: September 05, 2009, 08:01:07 am »
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
Need help fast? Commercial Support!

Co-Author of pfSense: The Definitive Guide. - Check the Doc Wiki for FAQs.

Do not PM for help!

Offline gloomrider

  • Full Member
  • ***
  • Posts: 119
    • View Profile
Re: Slightly undersized CF cards with nanobsd images?
« Reply #24 on: September 05, 2009, 11:47:31 am »
Thanks!


Offline FRiC

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Slightly undersized CF cards with nanobsd images?
« Reply #25 on: September 08, 2009, 01:43:01 am »
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.

Offline jimp

  • Administrator
  • Hero Member
  • *****
  • Posts: 14932
    • View Profile
Re: Slightly undersized CF cards with nanobsd images?
« Reply #26 on: September 08, 2009, 06:53:22 am »
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
Need help fast? Commercial Support!

Co-Author of pfSense: The Definitive Guide. - Check the Doc Wiki for FAQs.

Do not PM for help!

Offline jimp

  • Administrator
  • Hero Member
  • *****
  • Posts: 14932
    • View Profile
Re: Slightly undersized CF cards with nanobsd images?
« Reply #27 on: September 09, 2009, 07:01:22 pm »
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.
Need help fast? Commercial Support!

Co-Author of pfSense: The Definitive Guide. - Check the Doc Wiki for FAQs.

Do not PM for help!

Offline althornin

  • Jr. Member
  • **
  • Posts: 57
    • View Profile
Re: Slightly undersized CF cards with nanobsd images?
« Reply #28 on: September 10, 2009, 02:09:18 pm »
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.

Offline Klug

  • Newbie
  • *
  • Posts: 18
    • View Profile
    • Network Studio
Re: Slightly undersized CF cards with nanobsd images?
« Reply #29 on: September 18, 2009, 12:08:09 pm »
I just hit the problem 8-(

The CF is a Transcend Ultra 1 GB Industrial.

Here's what I got :
Code: [Select]
[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
« Last Edit: September 18, 2009, 12:30:07 pm by Klug »