Re: mounting an external Hard Drive
cadu aranha wrote: Hello people, i have a USB external HD with FAT32 fs. Today i connected it to my FBSD and got the following mesg entry: da0 at umass-sim0 bus 0 target 0 lun 0 da0: SAMSUNG SP2514N Fixed Direct Access SCSI-0 device da0: 1.000MB/s transfers da0: 238475MB (488397168 512 byte sectors: 255H 63S/T 30401C) # ls /dev/da0* /dev/da0/dev/da0s1 /dev/da0s2 /dev/da0s5 mount_ntfs /dev/da0s1 /mnt #% ok, it worked. Now # mount_ntfs /dev/da0s2 /mnt2 mount_ntfs: /dev/da0s2: Invalid argument #%of course, it is a FAT32 filesystem. Then ... # mount_msdosfs /dev/da0s2 /mnt2 mount_msdosfs: /dev/da0s2: Invalid argument # mount_msdosfs /dev/da0s5 /mnt2 mount_msdosfs: /dev/da0s5: Invalid argument # dmesg mountmsdosfs(): disk too big, sorry # fsck_msdosfs /dev/da0s2 ** /dev/da0s2 Invalid signature in fsinfo blockfix? [yn] y Floating exception (core dumped) I do not know what else could i do. It was a 250G HG with NTFS. The whole could be mounted by mount_ntfs. Then i split it in one NTFS and one FAT32 using Partition magic. Now i can mount the former and the latter not. On windows there is no problem in mounting. Any tip? Thanks in advance ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] You didn't say how large your fat 32 filesystem ended up, but if it's larger than a certain size (128 gigs I think?) you need to recompile your kernel with: options MSDOSFS_LARGE to access it. -- Thanks, Josh Paetzel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mounting an external Hard Drive
You didn't say how large your fat 32 filesystem ended up, but if it's larger than a certain size (128 gigs I think?) you need to recompile your kernel with: options MSDOSFS_LARGE Yes, it is larger than 128G. I'll do that. Thank you ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mounting an external Hard Drive
On Mon, 7 May 2007 19:55:33 +0200, cadu aranha [EMAIL PROTECTED] wrote: Hello people, i have a USB external HD with FAT32 fs. Today i connected it to my FBSD and got the following mesg entry: da0 at umass-sim0 bus 0 target 0 lun 0 da0: SAMSUNG SP2514N Fixed Direct Access SCSI-0 device da0: 1.000MB/s transfers da0: 238475MB (488397168 512 byte sectors: 255H 63S/T 30401C) # ls /dev/da0* /dev/da0/dev/da0s1 /dev/da0s2 /dev/da0s5 Note the appearance of /dev/da0s5 .. mount_ntfs /dev/da0s1 /mnt #% ok, it worked. Now # mount_ntfs /dev/da0s2 /mnt2 mount_ntfs: /dev/da0s2: Invalid argument #%of course, it is a FAT32 filesystem. Then ... # mount_msdosfs /dev/da0s2 /mnt2 mount_msdosfs: /dev/da0s2: Invalid argument # mount_msdosfs /dev/da0s5 /mnt2 mount_msdosfs: /dev/da0s5: Invalid argument # dmesg mountmsdosfs(): disk too big, sorry # fsck_msdosfs /dev/da0s2 ** /dev/da0s2 Invalid signature in fsinfo blockfix? [yn] y Floating exception (core dumped) Ouch; hopefully didn't screw up anything. Check with Partition Magic? I do not know what else could i do. It was a 250G HG with NTFS. The whole could be mounted by mount_ntfs. Then i split it in one NTFS and one FAT32 using Partition magic. Now i can mount the former and the latter not. On windows there is no problem in mounting. The FAT32 is in what DOS calls the 'Extended Partition', here da0s2. It could contain a number of 'DOS drives' like D:, E:, etc. Here you have made one 'DOS drive', probably 'drive D:', and it's accessed in FreeBSD as slice ad0s5. DOS 'drive E:' would be accessed as ad0s6 and so on; this way you can mount multiple MSDOSFS, NTFS and HPFS 'partitions'. So the 'Extended Partition' da0s2 is not mountable per se; try 'mount_msdosfs /dev/da0s5' and likewise 'fsck_msdosfs /dev/da0s5' You'll still need the MSDOSFS_LARGE support if your FAT32 slice ad0s5 is over 128GB by itself. Cheers, Ian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mounting an external Hard Drive
On Tue, Apr 10, 2007 at 11:09:46PM +0200, Tun Eler wrote: Hello, i was trying to mount an external HDD in my machine running FBSD 6.2 RELEASE. I configured the kernel according to the Handbook and pluged the exernal HD. Then i typed (starting with # are my commands, otherwise output): # dmesg acpi_tz0: failed to set new freq, disabling passive cooling umass0: vendor 0x04b4 Cypress AT2LP RC7, rev 2.00/2.40, addr 2 da0 at umass-sim0 bus 0 target 0 lun 0 da0: SAMSUNG SP2514N Fixed Direct Access SCSI-0 device da0: 1.000MB/s transfers da0: 238475MB (488397168 512 byte sectors: 255H 63S/T 30401C) # mount_msdosfs /dev/da0 /exthd mount_msdosfs: /dev/da0: Invalid argument Don't mount the disk, use a partition. # mount_msdosfs /dev/da0s1 /exthd mount_msdosfs: /dev/da0s1: Invalid argument This should be allright. # dmesg mountmsdosfs(): bad FAT32 filesystem mountmsdosfs(): bad FAT32 filesystem Are you sure it is formatted with FAT? It could be NTFS. Try running 'fsck_msdosfs /dev/da0s1' Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpCDfGCzaukR.pgp Description: PGP signature
Re: mounting an external Hard Drive
Are you sure it is formatted with FAT? It could be NTFS. Try running 'fsck_msdosfs /dev/da0s1' # fsck_msdosfs /dev/da0s1 ** /dev/da0s1 Unknown file system version: 1d.1c # mount_ntfs /dev/da0s1 /exthd # df /dev/da0s1 244196000 39178084 205017916 16% /exthd !!! coool !!! Thanks ... -- ___ Get your free email from http://bsdmail.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mounting an external Hard Drive
Are you sure it is formatted with FAT? It could be NTFS. Try running 'fsck_msdosfs /dev/da0s1' # fsck_msdosfs /dev/da0s1 ** /dev/da0s1 Unknown file system version: 1d.1c # mount_ntfs /dev/da0s1 /exthd # df /dev/da0s1 244196000 39178084 205017916 16% /exthd !!! coool !!! Thanks .. -- ___ Get your free email from http://bsdmail.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]