Re: USB can't mount msdosfs drive
If you do a ls /dev/da* What does it show. root@warehouse:/root # ls -la /dev/da* crw-r- 1 root operator0, 123 Jun 4 17:08 /dev/da0 crw-r- 1 root operator0, 124 Jun 4 17:08 /dev/da0s1 crw-r- 1 root operator0, 131 Jun 4 17:08 /dev/da1 crw-r- 1 root operator0, 132 Jun 4 17:08 /dev/da1s1 crw-r- 1 root operator0, 138 Jun 4 17:08 /dev/da2 crw-r- 1 root operator0, 108 Jun 5 15:11 /dev/da2s1 crw-r- 1 root operator0, 154 Jun 4 17:08 /dev/da3 crw-r- 1 root operator0, 155 Jun 4 17:08 /dev/da3s1 crw-r- 1 root operator0, 152 Jun 4 12:08 /dev/da3s2 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: USB can't mount msdosfs drive
Joseph Mays m...@win.net writes: If you do a ls /dev/da* What does it show. root@warehouse:/root # ls -la /dev/da* crw-r- 1 root operator0, 123 Jun 4 17:08 /dev/da0 crw-r- 1 root operator0, 124 Jun 4 17:08 /dev/da0s1 crw-r- 1 root operator0, 131 Jun 4 17:08 /dev/da1 crw-r- 1 root operator0, 132 Jun 4 17:08 /dev/da1s1 crw-r- 1 root operator0, 138 Jun 4 17:08 /dev/da2 crw-r- 1 root operator0, 108 Jun 5 15:11 /dev/da2s1 crw-r- 1 root operator0, 154 Jun 4 17:08 /dev/da3 crw-r- 1 root operator0, 155 Jun 4 17:08 /dev/da3s1 crw-r- 1 root operator0, 152 Jun 4 12:08 /dev/da3s2 Just checking the obvious: you're sure this particular disk is showing up as da2, right? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: USB can't mount msdosfs drive
Just checking the obvious: you're sure this particular disk is showing up as da2, right? Yes. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
USB can't mount msdosfs drive
Tried several iterations, though it’s clearly a fat32 formatted USB drive. Shown below are the results of fdisk and the mount_msdosfs command. root@warehouse:/root # fdisk /dev/da2 *** Working on device /dev/da2 *** parameters extracted from in-core disklabel are: cylinders=1897 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=1897 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: sysid 12 (0x0c),(DOS or Windows 95 with 32 bit FAT (LBA)) start 8064, size 30473088 (14879 Meg), flag 80 (active) beg: cyl 1/ head 0/ sector 1; end: cyl 706/ head 115/ sector 52 The data for partition 2 is: UNUSED The data for partition 3 is: UNUSED The data for partition 4 is: UNUSED root@warehouse:/root # mount_msdosfs /dev/da2s1 /usb2 mount_msdosfs: /dev/da2s1: Invalid argument root@warehouse:/root # ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: USB can't mount msdosfs drive
One item of note – I did not notice this before, the but following messages are appearing in dmesg whenever I try to mount this device. Note that I have another msdosfs usb stick mounted in usb0, that mount worked fine first try. WARNING: mount of da2s1 denied due to unsupported optional features From: Joseph Mays Sent: Wednesday, June 05, 2013 11:55 AM To: freebsd-questions@freebsd.org Subject: USB can't mount msdosfs drive Tried several iterations, though it’s clearly a fat32 formatted USB drive. Shown below are the results of fdisk and the mount_msdosfs command. root@warehouse:/root # fdisk /dev/da2 *** Working on device /dev/da2 *** parameters extracted from in-core disklabel are: cylinders=1897 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=1897 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: sysid 12 (0x0c),(DOS or Windows 95 with 32 bit FAT (LBA)) start 8064, size 30473088 (14879 Meg), flag 80 (active) beg: cyl 1/ head 0/ sector 1; end: cyl 706/ head 115/ sector 52 The data for partition 2 is: UNUSED The data for partition 3 is: UNUSED The data for partition 4 is: UNUSED root@warehouse:/root # mount_msdosfs /dev/da2s1 /usb2 mount_msdosfs: /dev/da2s1: Invalid argument root@warehouse:/root # ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: USB can't mount msdosfs drive
On 2013-06-05 18:33, Joseph Mays wrote: Joseph Mays: Tried several iterations, though it’s clearly a fat32 formatted USB drive. Shown below are the results of fdisk and the mount_msdosfs command. root@warehouse:/root # fdisk /dev/da2 *** Working on device /dev/da2 *** parameters extracted from in-core disklabel are: cylinders=1897 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=1897 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: sysid 12 (0x0c),(DOS or Windows 95 with 32 bit FAT (LBA)) start 8064, size 30473088 (14879 Meg), flag 80 (active) beg: cyl 1/ head 0/ sector 1; end: cyl 706/ head 115/ sector 52 The data for partition 2 is: UNUSED The data for partition 3 is: UNUSED The data for partition 4 is: UNUSED root@warehouse:/root # mount_msdosfs /dev/da2s1 /usb2 mount_msdosfs: /dev/da2s1: Invalid argument One item of note – I did not notice this before, the but following messages are appearing in dmesg whenever I try to mount this device. Note that I have another msdosfs usb stick mounted in usb0, that mount worked fine first try. WARNING: mount of da2s1 denied due to unsupported optional features That's odd, because that warning comes from ext2fs not msdosfs. Do you use ext2fs anywhere? What version of FreeBSD is this? And is this just a standard installation or do you compile your own kernel? signature.asc Description: OpenPGP digital signature
Re: USB can't mount msdosfs drive
WARNING: mount of da2s1 denied due to unsupported optional features That's odd, because that warning comes from ext2fs not msdosfs. Do you use ext2fs anywhere? What version of FreeBSD is this? And is this just a standard installation or do you compile your own kernel? root@warehouse:/root # uname -a FreeBSD warehouse 9.1-RC1 FreeBSD 9.1-RC1 #0: Tue Aug 14 04:25:06 UTC 2012 r...@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 No, I didn't compile my own kernel. The USB stick in question was stuck into the back of a redhat linux box. Okay, I did actually try also mounting it with: mount -t ext2fs /dev/da2s1 /usb2 just to see what would happen. After trying it a couple more times I see that was what was adding the that warning to dmesg. So that's explained, but I still don't understand why I can't mount it with mount_msdosfs -Original Message- From: Tijl Coosemans Sent: Wednesday, June 05, 2013 1:36 PM To: Joseph Mays Cc: freebsd-questions@freebsd.org Subject: Re: USB can't mount msdosfs drive ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: USB can't mount msdosfs drive
On Wed, 5 Jun 2013, Joseph Mays wrote: Tried several iterations, though it?s clearly a fat32 formatted USB drive. Shown below are the results of fdisk and the mount_msdosfs command. root@warehouse:/root # fdisk /dev/da2 *** Working on device /dev/da2 *** parameters extracted from in-core disklabel are: cylinders=1897 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=1897 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: sysid 12 (0x0c),(DOS or Windows 95 with 32 bit FAT (LBA)) start 8064, size 30473088 (14879 Meg), flag 80 (active) beg: cyl 1/ head 0/ sector 1; end: cyl 706/ head 115/ sector 52 The data for partition 2 is: UNUSED The data for partition 3 is: UNUSED The data for partition 4 is: UNUSED root@warehouse:/root # mount_msdosfs /dev/da2s1 /usb2 mount_msdosfs: /dev/da2s1: Invalid argument root@warehouse:/root # Maybe the large option to mount_msdosfs(8)? Also, something is odd about the first partition starting at 8064. What does 'gpart show da2' say? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: USB can't mount msdosfs drive
Maybe the large option to mount_msdosfs(8)? Also, something is odd about the first partition starting at 8064. What does 'gpart show da2' say? root@warehouse:/backups # gpart show da2 = 63 30481089 da2 MBR (14G) 63 8001 - free - (3.9M) 8064 304730881 !12 [active] (14G) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: USB can't mount msdosfs drive
root@warehouse:/backups # mount_msdosfs -o large /dev/da2s1 /usb2 mount_msdosfs: /dev/da2s1: Invalid argument -Original Message- From: Warren Block Sent: Wednesday, June 05, 2013 2:50 PM To: Joseph Mays Cc: freebsd-questions@freebsd.org Subject: Re: USB can't mount msdosfs drive On Wed, 5 Jun 2013, Joseph Mays wrote: Tried several iterations, though it?s clearly a fat32 formatted USB drive. Shown below are the results of fdisk and the mount_msdosfs command. root@warehouse:/root # fdisk /dev/da2 *** Working on device /dev/da2 *** parameters extracted from in-core disklabel are: cylinders=1897 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=1897 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: sysid 12 (0x0c),(DOS or Windows 95 with 32 bit FAT (LBA)) start 8064, size 30473088 (14879 Meg), flag 80 (active) beg: cyl 1/ head 0/ sector 1; end: cyl 706/ head 115/ sector 52 The data for partition 2 is: UNUSED The data for partition 3 is: UNUSED The data for partition 4 is: UNUSED root@warehouse:/root # mount_msdosfs /dev/da2s1 /usb2 mount_msdosfs: /dev/da2s1: Invalid argument root@warehouse:/root # Maybe the large option to mount_msdosfs(8)? Also, something is odd about the first partition starting at 8064. What does 'gpart show da2' say? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: USB can't mount msdosfs drive
On Wed, 5 Jun 2013 15:12:19 -0400, Joseph Mays wrote: root@warehouse:/backups # mount_msdosfs -o large /dev/da2s1 /usb2 mount_msdosfs: /dev/da2s1: Invalid argument Just a wild guess, without having tried any reference test on my side, but did you already try to access da2 instead of da2s1? _Sometimes_ (and I can't even tell you at _what_ times) a FAT (msdosfs) formatted media can be mounted in that specific way (even though I assume that in such a case, no slice device would be present - but as I said, just a guess maybe worth a try). # mount_msdosfs /dev/da2 /usb2 But just to be fully sure: This is a USB stick / thumb drive, right? It's not some internal card reader (which would probably require re-tasting)? Just asking to make sure I haven't missed this fact while reading... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: USB can't mount msdosfs drive
did you already try to access da2 instead of da2s1? Yeah, tried that early on, got the same result. root@warehouse:/backups/postgres-02/info # mount_msdosfs /dev/da2 /usb2 mount_msdosfs: /dev/da2: Invalid argument But just to be fully sure: This is a USB stick / thumb drive, right? Yes. It's one of several thumb drives that were mounted in the back of some linux machines at remote sites we help a customer with. The client is unsure what was on them, but needs to know. We asked them to gather them up and stick them into usb ports on a freebsd machine we have access to and manage at their location (in another state). Most of them I got mounted as either msdosfs, or ufs, or ntfs, or extfs2, and was able to get the data off them. This thumb drive is one of two holdouts. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: USB can't mount msdosfs drive
On Wed, 5 Jun 2013 16:12:59 -0400 Joseph Mays articulated: Yes. It's one of several thumb drives that were mounted in the back of some linux machines at remote sites we help a customer with. The client is unsure what was on them, but needs to know. We asked them to gather them up and stick them into usb ports on a freebsd machine we have access to and manage at their location (in another state). Most of them I got mounted as either msdosfs, or ufs, or ntfs, or extfs2, and was able to get the data off them. This thumb drive is one of two holdouts. Is it possible that they are petitioned as exFAT (Extended File Allocation Table) drives? That is how I partition all of my flash drives. -- Jerry ♔ Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: USB can't mount msdosfs drive
On 2013-06-05 22:12, Joseph Mays wrote: did you already try to access da2 instead of da2s1? Yeah, tried that early on, got the same result. root@warehouse:/backups/postgres-02/info # mount_msdosfs /dev/da2 /usb2 mount_msdosfs: /dev/da2: Invalid argument But just to be fully sure: This is a USB stick / thumb drive, right? Yes. It's one of several thumb drives that were mounted in the back of some linux machines at remote sites we help a customer with. The client is unsure what was on them, but needs to know. We asked them to gather them up and stick them into usb ports on a freebsd machine we have access to and manage at their location (in another state). Most of them I got mounted as either msdosfs, or ufs, or ntfs, or extfs2, and was able to get the data off them. This thumb drive is one of two holdouts. If you do a ls /dev/da* What does it show. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org