problem mounting USB drive
Greetings! Please help with the following issue: I am trying to mount external USB Windows disk drive to my FreeBSD system. After connecting the drive, the following log entries are created: Aug 10 18:23:56 ott kernel: ugen2.2: Western Digital at usbus2 Aug 10 18:23:56 ott kernel: umass0: Western Digital External HDD, class 0/0, rev 2.00/2.40, addr 2 on usbus2 Aug 10 18:23:56 ott kernel: umass0: SCSI over Bulk-Only; quirks = 0x Aug 10 18:23:57 ott kernel: umass0:0:0:-1: Attached to scbus0 Aug 10 18:23:57 ott kernel: da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 Aug 10 18:23:57 ott kernel: da0: WDC WD16 00BEVE-11UYT0 Fixed Direct Access SCSI-0 device Aug 10 18:23:57 ott kernel: da0: 40.000MB/s transfers Aug 10 18:23:57 ott kernel: da0: 152627MB (312581808 512 byte sectors: 255H 63S/T 19457C) Mounting the drive gives the following error: # mount -t msdosfs /dev/da0s1 /mnt/ mount_msdosfs: /dev/da0s1: Invalid argument In the /var/log/messages the following message appears: Aug 10 18:27:40 ott kernel: mountmsdosfs(): bad FAT32 filesystem The drive is OK and works fine with Windows. Also, USB flash thumb drives work fine, when used in the same manner with my FreeBSD. System version is 8.0-STABLE, but this is probably irrelevant here. best regards, Ott Köstner ___ 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: problem mounting USB drive
On 10/08/2010 17:32, Ott Köstner wrote: [...] In the /var/log/messages the following message appears: Aug 10 18:27:40 ott kernel: mountmsdosfs(): bad FAT32 filesystem The drive is OK and works fine with Windows. Also, USB flash thumb drives work fine, when used in the same manner with my FreeBSD. System version is 8.0-STABLE, but this is probably irrelevant here. The fact that the drive is working on Windows does not mean it's FAT32 formatted. It may as well be NTFS formatted (man mount_ntfs). Doublecheck you're running a FAT32 system: FreeBSD is saying you're not. Cheers, Antonio ___ 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: problem mounting USB drive
Antonio Vieiro wrote: The fact that the drive is working on Windows does not mean it's FAT32 formatted. It may as well be NTFS formatted (man mount_ntfs). Doublecheck you're running a FAT32 system: FreeBSD is saying you're not. Thank You! Looks better now, but the volume is still unusable. # mount_ntfs /dev/da0s1 /mnt/ r...@ott / # mount -v|grep da0 /dev/da0s1 on /mnt (ntfs, local, fsid 71000800) # df -H|grep da0 /dev/da0s1 160G 26G134G16%/mnt ...but all commands result with an error like this... # ls -l /mnt/BACKUP ls: /mnt/BACKUP: Argument list too long :( Ott ___ 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: problem mounting USB drive
On Tue, Aug 10, 2010 at 11:37 AM, Ott Köstner o...@zzz.ee wrote: Antonio Vieiro wrote: The fact that the drive is working on Windows does not mean it's FAT32 formatted. It may as well be NTFS formatted (man mount_ntfs). Doublecheck you're running a FAT32 system: FreeBSD is saying you're not. Thank You! Looks better now, but the volume is still unusable. # mount_ntfs /dev/da0s1 /mnt/ r...@ott / # mount -v|grep da0 /dev/da0s1 on /mnt (ntfs, local, fsid 71000800) # df -H|grep da0 /dev/da0s1 160G 26G134G16%/mnt ...but all commands result with an error like this... # ls -l /mnt/BACKUP ls: /mnt/BACKUP: Argument list too long That generally means there are too many files to process via default shell memory settings. Something like: find /mnt/BACKUP should work in that case. -- Adam Vande More ___ 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: problem mounting USB drive
Adam Vande More wrote: On Tue, Aug 10, 2010 at 11:37 AM, Ott Köstner o...@zzz.ee wrote: # df -H|grep da0 /dev/da0s1 160G 26G134G16%/mnt ...but all commands result with an error like this... # ls -l /mnt/BACKUP ls: /mnt/BACKUP: Argument list too long That generally means there are too many files to process via default shell memory settings. Something like: find /mnt/BACKUP should work in that case. Yes, generally this means that there are too many files, but not in this case. Even find gives me: # find /mnt/BACKUP find: /mnt/BACKUP: Argument list too long or # ls -ld /mnt/BACKUP ls: /mnt/BACKUP: Argument list too long Some directories are not big at all. My question is, is is a FreeBSD problem here, or is there something wrong with the drive (or am I doing something wrong here)? For some reason my BSD does not want to eat that drive... ;) Ott ___ 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: problem mounting USB drive
On Tue, Aug 10, 2010 at 12:19 PM, Ott Köstner o...@zzz.ee wrote: Adam Vande More wrote: On Tue, Aug 10, 2010 at 11:37 AM, Ott Köstner o...@zzz.ee wrote: # df -H|grep da0 /dev/da0s1 160G 26G134G16%/mnt ...but all commands result with an error like this... # ls -l /mnt/BACKUP ls: /mnt/BACKUP: Argument list too long That generally means there are too many files to process via default shell memory settings. Something like: find /mnt/BACKUP should work in that case. Yes, generally this means that there are too many files, but not in this case. Even find gives me: # find /mnt/BACKUP find: /mnt/BACKUP: Argument list too long or # ls -ld /mnt/BACKUP ls: /mnt/BACKUP: Argument list too long Some directories are not big at all. My question is, is is a FreeBSD problem here, or is there something wrong with the drive (or am I doing something wrong here)? For some reason my BSD does not want to eat that drive... Apparently that's a known bug kern/136873 you can try sysutils/ntfsprogs to mount it. -- Adam Vande More ___ 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: problem mounting USB drive
Adam Vande More wrote: On Tue, Aug 10, 2010 at 12:19 PM, Ott Köstner o...@zzz.ee wrote: Adam Vande More wrote: On Tue, Aug 10, 2010 at 11:37 AM, Ott Köstner o...@zzz.ee wrote: # ls -ld /mnt/BACKUP ls: /mnt/BACKUP: Argument list too long Some directories are not big at all. My question is, is is a FreeBSD problem here, or is there something wrong with the drive (or am I doing something wrong here)? For some reason my BSD does not want to eat that drive... Apparently that's a known bug kern/136873 you can try sysutils/ntfsprogs to mount it. Thank You again, but even this does not seem to help in the first place. 1) Installed ntfsprogs-2.0.0_1 from ports. After that: # ntfsmount /dev/da0s1 /mnt/ fuse: failed to open fuse device: No such file or directory fuse_mount failed. Unmounting /dev/da0s1 (WD Passport) I can see the drive information: # ntfsinfo -m /dev/da0s1 Volume Information Name of device: /dev/da0s1 Device state: 3 Volume Name: WD Passport Volume State: 1 Volume Version: 3.1 Sector Size: 512 Cluster Size: 16384 Volume Size in Clusters: 9768020 [...snip...] 2) After that... # ntfsfix /dev/da0s1 Mounting volume... OK Processing of $MFT and $MFTMirr completed successfully. NTFS volume version is 3.1. NTFS partition /dev/da0s1 was processed successfully. 3) Trying to mount again: # ntfsmount /dev/da0s1 /mnt/ Volume is scheduled for check. Please boot into Windows TWICE, or use the 'force' option. NOTE: If you had not scheduled check and last time accessed this volume using ntfsmount and shutdown system properly, then init scripts in your distribution are broken. Please report to your distribution developers (NOT to us!) that init scripts kill ntfsmount or mount.ntfs-fuse during shutdown instead of proper umount. Mount failed. 4) UHH!!! greetings, Ott ___ 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: problem mounting USB drive
or use the 'force' option ntfsmount -o force, or something like that then, it would mount normally (without forcing) btw, I didn't check, is ntfsprogs' mkntfs (or whatever the name) working now? Samuel Martín Moro {EPITECH.} tek4 CamTrace S.A.S (+033) 1 41 38 37 60 1 Allée de la Venelle 92150 Suresnes FRANCE Nobody wants to say how this works. Maybe nobody knows ... Xorg.conf(5) On Tue, Aug 10, 2010 at 8:13 PM, Ott Köstner o...@zzz.ee wrote: OK Processing of $MFT and $MFTMirr completed successfully. NTFS volume version is 3.1. ___ 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: problem mounting USB drive
On Tue, Aug 10, 2010 at 1:13 PM, Ott Köstner o...@zzz.ee wrote: 2) After that... # ntfsfix /dev/da0s1 Mounting volume... OK Processing of $MFT and $MFTMirr completed successfully. NTFS volume version is 3.1. NTFS partition /dev/da0s1 was processed successfully. All ntfsfix does is mark it dirty so windows with check the fs next time it mounts it. I suggest you follow ntfsmount's suggestion. -- Adam Vande More ___ 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: problem mounting USB drive
Adam Vande More wrote: On Tue, Aug 10, 2010 at 1:13 PM, Ott Köstner o...@zzz.ee wrote: 2) After that... # ntfsfix /dev/da0s1 Mounting volume... OK Processing of $MFT and $MFTMirr completed successfully. NTFS volume version is 3.1. NTFS partition /dev/da0s1 was processed successfully. All ntfsfix does is mark it dirty so windows with check the fs next time it mounts it. I suggest you follow ntfsmount's suggestion. Try using /dev/da0 ___ 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: Mounting NTFS drive/partition
On Fri, 30 Mar 2007 18:54:13 +0200 Ivan Zenzerovi? [EMAIL PROTECTED] wrote: Ok, I think I understand, but tell me, is there any way I can read those partitions from freebsd? If this helps, on that disk are no windows, there are 3 ntfs partitions. Ivan On 3/30/07, Derek Ragona [EMAIL PROTECTED] wrote: You are able to mount the primary partition, not the extended partitions. This is a also a limitation mounting ms-dos fat drives. The extended partitions are done differently and are outside the partition table. I'm surprised if there's any problem mounting either msdosfs or ntfs 'drives' in 'extended partitions' nowadays? There certainly wasn't in FreeBSD 4.x, when I managed to get mount_hpfs going to salvage a number of HPFS 'drives', all of which lived in the 'extended partition'. The HPFS code (still in the source tree last I checked, but not compiled by default) was written by Semen Ustimenko [EMAIL PROTECTED], who also wrote the (then) NTFS code; the two shared lots of cut-n-paste. It's true that information on this is a bit sketchy and harder to find, but basically an 'extended partition' (in DOS parlance) uses one of the four slices on a disk, for example let's say ad0s2, and the separate 'drives' that might appear as D:, E:, etc to DOS/'doze would be then accessed as ad0s5, ad0s6 etc. At 07:58 AM 3/30/2007, =?ISO-8859-2?Q?Ivan_Zenzerovi=E6?= wrote: Hi, I'm trying to mount an ntfs drive with mount_ntfs. Now, the system sees the second hard disk, but shows only one partition, ad1s1 wich is NTFS, but on that disk there are 3 ntfs partitions and the system doesn't see them. On windows they work fine. Try mount_ntfs using ad1s5, ad1s6 and ad1s7 then, read-only for safety. From a 2004 fstab on one 4.10 system: /dev/ad2s5 /hpfs hpfsro,noauto 0 0 Cheers, Ian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Mounting NTFS drive/partition
Hi, I'm trying to mount an ntfs drive with mount_ntfs. Now, the system sees the second hard disk, but shows only one partition, ad1s1 wich is NTFS, but on that disk there are 3 ntfs partitions and the system doesn't see them. On windows they work fine. Another thing, after a day or two I tried to boot on windows and the responded that a file is missing and that they can't start. After that I rebooted and the started normaly! Weird. What could it be? Thanks, Ivan -- --- Correr, competir, eu levo isso no sangue, é parte da minha vida. - Ayrton Senna ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mounting NTFS drive/partition
You are able to mount the primary partition, not the extended partitions. This is a also a limitation mounting ms-dos fat drives. The extended partitions are done differently and are outside the partition table. -Derek At 07:58 AM 3/30/2007, =?ISO-8859-2?Q?Ivan_Zenzerovi=E6?= wrote: Hi, I'm trying to mount an ntfs drive with mount_ntfs. Now, the system sees the second hard disk, but shows only one partition, ad1s1 wich is NTFS, but on that disk there are 3 ntfs partitions and the system doesn't see them. On windows they work fine. Another thing, after a day or two I tried to boot on windows and the responded that a file is missing and that they can't start. After that I rebooted and the started normaly! Weird. What could it be? Thanks, Ivan -- --- Correr, competir, eu levo isso no sangue, é parte da minha vida. - Ayrton Senna ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mounting NTFS drive/partition
Ok, I think I understand, but tell me, is there any way I can read those partitions from freebsd? If this helps, on that disk are no windows, there are 3 ntfs partitions. Ivan On 3/30/07, Derek Ragona [EMAIL PROTECTED] wrote: You are able to mount the primary partition, not the extended partitions. This is a also a limitation mounting ms-dos fat drives. The extended partitions are done differently and are outside the partition table. -Derek At 07:58 AM 3/30/2007, =?ISO-8859-2?Q?Ivan_Zenzerovi=E6?= wrote: Hi, I'm trying to mount an ntfs drive with mount_ntfs. Now, the system sees the second hard disk, but shows only one partition, ad1s1 wich is NTFS, but on that disk there are 3 ntfs partitions and the system doesn't see them. On windows they work fine. Another thing, after a day or two I tried to boot on windows and the responded that a file is missing and that they can't start. After that I rebooted and the started normaly! Weird. What could it be? Thanks, Ivan -- --- Correr, competir, eu levo isso no sangue, é parte da minha vida. - Ayrton Senna ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by *MailScanner* http://www.mailscanner.info/, and is believed to be clean. MailScanner thanks transtec Computers http://www.transtec.co.uk/ for their support. -- --- Correr, competir, eu levo isso no sangue, é parte da minha vida. - Ayrton Senna ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mounting NTFS drive/partition
Not that I know of. The extended partitions are implemented as linked-lists, and not in a partition table as standard partitions are and the mount_ntfs is not written for the extended partitions. You can move things back and forth using the one partition that you can access. -Derek At 11:54 AM 3/30/2007, =?ISO-8859-2?Q?Ivan_Zenzerovi=E6?= wrote: Ok, I think I understand, but tell me, is there any way I can read those partitions from freebsd? If this helps, on that disk are no windows, there are 3 ntfs partitions. Ivan On 3/30/07, Derek Ragona [EMAIL PROTECTED] wrote: You are able to mount the primary partition, not the extended partitions. This is a also a limitation mounting ms-dos fat drives. The extended partitions are done differently and are outside the partition table. -Derek At 07:58 AM 3/30/2007, =?ISO-8859-2?Q?Ivan_Zenzerovi=E6?= wrote: Hi, I'm trying to mount an ntfs drive with mount_ntfs. Now, the system sees the second hard disk, but shows only one partition, ad1s1 wich is NTFS, but on that disk there are 3 ntfs partitions and the system doesn't see them. On windows they work fine. Another thing, after a day or two I tried to boot on windows and the responded that a file is missing and that they can't start. After that I rebooted and the started normaly! Weird. What could it be? Thanks, Ivan -- --- Correr, competir, eu levo isso no sangue, é parte da minha vida. - Ayrton Senna ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by *MailScanner* http://www.mailscanner.info/, and is believed to be clean. MailScanner thanks transtec Computers http://www.transtec.co.uk/ for their support. -- --- Correr, competir, eu levo isso no sangue, é parte da minha vida. - Ayrton Senna ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mounting NTFS drive/partition
Could I maybe fix this with trying to make the partitions again or something like this from windows with partition magic? I supose that on the same way freebsd does with it's partitions? Ivan On 3/30/07, Derek Ragona [EMAIL PROTECTED] wrote: Not that I know of. The extended partitions are implemented as linked-lists, and not in a partition table as standard partitions are and the mount_ntfs is not written for the extended partitions. You can move things back and forth using the one partition that you can access. -Derek At 11:54 AM 3/30/2007, =?ISO-8859-2?Q?Ivan_Zenzerovi=E6?= wrote: Ok, I think I understand, but tell me, is there any way I can read those partitions from freebsd? If this helps, on that disk are no windows, there are 3 ntfs partitions. Ivan On 3/30/07, Derek Ragona [EMAIL PROTECTED] wrote: You are able to mount the primary partition, not the extended partitions. This is a also a limitation mounting ms-dos fat drives. The extended partitions are done differently and are outside the partition table. -Derek At 07:58 AM 3/30/2007, =?ISO-8859-2?Q?Ivan_Zenzerovi=E6?= wrote: Hi, I'm trying to mount an ntfs drive with mount_ntfs. Now, the system sees the second hard disk, but shows only one partition, ad1s1 wich is NTFS, but on that disk there are 3 ntfs partitions and the system doesn't see them. On windows they work fine. Another thing, after a day or two I tried to boot on windows and the responded that a file is missing and that they can't start. After that I rebooted and the started normaly! Weird. What could it be? Thanks, Ivan -- --- Correr, competir, eu levo isso no sangue, é parte da minha vida. - Ayrton Senna ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by *MailScanner* http://www.mailscanner.info/, and is believed to be clean. MailScanner thanks transtec Computers http://www.transtec.co.uk/ for their support. -- --- Correr, competir, eu levo isso no sangue, é parte da minha vida. - Ayrton Senna ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by *MailScanner* http://www.mailscanner.info/, and is believed to be clean. MailScanner thanks transtec Computers http://www.transtec.co.uk/ for their support. -- --- Correr, competir, eu levo isso no sangue, é parte da minha vida. - Ayrton Senna ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mounting NTFS drive/partition
You'd have to enlarge the primary partition and move the data from the two extended partitions into that partition. -Derek At 12:27 PM 3/30/2007, =?ISO-8859-2?Q?Ivan_Zenzerovi=E6?= wrote: Could I maybe fix this with trying to make the partitions again or something like this from windows with partition magic? I supose that on the same way freebsd does with it's partitions? Ivan On 3/30/07, Derek Ragona [EMAIL PROTECTED] wrote: Not that I know of. The extended partitions are implemented as linked-lists, and not in a partition table as standard partitions are and the mount_ntfs is not written for the extended partitions. You can move things back and forth using the one partition that you can access. -Derek At 11:54 AM 3/30/2007, =?ISO-8859-2?Q?Ivan_Zenzerovi=E6?= wrote: Ok, I think I understand, but tell me, is there any way I can read those partitions from freebsd? If this helps, on that disk are no windows, there are 3 ntfs partitions. Ivan On 3/30/07, Derek Ragona [EMAIL PROTECTED] wrote: You are able to mount the primary partition, not the extended partitions. This is a also a limitation mounting ms-dos fat drives. The extended partitions are done differently and are outside the partition table. -Derek At 07:58 AM 3/30/2007, =?ISO-8859-2?Q?Ivan_Zenzerovi=E6?= wrote: Hi, I'm trying to mount an ntfs drive with mount_ntfs. Now, the system sees the second hard disk, but shows only one partition, ad1s1 wich is NTFS, but on that disk there are 3 ntfs partitions and the system doesn't see them. On windows they work fine. Another thing, after a day or two I tried to boot on windows and the responded that a file is missing and that they can't start. After that I rebooted and the started normaly! Weird. What could it be? Thanks, Ivan -- --- Correr, competir, eu levo isso no sangue, é parte da minha vida. - Ayrton Senna ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by *MailScanner* http://www.mailscanner.info/, and is believed to be clean. MailScanner thanks transtec Computers http://www.transtec.co.uk/ for their support. -- --- Correr, competir, eu levo isso no sangue, é parte da minha vida. - Ayrton Senna ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by *MailScanner* http://www.mailscanner.info/, and is believed to be clean. MailScanner thanks transtec Computers http://www.transtec.co.uk/ for their support. -- --- Correr, competir, eu levo isso no sangue, é parte da minha vida. - Ayrton Senna ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mounting NTFS drive/partition
Derek Ragona wrote: You are able to mount the primary partition, not the extended partitions. This is a also a limitation mounting ms-dos fat drives. The extended partitions are done differently and are outside the partition table. -Derek At 07:58 AM 3/30/2007, =?ISO-8859-2?Q?Ivan_Zenzerovi=E6?= wrote: Hi, I'm trying to mount an ntfs drive with mount_ntfs. Now, the system sees the second hard disk, but shows only one partition, ad1s1 wich is NTFS, but on that disk there are 3 ntfs partitions and the system doesn't see them. On windows they work fine. Another thing, after a day or two I tried to boot on windows and the responded that a file is missing and that they can't start. After that I rebooted and the started normaly! Weird. What could it be? Thanks, Ivan -- DOS partitions handled by the Logical Volume Manager are tricky critters to deal with (if that's in fact what you have setup). That's why I suggest that you move back to a 'Basic' configuration -- that way your partitions will be readable using any OS. Cheers, -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Re[2]: Mounting a drive
Many thanks for reply Jerry, when I joined FreeBSD I had not realised that it was a Linux/ Unix forum, on quick inspection I assumed that the title referred to some kind of general help forum. There is such a proliferation of abbreviated titles that I am not always sure from titles of their purpose. My question referred really to Windows XP, as I am only just getting to grips with Linux. First of all, it has nothing to do with LINUX. This is FreeBSD which follows the BSD family of UNIX and is not nearly the same. In fact, most of us experience it as superior to LUNIX for server work. Check it out at: http://www.freebsd.org/ As for any Microsloth stuff, I couldn't help, but I would guess that you are wasting your time trying to do anything of that sophistication in MS. Finally, when you post questions or responses on the list, you should always include the list in your responses (as a cc). jerry I had read an article recently, which I can no longer find, that to get around the limitation, under windows XP, of the number of named partitions that one can use, that apparently one can mount a partition, be it a sector of a hard drive, or a removeable drive, within a directory. ( I believe the article said directory, it might have ben a folder ) The article was referring to the ability then to have a number of flash drives or external USB connected drives which could exceed the normal Windows limitation. I am running a piece of software, hyperOS, which allows me to have multiple bootable partitions, and currently I have around 20 on a 300 Gig hard drive, I wanted to add several USB memory stick drives and some partitions with different flavours of linux, and so am interested in finding out how I can overcome the windows XP limitation. I felt that also I needed to understand what the term mounting a drive actually meant, so that I could try to anticipate any unusual behaviour, particularly with boot switching. From your email it appears that mounting implies letting the device driver know the address of the device upon which it is to work. Best regards and thanks for reply, Richard mailto:[EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Re[2]: Mounting a drive
Hmm Disk Manager - Change Mount Point - Mount Volume to a Directory Unless I'm misunderstanding, that's what you're looking for on the Windows side.. -- Chris Quoting Jerry McAllister [EMAIL PROTECTED]: Many thanks for reply Jerry, when I joined FreeBSD I had not realised that it was a Linux/ Unix forum, on quick inspection I assumed that the title referred to some kind of general help forum. There is such a proliferation of abbreviated titles that I am not always sure from titles of their purpose. My question referred really to Windows XP, as I am only just getting to grips with Linux. First of all, it has nothing to do with LINUX. This is FreeBSD which follows the BSD family of UNIX and is not nearly the same. In fact, most of us experience it as superior to LUNIX for server work. Check it out at: http://www.freebsd.org/ As for any Microsloth stuff, I couldn't help, but I would guess that you are wasting your time trying to do anything of that sophistication in MS. Finally, when you post questions or responses on the list, you should always include the list in your responses (as a cc). jerry I had read an article recently, which I can no longer find, that to get around the limitation, under windows XP, of the number of named partitions that one can use, that apparently one can mount a partition, be it a sector of a hard drive, or a removeable drive, within a directory. ( I believe the article said directory, it might have ben a folder ) The article was referring to the ability then to have a number of flash drives or external USB connected drives which could exceed the normal Windows limitation. I am running a piece of software, hyperOS, which allows me to have multiple bootable partitions, and currently I have around 20 on a 300 Gig hard drive, I wanted to add several USB memory stick drives and some partitions with different flavours of linux, and so am interested in finding out how I can overcome the windows XP limitation. I felt that also I needed to understand what the term mounting a drive actually meant, so that I could try to anticipate any unusual behaviour, particularly with boot switching. From your email it appears that mounting implies letting the device driver know the address of the device upon which it is to work. Best regards and thanks for reply, Richard mailto:[EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Re[2]: Mounting a drive
Keep in mind here without special device drivers (I've heard they exist but have never installed any of them) you will not be able to mount a Linux (linux uses several different file systems) partition under Windows XP. Disk Manager will allow an NTFS filesystem directory mount an arbritrary Volume (a file system windows supports, fat, fat32, ntfs, maybe hpfs) on your system to overcome the DOS (it is not a Windows limitation, Microsoft is still running a 16 bit world) limitation of 26 drives, 24 of which can be harddrives. Mounting isn't really a function of the filesystem (maybe in Linux it is???) but of the vnode system. It allows a device (any specially configured file) with a known structure to be referenced within the context of a root directory structure, superceding (non-destructively...) whatever was in the mounted directory prior to the mount. In other words it lets the partition (I'll keep the spcial files simple) be seen on a filesystem to people with the appropriate credentials, and by mounting say /foo with say the special file /dev/da0s1a anything in /foo will no longer be seen by the vnode system and instead anything on /dev/da0s1a will be displayed in it's place. It would seem that unless you are installing Linux on an Fat32 filesystem those partitions would be useless within windows. You wouldn't be able to even edit configuration files with Windows (the editors that come with windows) editors because they will add line feed (maybe it is carridge returns I always mess this one up) to the text and Linux won't like that. Any further help with Linux should be in another mailling list, but if you want to put FreeBSD on one of those memory sticks I'm sure we would try to help... Windows is just about useless, it doesn't even support the now 5 year old or so 64-bit processors... I highly doubt you will find anything but headaches doing what you seem to be attempting to do with Windows and GNUnix. good luck -brian --- [EMAIL PROTECTED] wrote: Hmm Disk Manager - Change Mount Point - Mount Volume to a Directory Unless I'm misunderstanding, that's what you're looking for on the Windows side.. -- Chris Quoting Jerry McAllister [EMAIL PROTECTED]: Many thanks for reply Jerry, when I joined FreeBSD I had not realised that it was a Linux/ Unix forum, on quick inspection I assumed that the title referred to some kind of general help forum. There is such a proliferation of abbreviated titles that I am not always sure from titles of their purpose. My question referred really to Windows XP, as I am only just getting to grips with Linux. First of all, it has nothing to do with LINUX. This is FreeBSD which follows the BSD family of UNIX and is not nearly the same. In fact, most of us experience it as superior to LUNIX for server work. Check it out at: http://www.freebsd.org/ As for any Microsloth stuff, I couldn't help, but I would guess that you are wasting your time trying to do anything of that sophistication in MS. Finally, when you post questions or responses on the list, you should always include the list in your responses (as a cc). jerry I had read an article recently, which I can no longer find, that to get around the limitation, under windows XP, of the number of named partitions that one can use, that apparently one can mount a partition, be it a sector of a hard drive, or a removeable drive, within a directory. ( I believe the article said directory, it might have ben a folder ) The article was referring to the ability then to have a number of flash drives or external USB connected drives which could exceed the normal Windows limitation. I am running a piece of software, hyperOS, which allows me to have multiple bootable partitions, and currently I have around 20 on a 300 Gig hard drive, I wanted to add several USB memory stick drives and some partitions with different flavours of linux, and so am interested in finding out how I can overcome the windows XP limitation. I felt that also I needed to understand what the term mounting a drive actually meant, so that I could try to anticipate any unusual behaviour, particularly with boot switching. From your email it appears that mounting implies letting the device driver know the address of the device upon which it is to work. Best regards and thanks for reply, Richard mailto:[EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions
Mounting a drive
Hallo Could someone explain exactly what is meant by mounting a disk. I understand that it is making a disk available for use, but would like to understand the implications of the term and what abilities it confers. Part of the purpose of the question is that I am trying to find out how I can have more partitions and detachable drives than there are letters in the alphabet. Best Regards, Richard Shoebridge ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mounting a drive
rs [EMAIL PROTECTED] wrote: Could someone explain exactly what is meant by mounting a disk. I understand that it is making a disk available for use, but would like to understand the implications of the term and what abilities it confers. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mount-unmount.html Part of the purpose of the question is that I am trying to find out how I can have more partitions and detachable drives than there are letters in the alphabet. FreeBSD has no number of letters in the alphabet limitation. Are you aware of the fact that this isn't a Windows specific mailing list? Fabian -- http://www.fabiankeil.de/ signature.asc Description: PGP signature
Re: Mounting a drive
Hallo Could someone explain exactly what is meant by mounting a disk. I understand that it is making a disk available for use, but would like to understand the implications of the term and what abilities it confers. Mounting connects the mount point to the device driver. After the mount, references to the mount point, cause it to talk to the device driver. Part of the purpose of the question is that I am trying to find out how I can have more partitions and detachable drives than there are letters in the alphabet. I don't know what you mean by detachable drives - do you mean removable, hot-swap, unmount-able, whatever? Any drive - except root can be unmounted. You can mount only the filesystems you want to use at the time, regardless of how many physical drives are connected to the box. On each disk device whether single drive or raid, you are allowed up to 4 slices (1-4) and within each slice, 8 partitions (a-h). But, partition c is generally reserved. A partition is turned in to a filesystem with the newfs(8) utility. You can have as many drives as your controllers can talk to. Every filesystem refers to a single partition. A partition/filesystem is unseen by the system except for some utilities that talk to devices directly such as fsck(8) or dd(1) unless it is mounted. jerry Best Regards, Richard Shoebridge ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Trouble mounting Zip drive (solved!)
[snip] Hi and thanks for all help! Seems like I have found a sollution (thanks to this excellent tutorial http://freebsd.peon.net/tutorials/10/ and the help from the mailinglist members): One thing: I still don't understand how I should know that the device is rda0 or rda0c or even da0 sometimes in the example below. If someone could explain I'd be happy :-) # dd if=/dev/zero of=/dev/rda0 count=2 2+0 records in 2+0 records out 1024 bytes transferred in 0.040405 secs (25343 bytes/sec) # disklabel -Brw da0 auto # newfs /dev/rda0c Warning: Block size restricts cylinders per group to 97. /dev/rda0c: 196608 sectors in 48 cylinders of 1 tracks, 4096 sectors 96.0MB in 1 cyl groups (97 c/g, 194.00MB/g, 12288 i/g) super-block backups (for fsck -b #) at: 32 # mount /dev/da0c /zip # df -h FilesystemSize Used Avail Capacity Mounted on /dev/ad0s1a 126M35M81M30%/ /dev/ad0s1f 252M22K 232M 0%/tmp /dev/ad0s1g 5.1G 760M 3.9G16%/usr /dev/ad0s1e 252M 2.9M 229M 1%/var /dev/ad1s1e 3.0G 405M 2.3G14%/backup procfs4.0K 4.0K 0B 100%/proc /dev/da0c 94M 2.0K87M 0%/zip Best regards, Andreas --- Andreas Wideroe Andersen [EMAIL PROTECTED] Mobile: (+47) 90 92 61 21 http://www.filmshooting.com Norsk Smalfilm AS http://www.smalfilm.no ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Trouble mounting Zip drive (solved!)
* Andreas Widerøe Andersen [2005-07-06 10:42 +0200] Hi and thanks for all help! Seems like I have found a sollution (thanks to this excellent tutorial http://freebsd.peon.net/tutorials/10/ and the help from the mailinglist members): I didn't follow this thread from the beginning, so I'm not sure if this was ever an issue, or if it has been discussed. But when I used ZIP disks some two to three years ago, I had some issues with password-protected and read-only disks. I found a solution for that sending raw commands to the device using camcontrol. If you're interested, I could try to dig up my notes on the matter. At that time there was no command line utilities I could find that would set these bits on the disks. Regadrs, Svein Halvor ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Trouble mounting Zip drive
Hi, I'm having problems mounting a SCSI Iomega 100 Zip drive on my 4.11 RELEASE system: - From boot, this is what I see: da0 at ncr0 bus 0 target 5 lun 0 da0: IOMEGA ZIP 100 E.08 Removable Direct Access SCSI-2 device da0: 3.300MB/s transfers da0: 96MB (196608 512 byte sectors: 64H 32S/T 96C) - In my /etc/fstab i have this line: /dev/da0s4 /zipufs rw,noauto 0 0 I have mkdir a /zip directory This is the problem: $ mount /zip mount: /dev/da0s4: Operation not permitted I have tried many things now, but can't make things work. Any suggestion to what I do wrong? Thanks! Andreas --- Andreas Wideroe Andersen [EMAIL PROTECTED] Mobile: (+47) 90 92 61 21 http://www.filmshooting.com Norsk Smalfilm AS http://www.smalfilm.no ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Trouble mounting Zip drive
On Tue, 05 Jul 2005 17:14:50 +0200 Andreas Widerøe Andersen [EMAIL PROTECTED] wrote: Hi, I'm having problems mounting a SCSI Iomega 100 Zip drive on my 4.11 RELEASE system: - From boot, this is what I see: da0 at ncr0 bus 0 target 5 lun 0 da0: IOMEGA ZIP 100 E.08 Removable Direct Access SCSI-2 device da0: 3.300MB/s transfers da0: 96MB (196608 512 byte sectors: 64H 32S/T 96C) - In my /etc/fstab i have this line: /dev/da0s4 /zipufs rw,noauto 0 0 I have mkdir a /zip directory This is the problem: $ mount /zip mount: /dev/da0s4: Operation not permitted did you try mounting it as root ? (and what does /var/log/messages /var/log/dmesg say about it ?) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Trouble mounting Zip drive
At 17:19 05.07.2005, [EMAIL PROTECTED] wrote: On Tue, 05 Jul 2005 17:14:50 +0200 Andreas Widerøe Andersen [EMAIL PROTECTED] wrote: Hi, I'm having problems mounting a SCSI Iomega 100 Zip drive on my 4.11 RELEASE system: - From boot, this is what I see: da0 at ncr0 bus 0 target 5 lun 0 da0: IOMEGA ZIP 100 E.08 Removable Direct Access SCSI-2 device da0: 3.300MB/s transfers da0: 96MB (196608 512 byte sectors: 64H 32S/T 96C) - In my /etc/fstab i have this line: /dev/da0s4 /zipufs rw,noauto 0 0 I have mkdir a /zip directory This is the problem: $ mount /zip mount: /dev/da0s4: Operation not permitted did you try mounting it as root ? (and what does /var/log/messages /var/log/dmesg say about it ?) Uhh.. embarrasing :-O (yes, I was not root! Well, still have a problem as root (I've had this problem from the start when I WAS logged in as root): # mount /zip mount: /dev/da0s4 on /zip: incorrect super block /Andreas --- Andreas Wideroe Andersen [EMAIL PROTECTED] Mobile: (+47) 90 92 61 21 http://www.filmshooting.com Norsk Smalfilm AS http://www.smalfilm.no ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Trouble mounting Zip drive
Andreas Widerøe Andersen wrote: At 17:19 05.07.2005, [EMAIL PROTECTED] wrote: On Tue, 05 Jul 2005 17:14:50 +0200 Andreas Widerøe Andersen [EMAIL PROTECTED] wrote: Hi, I'm having problems mounting a SCSI Iomega 100 Zip drive on my 4.11 RELEASE system: snip did you try mounting it as root ? (and what does /var/log/messages /var/log/dmesg say about it ?) Uhh.. embarrasing :-O (yes, I was not root! Well, still have a problem as root (I've had this problem from the start when I WAS logged in as root): # mount /zip mount: /dev/da0s4 on /zip: incorrect super block /Andreas Is the filesystem really ufs as noted in /etc/fstab? IIRC, trying to mount a non-ufs filesystem as ufs will give this error. Other possibilities include a bad disk ... :-( HTH, Kevin Kinsey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Trouble mounting Zip drive
On Tue, Jul 05, 2005 at 05:44:17PM +0200, Andreas Wider?e Andersen wrote: [...] # mount /zip mount: /dev/da0s4 on /zip: incorrect super block Your ZIP disk hasn't been formatted as UFS, I would try `msdos' instead. -- Jonathan Chen [EMAIL PROTECTED]Once is dumb luck. Twice is coincidence. Three times and Somebody Is Trying To Tell You Something. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Trouble mounting Zip drive
On Tue, 2005-07-05 at 15:35, Jonathan Chen wrote: On Tue, Jul 05, 2005 at 05:44:17PM +0200, Andreas Wider?e Andersen wrote: [...] # mount /zip mount: /dev/da0s4 on /zip: incorrect super block Your ZIP disk hasn't been formatted as UFS, I would try `msdos' instead. Try mount -t msdos /dev/da0s4 /zip on the command line If that doesn't work, try da0s1 instead. fstab should say: ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Mounting hard drive from a live cd?
hi there how do I mount the hard drive from a live cd? I\m using fressbie thanks = _ Do You Yahoo!? Información de Estados Unidos y América Latina, en Yahoo! Noticias. Visítanos en http://noticias.espanol.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mounting floppy drive
I found something funny regarding mounting floppy drive by normal user. I set up everything needed for a normal user to mount a FDD according to the handbook. I booted up the box, type mount -t msdos /dev/fd0 ~/floppy and it said I dont have the permission. Then, I su and do that again. Then umount the drive. Exit from su to return to a normal user. And I tried the above command again and this time I successfully mounted the drive. Is this normal? --- Choy Kho Yee url: http://dotkoyi.infoseek.ne.jp/ blog: http://dotkoyi.blogspot.com/ Have you had your apple today? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mounting ntfs drive fails
Hey, I have a primary master disk drive which has winxp installed and is ad0s1 My secondary slave drive is ad2: a) ad2s1 slice is a ntfs partition and b) ad2s2a-f is freebsd! I can mount without problems the ntfs slice ad2s1 When I try to mount my primary master which has xp installed I get the following error in /var/log/messages: Jan 27 13:13:53 lucifer /kernel: ad0s1: slice extends beyond end of disk: truncating from 78140097 to 4408785 sectors Jan 27 13:13:53 lucifer /kernel: ntfs_loadntnode: BREAD FAILED Jan 27 13:13:53 lucifer /kernel: ntfs_vget: CAN'T LOAD ATTRIBUTES FOR INO: 0 What can I do to solve the problem? Thanks a lot Didier To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message