Re: Large msdosfs disk will not mount on RELENG_6



Hi Richard,

On Sun, Nov 26, 2006 at 10:23:14PM -0500, Richard Coleman wrote:
I just bought a large external hard drive for home backups (500g Western
Digital My Book). When I plug it in to my machine (RELENG_6 from about a
week ago), the system sees the device just fine:

Nov 26 22:03:21 neptune kernel: umass0: Western Digital External HDD, rev
2.00/1.06, addr 2
Nov 26 22:03:21 neptune kernel: uhid1: Western Digital External HDD, rev
2.00/1.06, addr 2, iclass 8/6
Nov 26 22:03:21 neptune kernel: da0 at umass-sim0 bus 0 target 0 lun 0
Nov 26 22:03:21 neptune kernel: da0: <WD 5000YS External 106a> Fixed Direct
Access SCSI-4 device
Nov 26 22:03:21 neptune kernel: da0: 40.000MB/s transfers
Nov 26 22:03:21 neptune kernel: da0: 476940MB (976773168 512 byte sectors:
255H 63S/T 60801C)


But when I try to mount the drive (mount -t msdos /dev/da0 /mnt), the
system gives the following error:

Nov 26 22:06:41 neptune kernel: mountmsdosfs(): disk too big, sorry

I was surprised to see a file system limitation on FreeBSD that Windows
does not have. I will probably reformat the system to ufs2, but thought I
would mention this error message. I'm sure these drives will become
increasingly common.

Looking at /sys/fs/msdosfs/msdosfs_vfsops.c seems to hint the existance
of options MSDOSFS_LARGE; this avoids the error message and will let you
mount the disk.

Perhaps it's time for an update of msdosfs(5) ? (I've CC-ed Tom Rhodes
for this).

Regards,

--
Rink P.W. Springer - http://rink.nu
"It's you isn't it? THE *** OPERATOR FROM HELL!"
"In the flesh, on the phone and in your account..." - BOFH #3

Attachment: smime.p7s
Description: S/MIME cryptographic signature