[PC-BSD Testing] Dolphin thinks external HD is full but it isn't - FIXED

Arthur A-Koziol at neiu.edu
Sun Aug 8 11:50:02 PDT 2010


Jeff,

For kicks and grins, go and grab the bootable iso of Parted Magic 5.2 
and see if it shows anything else hidden on that USB drive. I did 
wonder if some remnants of a partition structure was tripping things 
up but since you said in an earlier post that you had the full drive 
visible it didn't quite click. If that's a 1TB drive and your sector 
size is above 4K then you will lose some disk space due to allocation 
size. 100G missing would, on the surface, indicate to me your sector 
size must be 8K or more.

Arthur

>Well, executing this command and then rebuilding the partition in 
>fdisk and label, solved the problem:
>
># dd if=/dev/zero of=/dev/da0 bs=1m count=1
>
>There were evidently old partitions that didn't get wiped out via sysinstall.
>
>Now reporting 830GiB free!  Not sure where the other ~100GiB went.
>
>--- On Sat, 8/7/10, Jeff <dejamuse at yahoo.com> wrote:
>
>From: Jeff <dejamuse at yahoo.com>
>Subject: Re: [PC-BSD Testing] Dolphin thinks external HD is full but it isn't
>To: "PC-BSD Testing list" <testing at lists.pcbsd.org>
>Date: Saturday, August 7, 2010, 11:02 AM
>
>I updated the drive's firmware, but didn't see anything that would 
>address this issue in any new BIOS updates, so I didn't change the BIOS.
>
>I disabled legacy mode and forced the USB drive to category "hard drive".
>
>Still same problem.
>
>--- On Fri, 8/6/10, Arthur Koziol <A-Koziol at neiu.edu> wrote:
>
>From: Arthur Koziol <A-Koziol at neiu.edu>
>Subject: Re: [PC-BSD Testing] Dolphin thinks external HD is full but it isn't
>To: "PC-BSD Testing list" <testing at lists.pcbsd.org>
>Date: Friday, August 6, 2010, 11:13 AM
>
>Jeff,
>
>I doubt it will make much difference but in your BIOS is there a 
>setting called Enabled / Disable USB Legacy mode? In my years of 
>experience with Dells, this option often made certain USB 
>peripherals work / appear. And just out of curiosity, have you tried 
>to see if there is perhaps a firmware update for your external 
>drive? BIOS up to date too?
>
>Arthur
>
>>I reformatted the drive to UFS2 after I bought it.  It was 
>>formatted for Windows - don't recall the file system.
>>
>>I have a thread at FBSD forums too, but no joy yet.
>>
>>Anyway, I have an internal 500GB HD that works fine.  Compare the 
>>two Fdisk outputs for clues.  Something doesn't look right:
>>
>>******* Working on device /dev/da0s1 *******
>>parameters extracted from in-core disklabel are:
>>cylinders=121600 heads=255 sectors/track=63 (16065 blks/cyl)
>>
>>Figures below won't work with BIOS for partitions not in cyl 1
>>parameters to be used for BIOS calculations are:
>>cylinders=121600 heads=255 sectors/track=63 (16065 blks/cyl)
>>
>>Media sector size is 512
>>Warning: BIOS sector numbering starts with sector 1
>>Information from DOS bootblock is:
>>The data for partition 1 is:
>><UNUSED>
>>The data for partition 2 is:
>><UNUSED>
>>The data for partition 3 is:
>><UNUSED>
>>The data for partition 4 is:
>>sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
>>     start 0, size 50000 (24 Meg), flag 80 (active)
>>         beg: cyl 0/ head 0/ sector 1;
>>         end: cyl 1023/ head 254/ sector 63
>>------------------------------------------------------------------
>>Compared to a 500GB internal drive I also have:
>>
>>******* Working on device /dev/ad7 
>>******* 
>>
>>parameters extracted from in-core disklabel 
>>are: 
>>
>>cylinders=969021 heads=16 sectors/track=63 (1008 
>>blks/cyl) 
>>
>>Figures below won't work with BIOS for partitions not in cyl 
>>1 
>>
>>parameters to be used for BIOS calculations 
>>are: 
>>
>>cylinders=969021 heads=16 sectors/track=63 (1008 blks/cyl)
>>
>>Media sector size is 512
>>Warning: BIOS sector numbering starts with sector 1
>>Information from DOS bootblock is:
>>The data for partition 1 is:
>>sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
>>     start 63, size 976773105 (476939 Meg), flag 80 (active)
>>         beg: cyl 0/ head 1/ sector 1;
>>         end: cyl 1023/ head 15/ sector 63
>>The data for partition 2 is:
>><UNUSED>
>>The data for partition 3 is:
>><UNUSED>
>>The data for partition 4 is:
>><UNUSED>
>>
>>--- On Fri, 8/6/10, Kris Moore <kris at pcbsd.org> wrote:
>>
>>From: Kris Moore <kris at pcbsd.org>
>>Subject: Re: [PC-BSD Testing] Dolphin thinks external HD is full but it isn't
>>To: testing at lists.pcbsd.org
>>Date: Friday, August 6, 2010, 8:19 AM
>>
>>On 08/05/2010 10:42, Jeff wrote:
>>>I removed all files from the drive and now it reports 1.2GB free.
>>>
>>># df -h shows:
>>>
>>>Filesystem   Size    Used     Avail    Capacity  Mounted on
>>>/dev/da0s1   1.9G    635M    1.2G    35%         /media/disk
>>>
>>>Yet Dolphin reports the drive size as 931.5 GiB which seems about right.
>>>
>>>Sysinstall shows:
>>>
>>>DISK Geometry:  121601 cyls/255 heads/63 sectors = 1953520065 
>>>sectors (953867MB)
>>> 
>>>
>>>Offset                       Size(ST)             End 
>>>   Name  PType       Desc      Subtype    Flags
>>> 
>>>
>>>0                              63                      62 
>>>         -         12            unused    0
>>>63                            1953520002        1953520064 
>>>da0s1  8             freebsd      165
>>>1953520065              5103 
>>>1953525167                     -         12             unused 
>>>    0
>>>
>>>Anyone else have this problem?
>>
>>I've not run into this problem before... Your external disk drive 
>>is formatted UFS though, right? Does FAT32 fare any better, since 
>>that's what most of the external drives I've tested use?
>>
>>
>>
>>--
>>
>>Kris Moore
>>
>>PC-BSD Software
>>
>>iXsystems
>>-----Inline Attachment Follows-----
>>
>>_______________________________________________
>>Testing mailing list
>>Testing at lists.pcbsd.org
>>http://lists.pcbsd.org/mailman/listinfo/testing
>>
>>
>>
>>
>>
>>_______________________________________________
>>
>>Testing mailing list
>>
>>Testing at lists.pcbsd.org
>>
>>http://lists.pcbsd.org/mailman/listinfo/testing
>>
>>
>
>
>
>--
>
>[ NEIU - Student Computing Services Specialist ]
>
>[ 5500 N. St. Louis Ave., Room B107 ]
>
>[ Chicago, IL 60625 ]
>
>[ Ph: 773-442-4356 ]
>
>[ <http://www.neiu.edu/%7Escs>http://www.neiu.edu/~scs ]
>
>
>[/]This message (including any attachments) contains confidential 
>information intended for a specific individual and purpose, and is 
>protected by law. If you are not the intended recipient, you must 
>delete this message. Any disclosure, copying, harvesting, 
>dissemination, opting-in or the taking of any action based on it, is 
>strictly prohibited by law.[/]
>-----Inline Attachment Follows-----
>
>_______________________________________________
>Testing mailing list
>Testing at lists.pcbsd.org
>http://lists.pcbsd.org/mailman/listinfo/testing
>
>
>
>-----Inline Attachment Follows-----
>
>_______________________________________________
>Testing mailing list
>Testing at lists.pcbsd.org
>http://lists.pcbsd.org/mailman/listinfo/testing
>
>
>_______________________________________________
>Testing mailing list
>Testing at lists.pcbsd.org
>http://lists.pcbsd.org/mailman/listinfo/testing
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pcbsd.org/pipermail/testing/attachments/20100808/ad487d6a/attachment-0001.html>


More information about the Testing mailing list