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. Richard Coleman rcoleman@criticalmagic.com
----- Original Message ----- From: "Richard Coleman" <rcoleman@criticalmagic.com> To: <freebsd-stable@freebsd.org> Sent: Monday, November 27, 2006 5:23 AM Subject: Large msdosfs disk will not mount on RELENG_6>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. > > Richard Coleman > rcoleman@criticalmagic.comI am very suprised at all that windows would allow you to format a 500G drive into a single 500G FAT32 partition. As far as I am aware windows 2000 and xp will only allow you to format up to a 32G dive with FAT32. Any bigger and it will force you to use NTFS. The other strange thing is tht you are trying to mount /dev/da0 and not /dev/de0s1. How did you format this drive ? -Clay
On Sun, 2006-11-26 at 19:23, 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.Would you share how you initialized this drive, and what parameters you used? FAT32 has a 2 TB limit for the filesystem and 2 GB for a file. The error you saw is thrown when the # of sectors exceeds an unsigned 32 bit integer. BTW, the limit is based on the DOS spec, not FreeBSD. jim
Brandon S. Allbery KF8NH
2006-Nov-26 22:21 UTC
Large msdosfs disk will not mount on RELENG_6
On Nov 27, 2006, at 1:09 , Clayton Milos 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: >> > I am very suprised at all that windows would allow you to format a > 500G drive into a single 500G FAT32 partition. > > As far as I am aware windows 2000 and xp will only allow you to > format up to a 32G dive with FAT32. Any bigger and it will force > you to use NTFS. The other strange thing is tht you are trying to > mount /dev/da0 and not /dev/de0s1. > > How did you format this drive ?It comes formatted FAT32. I bought one last week as well, and tried to mount it to extract the included software before repartitioning. I finally mounted it on an OSX box to copy the software to CDR. -- brandon s. allbery [linux,solaris,freebsd,perl] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH
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 BASTARD OPERATOR FROM HELL!" "In the flesh, on the phone and in your account..." - BOFH #3 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 2415 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20061127/a2c3379c/smime.bin
Christian Brueffer wrote:> 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. >> > > Please rebuild your kernel with "options MSDOSFS_LARGE" and try again. > > - ChristianAhh, good to know. I hadn't seen that one before. Thanks. Richard Coleman rcoleman@criticalmagic.com