Re: mounting ext2fs
Julian H. Stacey j...@berklix.com wrote: what does lsvfs show ? Maybe try: dd if=/dev/da0s1 count=20 of=/tmp/t ; file /tmp/t (it show interesting stuff on my /xp anyway ). Easier: file -s /dev/da0s1 ___ 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 ext2fs
El día Thursday, April 19, 2012 a las 09:42:22AM -0700, per...@pluto.rain.com escribió: Julian H. Stacey j...@berklix.com wrote: what does lsvfs show ? Maybe try: dd if=/dev/da0s1 count=20 of=/tmp/t ; file /tmp/t (it show interesting stuff on my /xp anyway ). Easier: file -s /dev/da0s1 gives now: # file -s /dev/da0s1 /dev/da0s1: Linux rev 1.0 ext2 filesystem data (mounted or unclean) and /dev/da0s1 is mounted: # mount | fgrep /dev/da0s1 /dev/da0s1 on /mnt (ext2fs, local) the problem with (this) cardreader seems to be that the card must already inserted at boot time; a later switch to another card, for example from a card with 'msdosfs' to a card with 'ext2fs', gives the problem in my first mail; don't know if this is a bug or feature :-) ext2fs.ko is loaded automagically by mount(8); I do not load it at boot, but after the mount(8) it was loaded; matthias -- Matthias Apitz e g...@unixarea.de - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 ___ 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 ext2fs
On Thu, 19 Apr 2012, Matthias Apitz wrote: the problem with (this) cardreader seems to be that the card must already inserted at boot time; a later switch to another card, for example from a card with 'msdosfs' to a card with 'ext2fs', gives the problem in my first mail; don't know if this is a bug or feature :-) Try forced retasting after loading a card. true /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 ext2fs
Warren Block wbl...@wonkity.com wrote: On Thu, 19 Apr 2012, Matthias Apitz wrote: the problem with (this) cardreader seems to be that the card must already inserted at boot time; a later switch to another card, for example from a card with 'msdosfs' to a card with 'ext2fs', gives the problem in my first mail; don't know if this is a bug or feature :-) Try forced retasting after loading a card. true /dev/da0 and/or unplugging/replugging the reader, if it is hot-pluggable (e.g. USB). ___ 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
mounting ext2fs
Hello, I'm trying to mount an ext2fs in 10-CURRENT with: # fdisk /dev/da0 *** Working on device /dev/da0 *** parameters extracted from in-core disklabel are: cylinders=486 heads=64 sectors/track=32 (2048 blks/cyl) parameters to be used for BIOS calculations are: cylinders=486 heads=64 sectors/track=32 (2048 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 131 (0x83),(Linux native) start 235, size 996117 (486 Meg), flag 80 (active) beg: cyl 0/ head 3/ sector 47; end: cyl 988/ head 7/ sector 7 The data for partition 2 is: UNUSED ... # mount -t ext2fs /dev/da0s1 /mnt mount: /dev/da0s1 : Invalid argument # ls -l /dev/da0s1 crw-r- 1 root operator 0x66 18 abr 11:33 /dev/da0s1 # kldload ext2fs kldload: can't load ext2fs: File exists What I'm doing wrong. The filesystem itself is fine in Linux. Thanks matthias -- Matthias Apitz e g...@unixarea.de - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 ___ 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 ext2fs
# kldload ext2fs kldload: can't load ext2fs: File exists what does lsvfs show ? Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, indent with . Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. Mail from @yahoo dumped @berklix. http://berklix.org/yahoo/ ___ 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 ext2fs
what does lsvfs show ? Maybe try: dd if=/dev/da0s1 count=20 of=/tmp/t ; file /tmp/t (it show interesting stuff on my /xp anyway ). Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, indent with . Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. Mail from @yahoo dumped @berklix. http://berklix.org/yahoo/ ___ 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 ext2fs
what does lsvfs show ? Maybe try: dd if=/dev/da0s1 count=20 of=/tmp/t ; file /tmp/t (it show interesting stuff on my /xp anyway ). kldstat # I guess that shows you have the module linked in too ? or else already compiled in config -x /boot/kernel/kernel | grep ext so a puzzle if all that looks good but still doesnt work. Good luck ! Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, indent with . Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. Mail from @yahoo dumped @berklix. http://berklix.org/yahoo/ ___ 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: (solved) Re: Problem mounting EXT2FS
On Tue, Aug 25, 2009 at 12:17 AM, Jeronimo Calvojeronimocal...@googlemail.com wrote: Thanks a lot fellas!! problem resolved!!! Did you try to unmount the filesystem? I applied the patch against 7.2-RELEASE-p3 and I can't unmount it: Device busy. Anyone else with this problem? Cheers On 24/08/2009, Gonzalo Nemmi gne...@gmail.com wrote: On Monday 24 August 2009 6:44:24 pm Jeronimo Calvo wrote: True you are right... I was using the incorrect syntax and the incorrect word hehehhe well I did try as well using the correct procedure: Thats the result (mounted but not accesible) [root@ /media/DATOSWIN]# mount /dev/ad8s1a on / (ufs, local) devfs on /dev (devfs, local) /dev/ad8s1e on /tmp (ufs, local, soft-updates) /dev/ad8s1f on /usr (ufs, local, soft-updates) /dev/ad8s1d on /var (ufs, local, soft-updates) /dev/ntfs/DATOSWIN on /media/DATOSWIN (ntfs, local, nosuid) [root@ /media/DATOSWIN]# *mount -t ext2fs /dev/ad6s1 /ext2* [root@ /media/DATOSWIN]# cd /ext2 *bash: cd: /ext2: Not a directory* [root@ /media/DATOSWIN]# ls -la /ext2 *ls: /ext2: Bad file descriptor* [root@ /media/DATOSWIN]# Here's the problem: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/124621 Here's how to solve it: http://forums.freebsd.org/showthread.php?t=912highlight=ext2fs 2009/8/24 Polytropon free...@edvax.de Maybe just malquoted, but... On Mon, 24 Aug 2009 20:20:29 +, Jeronimo Calvo jeronimocal...@googlemail.com wrote: # mount -t extfs2 /dev/ad6s1 /ext2 mount: /dev/ad6s1 : Operation not supported by device The command should include -t ext2fs, not extfs2, as far as I remember. I haven't run Linux for almost 10 years now... I tried several times, with not luck, one of those times i was able to mount it, but not to access it, when i tried to cd /ext2 (folder when is mounted) system tells me that ext2 is not a folder... There are no folders in the UNIX file system hierarchy. The things you're mentioning are called directories. I know, that's just terminology, but it's important to use the correct words context-wise. You don't call the files sheets of paper, do you? :-) -- 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 -- Blessings Gonzalo Nemmi ___ 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 ___ 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 EXT2FS
Jeronimo Calvo wrote: Hi folks, im migrating from Linux to BSD, and i found my first problem... First of all, i did save my /home from my old Linux distribution on another HD, ext2fs partition /dev/ad6s1... I can correctly see the drive from sysinstall. I read about compiling the KERNEL in order to add Ext2fs support under Freebsd, wich I did... Adding the line: Quote: options EXT2FS looking like this: Quote: options KBD_INSTALL_CDEV # install a CDEV entry in /dev options ADAPTIVE_GIANT # Giant mutex is adaptive. options STOP_NMI # Stop CPUS using NMI instead of IPI options AUDIT # Security event auditing #options KDTRACE_FRAME # Ensure frames are compiled in *options EXT2FS* #options KDTRACE_HOOKS # Kernel DTrace hooks After this i recompiled the kernel and installed... Quote: # uname -a FreeBSD 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Mon Aug 24 18:59:43 UTC 2009 iscariote@:/usr/obj/usr/src/sys/MYKERNEL amd64 Well... everything should be ready now to mount my ext2fs partition... Using the following command... Quote: # mount /dev/ad8s1a on / (ufs, local) devfs on /dev (devfs, local) /dev/ad8s1e on /tmp (ufs, local, soft-updates) /dev/ad8s1f on /usr (ufs, local, soft-updates) /dev/ad8s1d on /var (ufs, local, soft-updates) /dev/ntfs/DATOSWIN on /media/DATOSWIN (ntfs, local, nosuid) # mount -t extfs2 /dev/ad6s1 /ext2 mount: /dev/ad6s1 : Operation not supported by device I tried several times, with not luck, one of those times i was able to mount it, but not to access it, when i tried to cd /ext2 (folder when is mounted) system tells me that ext2 is not a folder... any ideas??? Thanks in advance!! ___ 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 besides, I think it's ext2fs, not extfs2... Typo? greetz, Mark signature.asc Description: OpenPGP digital signature
Re: Problem mounting EXT2FS
Actually, im just compile it and restart it... seems to be working fine now... By the way... who do i do that?? is that necessary? cheers! 2009/8/25 Mark Stapper st...@mapper.nl Jeronimo Calvo wrote: Hi folks, im migrating from Linux to BSD, and i found my first problem... First of all, i did save my /home from my old Linux distribution on another HD, ext2fs partition /dev/ad6s1... I can correctly see the drive from sysinstall. I read about compiling the KERNEL in order to add Ext2fs support under Freebsd, wich I did... Adding the line: Quote: options EXT2FS looking like this: Quote: options KBD_INSTALL_CDEV # install a CDEV entry in /dev options ADAPTIVE_GIANT # Giant mutex is adaptive. options STOP_NMI # Stop CPUS using NMI instead of IPI options AUDIT # Security event auditing #options KDTRACE_FRAME # Ensure frames are compiled in *options EXT2FS* #options KDTRACE_HOOKS # Kernel DTrace hooks After this i recompiled the kernel and installed... Quote: # uname -a FreeBSD 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Mon Aug 24 18:59:43 UTC 2009 iscariote@:/usr/obj/usr/src/sys/MYKERNEL amd64 Well... everything should be ready now to mount my ext2fs partition... Using the following command... Quote: # mount /dev/ad8s1a on / (ufs, local) devfs on /dev (devfs, local) /dev/ad8s1e on /tmp (ufs, local, soft-updates) /dev/ad8s1f on /usr (ufs, local, soft-updates) /dev/ad8s1d on /var (ufs, local, soft-updates) /dev/ntfs/DATOSWIN on /media/DATOSWIN (ntfs, local, nosuid) # mount -t extfs2 /dev/ad6s1 /ext2 mount: /dev/ad6s1 : Operation not supported by device I tried several times, with not luck, one of those times i was able to mount it, but not to access it, when i tried to cd /ext2 (folder when is mounted) system tells me that ext2 is not a folder... any ideas??? Thanks in advance!! ___ 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 Did you recompile world as well? You might also want to install sysutils/e2fsprogs. I have not done this myself yet though... Hope it helps. Mark ___ 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 EXT2FS
hi Mark! Im using FreeBSD 7.2-RELEASE... but im not sure about the userland, is currently fresh installed, just compiled the KERNEL to add ext2fs support and installed the patch for the 256-inode... nothing else... But I will take your advise and upgrade my kernel to STABLE (as I think it will be funny as well, ur not the one geek here I suposse hahahaha) I will need to get some more knowledge about userland... :D Will check up ur links fella! btw, if u find anything else new-bie related... send me as well!! Cheers! 2009/8/25 Mark Stapper st...@mapper.nl Jeronimo Calvo wrote: Actually, im just compile it and restart it... seems to be working fine now... By the way... who do i do that?? is that necessary? cheers! well, if you have the RELEASE source, and the RELEASE userland there is no problem. However if you have the STABLE source and the RELEASE userland there could be incompatible behaviour. Upgrading your kernel to the STABLE release is generally a good idea. For more info check: http://www.freebsd.org/doc/en/books/handbook/kernelconfig.html and http://www.freebsd.org/doc/en/books/handbook/synching.html and http://www.freebsd.org/doc/en/books/handbook/makeworld.html Be sure to make backups, as the way to recover is very different from Linux. Have fun! (Yes, I consider compiling your own kernel and userland to be fun) Greetz, Mark ___ 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 EXT2FS
Jeronimo Calvo wrote: hi Mark! Im using FreeBSD 7.2-RELEASE... but im not sure about the userland, is currently fresh installed, just compiled the KERNEL to add ext2fs support and installed the patch for the 256-inode... nothing else... But I will take your advise and upgrade my kernel to STABLE (as I think it will be funny as well, ur not the one geek here I suposse hahahaha) Don't forget to reapply the ext2 patch... ;-) I will need to get some more knowledge about userland... :D the userland is just the collection of base applications or base distribution. Will check up ur links fella! btw, if u find anything else new-bie related... send me as well!! Just read all the chapters listed here: http://www.freebsd.org/doc/en/books/handbook/ ;-) signature.asc Description: OpenPGP digital signature
Re: Problem mounting EXT2FS
I have as well this in the other hand: heheheh, THE BIBLE! [image: 51dtdR9r6RL._SL500_AA240_.jpg] 2009/8/25 Mark Stapper st...@mapper.nl Jeronimo Calvo wrote: hi Mark! Im using FreeBSD 7.2-RELEASE... but im not sure about the userland, is currently fresh installed, just compiled the KERNEL to add ext2fs support and installed the patch for the 256-inode... nothing else... But I will take your advise and upgrade my kernel to STABLE (as I think it will be funny as well, ur not the one geek here I suposse hahahaha) Don't forget to reapply the ext2 patch... ;-) I will need to get some more knowledge about userland... :D the userland is just the collection of base applications or base distribution. Will check up ur links fella! btw, if u find anything else new-bie related... send me as well!! Just read all the chapters listed here: http://www.freebsd.org/doc/en/books/handbook/ ;-) ___ 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 EXT2FS
On Tue, 25 Aug 2009 13:33:59 +0200, Mark Stapper st...@mapper.nl wrote: Don't forget to reapply the ext2 patch... ;-) And of course keep in mind that kernel and world (userland) have to be of the same version, e. g. if you upgrade your sources to 7-STABLE, recompile kernel and world and install them. You'll find a handy procedure for that in the handbook. the userland is just the collection of base applications or base distribution. It can be called only the OS, too. :-) Just read all the chapters listed here: http://www.freebsd.org/doc/en/books/handbook/ ;-) At leasst, keep it near yourself. Most ordinary problems can be solved or even avoided by sticking to what the handbook says. -- 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
Problem mounting EXT2FS
Hi folks, im migrating from Linux to BSD, and i found my first problem... First of all, i did save my /home from my old Linux distribution on another HD, ext2fs partition /dev/ad6s1... I can correctly see the drive from sysinstall. I read about compiling the KERNEL in order to add Ext2fs support under Freebsd, wich I did... Adding the line: Quote: options EXT2FS looking like this: Quote: options KBD_INSTALL_CDEV # install a CDEV entry in /dev options ADAPTIVE_GIANT # Giant mutex is adaptive. options STOP_NMI # Stop CPUS using NMI instead of IPI options AUDIT # Security event auditing #options KDTRACE_FRAME # Ensure frames are compiled in *options EXT2FS* #options KDTRACE_HOOKS # Kernel DTrace hooks After this i recompiled the kernel and installed... Quote: # uname -a FreeBSD 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Mon Aug 24 18:59:43 UTC 2009 iscariote@:/usr/obj/usr/src/sys/MYKERNEL amd64 Well... everything should be ready now to mount my ext2fs partition... Using the following command... Quote: # mount /dev/ad8s1a on / (ufs, local) devfs on /dev (devfs, local) /dev/ad8s1e on /tmp (ufs, local, soft-updates) /dev/ad8s1f on /usr (ufs, local, soft-updates) /dev/ad8s1d on /var (ufs, local, soft-updates) /dev/ntfs/DATOSWIN on /media/DATOSWIN (ntfs, local, nosuid) # mount -t extfs2 /dev/ad6s1 /ext2 mount: /dev/ad6s1 : Operation not supported by device I tried several times, with not luck, one of those times i was able to mount it, but not to access it, when i tried to cd /ext2 (folder when is mounted) system tells me that ext2 is not a folder... any ideas??? Thanks in advance!! ___ 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 EXT2FS
Judging by your uname output, the #0 should be #1 if it's reading a re- compiled kernel. I would double check that you used the proper KERNCONF for make buildkernel and make installkernel. For example, I recompiled my kernel and note the output: [r...@arthur /var/account]# uname -a FreeBSD arthur.silvertree.org 7.2-RELEASE-p3 FreeBSD 7.2-RELEASE-p3 #1: Fri Aug 14 13:27:47 PDT 2009 r...@arthur.silvertree.org:/usr/ obj/usr/src/sys/ARTHUR i386 See the #1? That shows me that the kernel has been recompiled once. The fact it says MYKERNEL for the kernel config, make sure that you copied GENERIC to MYKERNEL in /usr/src/sys/i386/conf/ I used the handbook and actually put ARTHUR in /root/kernels and in / usr/src/sys/i386/conf: [r...@arthur ~/kernels]# ls -la /usr/src/sys/i386/conf/ARTHUR lrwxr-xr-x 1 root wheel 20 Jul 29 07:57 /usr/src/sys/i386/conf/ ARTHUR - /root/kernels/ARTHUR I'd suggest that you didn't compile the right kernel config file. Another suggestion I used was to add in /etc/make.conf: KERNCONF=ARTHUR So add KERNCONF=MYKERNEL then copy /usr/src/sys/i386/conf/GENERIC to /usr/src/sys/i386/conf/MYKERNEL then edit MYKERNEL as needed and with that line in /etc/make.conf: cd /usr/src make buildkernel make installkernel shutdown -r now I may be off base, but I'd start with double checking the kernel config file used for buildkernel and installkernel. Scott On Aug 24, 2009, at 13:20:29, Jeronimo Calvo wrote: Hi folks, im migrating from Linux to BSD, and i found my first problem... First of all, i did save my /home from my old Linux distribution on another HD, ext2fs partition /dev/ad6s1... I can correctly see the drive from sysinstall. I read about compiling the KERNEL in order to add Ext2fs support under Freebsd, wich I did... Adding the line: Quote: options EXT2FS looking like this: Quote: options KBD_INSTALL_CDEV # install a CDEV entry in /dev options ADAPTIVE_GIANT # Giant mutex is adaptive. options STOP_NMI # Stop CPUS using NMI instead of IPI options AUDIT # Security event auditing #options KDTRACE_FRAME # Ensure frames are compiled in *options EXT2FS* #options KDTRACE_HOOKS # Kernel DTrace hooks After this i recompiled the kernel and installed... Quote: # uname -a FreeBSD 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Mon Aug 24 18:59:43 UTC 2009 iscariote@:/usr/obj/usr/src/sys/MYKERNEL amd64 Well... everything should be ready now to mount my ext2fs partition... Using the following command... Quote: # mount /dev/ad8s1a on / (ufs, local) devfs on /dev (devfs, local) /dev/ad8s1e on /tmp (ufs, local, soft-updates) /dev/ad8s1f on /usr (ufs, local, soft-updates) /dev/ad8s1d on /var (ufs, local, soft-updates) /dev/ntfs/DATOSWIN on /media/DATOSWIN (ntfs, local, nosuid) # mount -t extfs2 /dev/ad6s1 /ext2 mount: /dev/ad6s1 : Operation not supported by device I tried several times, with not luck, one of those times i was able to mount it, but not to access it, when i tried to cd /ext2 (folder when is mounted) system tells me that ext2 is not a folder... any ideas??? Thanks in advance!! ___ 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 ___ 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 EXT2FS
Maybe just malquoted, but... On Mon, 24 Aug 2009 20:20:29 +, Jeronimo Calvo jeronimocal...@googlemail.com wrote: # mount -t extfs2 /dev/ad6s1 /ext2 mount: /dev/ad6s1 : Operation not supported by device The command should include -t ext2fs, not extfs2, as far as I remember. I haven't run Linux for almost 10 years now... I tried several times, with not luck, one of those times i was able to mount it, but not to access it, when i tried to cd /ext2 (folder when is mounted) system tells me that ext2 is not a folder... There are no folders in the UNIX file system hierarchy. The things you're mentioning are called directories. I know, that's just terminology, but it's important to use the correct words context-wise. You don't call the files sheets of paper, do you? :-) -- 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: Problem mounting EXT2FS
True you are right... I was using the incorrect syntax and the incorrect word hehehhe well I did try as well using the correct procedure: Thats the result (mounted but not accesible) [root@ /media/DATOSWIN]# mount /dev/ad8s1a on / (ufs, local) devfs on /dev (devfs, local) /dev/ad8s1e on /tmp (ufs, local, soft-updates) /dev/ad8s1f on /usr (ufs, local, soft-updates) /dev/ad8s1d on /var (ufs, local, soft-updates) /dev/ntfs/DATOSWIN on /media/DATOSWIN (ntfs, local, nosuid) [root@ /media/DATOSWIN]# *mount -t ext2fs /dev/ad6s1 /ext2* [root@ /media/DATOSWIN]# cd /ext2 *bash: cd: /ext2: Not a directory* [root@ /media/DATOSWIN]# ls -la /ext2 *ls: /ext2: Bad file descriptor* [root@ /media/DATOSWIN]# 2009/8/24 Polytropon free...@edvax.de Maybe just malquoted, but... On Mon, 24 Aug 2009 20:20:29 +, Jeronimo Calvo jeronimocal...@googlemail.com wrote: # mount -t extfs2 /dev/ad6s1 /ext2 mount: /dev/ad6s1 : Operation not supported by device The command should include -t ext2fs, not extfs2, as far as I remember. I haven't run Linux for almost 10 years now... I tried several times, with not luck, one of those times i was able to mount it, but not to access it, when i tried to cd /ext2 (folder when is mounted) system tells me that ext2 is not a folder... There are no folders in the UNIX file system hierarchy. The things you're mentioning are called directories. I know, that's just terminology, but it's important to use the correct words context-wise. You don't call the files sheets of paper, do you? :-) -- 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
(solved) Re: Problem mounting EXT2FS
Thanks a lot fellas!! problem resolved!!! On 24/08/2009, Gonzalo Nemmi gne...@gmail.com wrote: On Monday 24 August 2009 6:44:24 pm Jeronimo Calvo wrote: True you are right... I was using the incorrect syntax and the incorrect word hehehhe well I did try as well using the correct procedure: Thats the result (mounted but not accesible) [root@ /media/DATOSWIN]# mount /dev/ad8s1a on / (ufs, local) devfs on /dev (devfs, local) /dev/ad8s1e on /tmp (ufs, local, soft-updates) /dev/ad8s1f on /usr (ufs, local, soft-updates) /dev/ad8s1d on /var (ufs, local, soft-updates) /dev/ntfs/DATOSWIN on /media/DATOSWIN (ntfs, local, nosuid) [root@ /media/DATOSWIN]# *mount -t ext2fs /dev/ad6s1 /ext2* [root@ /media/DATOSWIN]# cd /ext2 *bash: cd: /ext2: Not a directory* [root@ /media/DATOSWIN]# ls -la /ext2 *ls: /ext2: Bad file descriptor* [root@ /media/DATOSWIN]# Here's the problem: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/124621 Here's how to solve it: http://forums.freebsd.org/showthread.php?t=912highlight=ext2fs 2009/8/24 Polytropon free...@edvax.de Maybe just malquoted, but... On Mon, 24 Aug 2009 20:20:29 +, Jeronimo Calvo jeronimocal...@googlemail.com wrote: # mount -t extfs2 /dev/ad6s1 /ext2 mount: /dev/ad6s1 : Operation not supported by device The command should include -t ext2fs, not extfs2, as far as I remember. I haven't run Linux for almost 10 years now... I tried several times, with not luck, one of those times i was able to mount it, but not to access it, when i tried to cd /ext2 (folder when is mounted) system tells me that ext2 is not a folder... There are no folders in the UNIX file system hierarchy. The things you're mentioning are called directories. I know, that's just terminology, but it's important to use the correct words context-wise. You don't call the files sheets of paper, do you? :-) -- 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 -- Blessings Gonzalo Nemmi ___ 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 EXT2FS
On Monday 24 August 2009 6:44:24 pm Jeronimo Calvo wrote: True you are right... I was using the incorrect syntax and the incorrect word hehehhe well I did try as well using the correct procedure: Thats the result (mounted but not accesible) [root@ /media/DATOSWIN]# mount /dev/ad8s1a on / (ufs, local) devfs on /dev (devfs, local) /dev/ad8s1e on /tmp (ufs, local, soft-updates) /dev/ad8s1f on /usr (ufs, local, soft-updates) /dev/ad8s1d on /var (ufs, local, soft-updates) /dev/ntfs/DATOSWIN on /media/DATOSWIN (ntfs, local, nosuid) [root@ /media/DATOSWIN]# *mount -t ext2fs /dev/ad6s1 /ext2* [root@ /media/DATOSWIN]# cd /ext2 *bash: cd: /ext2: Not a directory* [root@ /media/DATOSWIN]# ls -la /ext2 *ls: /ext2: Bad file descriptor* [root@ /media/DATOSWIN]# Here's the problem: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/124621 Here's how to solve it: http://forums.freebsd.org/showthread.php?t=912highlight=ext2fs 2009/8/24 Polytropon free...@edvax.de Maybe just malquoted, but... On Mon, 24 Aug 2009 20:20:29 +, Jeronimo Calvo jeronimocal...@googlemail.com wrote: # mount -t extfs2 /dev/ad6s1 /ext2 mount: /dev/ad6s1 : Operation not supported by device The command should include -t ext2fs, not extfs2, as far as I remember. I haven't run Linux for almost 10 years now... I tried several times, with not luck, one of those times i was able to mount it, but not to access it, when i tried to cd /ext2 (folder when is mounted) system tells me that ext2 is not a folder... There are no folders in the UNIX file system hierarchy. The things you're mentioning are called directories. I know, that's just terminology, but it's important to use the correct words context-wise. You don't call the files sheets of paper, do you? :-) -- 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 -- Blessings Gonzalo Nemmi ___ 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 ext2fs partitions on FBSD7 ( third time a charm?)
# mount -t ext2fs /dev/ad0s8 /mnt/ # ls /mnt ls: /mnt: Bad file descriptor Weird. I can mount ext2fs on 7.0 (and previously on 6.0 and 6.2) and things mostly work. In the past I had ext2fs on both primary and extended slices (or whatever the preferred terminology is). This is on AMD64 with SATA drives. My ext2fs filesystems were created by Linux (32 bit Linux, since penguins can't count to 64). Are you sure that ad0s8 contains a valid ext2fs filesystem? Can Linux mount it and access it? Maybe try running fsck? What OS created (newfs/mkfs) the filesystem? Problems I have seen with ext2fs: There was some case where accessing a large ( 1 GB) file (rm-ing it I think?) hung or paniced FreeBSD. Small files are fine. Sometimes on boot FreeBSD would get confused and think the fext2fs needed to be fscked dispite a clean shutdown, but wasn't able to do so automagically, so it dropped into single user mode and sat there waiting for manual intervention. I no longer have ext2fs automatically mounted. There is probably some configuration fix for this. ext2fs is unreliable and LOSES DATA under it's native Linux. --- Linus Is Not a Unix eXpert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mounting ext2fs partitions on FBSD7 ( third time a charm?)
Hey, Have you, by any chance, tried and suceded at mounting ext2fs on FBSD7? If you did, at least I'd know that it _is_ possible :s It is possible, although I haven't used this on FreeBSD 7.0 yet (only on 5.x and 6.x releases). I'd also try this: mkdir /mnttest mount -t ext2fs /dev/ad0s8 /mnttest ls /mnttest file /mnttest ls -la / | grep mnttest and maybe also: fdisk /dev/ad0 Bye, Nejc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mounting ext2fs partitions on FBSD7 ( third time a charm?)
On Saturday 05 July 2008 01:37:26 Ryan Coleman wrote: Gonzalo Nemmi wrote: On Friday 04 July 2008 22:58:18 you wrote: Gonzalo Nemmi wrote: Could somebody please throw me a pointer ... i have followed every instruction on every book and/or how-to ... yet ... What am I doing wrong?? [EMAIL PROTECTED]:~ # uname -sr FreeBSD 7.0-RELEASE [EMAIL PROTECTED]:~ # kldstat Id Refs AddressSize Name 1 10 0xc040 4dd878 kernel 21 0xc08de000 7559b0 nvidia.ko 31 0xc1034000 6721cacpi.ko 41 0xc4a2e000 4000 logo_saver.ko 51 0xc5884000 1ext2fs.ko [EMAIL PROTECTED]:~ # mount -t ext2fs /dev/ad0s8 /mnt/ [EMAIL PROTECTED]:~ # ls /mnt ls: /mnt: Bad file descriptor [EMAIL PROTECTED]:~ # cd /mnt /mnt: Not a directory. [EMAIL PROTECTED]:~ # umount /mnt [EMAIL PROTECTED]:~ # cd /mnt [EMAIL PROTECTED]:/mnt # mount -t ext2fs /dev/ad0s8 . [EMAIL PROTECTED]:/mnt # ls ls: .: Not a directory [EMAIL PROTECTED]:/mnt # cd ~ [EMAIL PROTECTED]:~ # umount /mnt [EMAIL PROTECTED]:~ # file /mnt/ /mnt/: directory [EMAIL PROTECTED]:~ # cd /mnt [EMAIL PROTECTED]:/mnt # ls [EMAIL PROTECTED]:/mnt # dmesg says _nothing_ _Any_ hint will be more than welcome :) What does /var/log/messages say when you run mount -t ext2fs? Hi Ryan! And thanks for your help :) Unfortunately, just as much as dmesg, /var/log/messages says nothing :s Look: [EMAIL PROTECTED]:~ # date Sat Jul 5 00:39:39 ART 2008 [EMAIL PROTECTED]:~ # mount -t ext2fs /dev/ad0s8 /mnt/ [EMAIL PROTECTED]:~ # ls /mnt ls: /mnt: Bad file descriptor [EMAIL PROTECTED]:~ # cd /mnt /mnt: Not a directory. [EMAIL PROTECTED]:~ # cat /var/log/messages | tail -5 Jul 4 20:21:13 inferna su: gonzalo to root on /dev/ttyp2 Jul 4 20:38:34 inferna kernel: linux: pid 8503 (doom.x86): ioctl fd=17, cmd=0x5801 ('X',1) is not implemented Jul 4 20:47:28 inferna kernel: pid 8511 (doom.x86), uid 1001: exited on signal 11 Jul 4 23:54:48 inferna su: gonzalo to root on /dev/ttyp3 Jul 5 00:38:24 inferna su: gonzalo to root on /dev/ttyp2 [EMAIL PROTECTED]:~ # umount /mnt [EMAIL PROTECTED]:~ # cat /var/log/messages | tail -5 Jul 4 20:21:13 inferna su: gonzalo to root on /dev/ttyp2 Jul 4 20:38:34 inferna kernel: linux: pid 8503 (doom.x86): ioctl fd=17, cmd=0x5801 ('X',1) is not implemented Jul 4 20:47:28 inferna kernel: pid 8511 (doom.x86), uid 1001: exited on signal 11 Jul 4 23:54:48 inferna su: gonzalo to root on /dev/ttyp3 Jul 5 00:38:24 inferna su: gonzalo to root on /dev/ttyp2 [EMAIL PROTECTED]:~ # Have you, by any chance, tried and suceded at mounting ext2fs on FBSD7? If you did, at least I'd know that it _is_ possible :s Thanks :) No, I thought maybe there was something there I could help with I haven't used ext/ext2/ext3 since I dumped RHL in 2003. Sure, i understand ... Thanks for your help anyways :) -- Blessings Gonzalo Nemmi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mounting ext2fs partitions on FBSD7 ( third time a charm?)
On Saturday 05 July 2008 03:24:53 Nejc Škoberne wrote: Hey, Have you, by any chance, tried and suceded at mounting ext2fs on FBSD7? If you did, at least I'd know that it _is_ possible :s It is possible, although I haven't used this on FreeBSD 7.0 yet (only on 5.x and 6.x releases). I'd also try this: mkdir /mnttest mount -t ext2fs /dev/ad0s8 /mnttest ls /mnttest file /mnttest ls -la / | grep mnttest and maybe also: fdisk /dev/ad0 Bye, Nejc No luck :( Exactly the same results ... Just in case you can see something that I don't, here you go: [EMAIL PROTECTED]:~ # fdisk /dev/ad0 *** Working on device /dev/ad0 *** parameters extracted from in-core disklabel are: cylinders=387621 heads=16 sectors/track=63 (1008 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=387621 heads=16 sectors/track=63 (1008 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 131 (0x83),(Linux native) start 63, size 102398247 (4 Meg), flag 0 beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 254/ sector 63 The data for partition 2 is: sysid 5 (0x05),(Extended DOS) start 102398310, size 106446690 (51975 Meg), flag 0 beg: cyl 1023/ head 0/ sector 1; end: cyl 1023/ head 254/ sector 63 The data for partition 3 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 208845000, size 41929650 (20473 Meg), flag 0 beg: cyl 1023/ head 0/ sector 1; end: cyl 1023/ head 254/ sector 63 The data for partition 4 is: sysid 7 (0x07),(OS/2 HPFS, NTFS, QNX-2 (16 bit) or Advanced UNIX) start 250774650, size 139926150 (68323 Meg), flag 80 (active) beg: cyl 1023/ head 0/ sector 1; end: cyl 1023/ head 254/ sector 63 [EMAIL PROTECTED]:~ # Thanks for your help :) -- Blessings Gonzalo Nemmi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mounting ext2fs partitions on FBSD7 ( third time a charm?)
On Sat, Jul 05, 2008 at 05:46:09AM -0300, Gonzalo Nemmi wrote: On Saturday 05 July 2008 03:24:53 Nejc Škoberne wrote: Hey, Have you, by any chance, tried and suceded at mounting ext2fs on FBSD7? If you did, at least I'd know that it _is_ possible :s It is possible, although I haven't used this on FreeBSD 7.0 yet (only on 5.x and 6.x releases). I'd also try this: mkdir /mnttest mount -t ext2fs /dev/ad0s8 /mnttest ls /mnttest file /mnttest ls -la / | grep mnttest and maybe also: fdisk /dev/ad0 Bye, Nejc No luck :( Exactly the same results ... Just in case you can see something that I don't, here you go: [EMAIL PROTECTED]:~ # fdisk /dev/ad0 *** Working on device /dev/ad0 *** parameters extracted from in-core disklabel are: cylinders=387621 heads=16 sectors/track=63 (1008 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=387621 heads=16 sectors/track=63 (1008 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 131 (0x83),(Linux native) start 63, size 102398247 (4 Meg), flag 0 beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 254/ sector 63 Looks like you should try mount -t ext2fs /dev/ad0s1 /mnt 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) pgpjr3mfTxXGD.pgp Description: PGP signature
Re: mounting ext2fs partitions on FBSD7 ( third time a charm?)
Hey, ls -la / | grep mnttest Can you paste output of this command? sysid 5 (0x05),(Extended DOS) start 102398310, size 106446690 (51975 Meg), flag 0 beg: cyl 1023/ head 0/ sector 1; end: cyl 1023/ head 254/ sector 63 So the partition you're trying to mount is under an extended partition. Can you do ls -la /dev/ad0* and provide us with the output? Bye, Nejc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mounting ext2fs partitions on FBSD7 ( third time a charm?)
On Saturday 05 July 2008 06:01:36 you wrote: Hey, ls -la / | grep mnttest Can you paste output of this command? sysid 5 (0x05),(Extended DOS) start 102398310, size 106446690 (51975 Meg), flag 0 beg: cyl 1023/ head 0/ sector 1; end: cyl 1023/ head 254/ sector 63 So the partition you're trying to mount is under an extended partition. Can you do ls -la /dev/ad0* and provide us with the output? Bye, Nejc Sure thing ! Here you go: [EMAIL PROTECTED]:~ # ls -la /dev/ad0* crw-r- 1 root operator0, 80 Jul 3 20:27 /dev/ad0 crw-r- 1 root operator0, 81 Jul 3 20:27 /dev/ad0s1 crw-r- 1 root operator0, 82 Jul 3 20:27 /dev/ad0s2 crw-r- 1 root operator0, 83 Jul 3 20:27 /dev/ad0s3 crw-r- 1 root operator0, 90 Jul 3 22:27 /dev/ad0s3a crw-r- 1 root operator0, 91 Jul 3 22:27 /dev/ad0s3b crw-r- 1 root operator0, 92 Jul 3 20:27 /dev/ad0s3c crw-r- 1 root operator0, 93 Jul 3 22:27 /dev/ad0s3d crw-r- 1 root operator0, 94 Jul 3 22:27 /dev/ad0s3e crw-r- 1 root operator0, 95 Jul 3 22:27 /dev/ad0s3f crw-r- 1 root operator0, 84 Jul 3 20:27 /dev/ad0s4 crw-r- 1 root operator0, 86 Jul 3 20:27 /dev/ad0s5 crw-r- 1 root operator0, 87 Jul 3 20:27 /dev/ad0s6 crw-r- 1 root operator0, 88 Jul 3 20:27 /dev/ad0s7 crw-r- 1 root operator0, 89 Jul 3 20:27 /dev/ad0s8 [EMAIL PROTECTED]:~ # mkdir /mnttest [EMAIL PROTECTED]:~ # mount -t ext2fs /dev/ad0s8 /mnttest [EMAIL PROTECTED]:~ # ls /mnttest ls: /mnttest: Bad file descriptor [EMAIL PROTECTED]:~ # file /mnttest /mnttest: cannot open `/mnttest' (Bad file descriptor) [EMAIL PROTECTED]:~ # ls -la / | grep mnttest ls: mnttest: Bad file descriptor [EMAIL PROTECTED]:~ # dmesg | tail -5 re0: link state changed to DOWN re0: link state changed to UP pid 41456 (kdeinit), uid 1001 inumber 14 on /tmp: filesystem full linux: pid 8503 (doom.x86): ioctl fd=17, cmd=0x5801 ('X',1) is not implemented pid 8511 (doom.x86), uid 1001: exited on signal 11 [EMAIL PROTECTED]:~ # umount /mnttest [EMAIL PROTECTED]:~ # dmesg | tail -5 re0: link state changed to DOWN re0: link state changed to UP pid 41456 (kdeinit), uid 1001 inumber 14 on /tmp: filesystem full linux: pid 8503 (doom.x86): ioctl fd=17, cmd=0x5801 ('X',1) is not implemented pid 8511 (doom.x86), uid 1001: exited on signal 11 [EMAIL PROTECTED]:~ # Thanks a lot for your help and interest :) -- Blessings Gonzalo Nemmi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mounting ext2fs partitions on FBSD7 ( third time a charm?)
On Saturday 05 July 2008 05:59:42 Roland Smith wrote: mount -t ext2fs /dev/ad0s1 /mnt [EMAIL PROTECTED]:~ # mount -t ext2fs /dev/ad0s1 /mnt [EMAIL PROTECTED]:~ # ls /mnt ls: /mnt: Bad file descriptor [EMAIL PROTECTED]:~ # ls -la / | grep /mnt ls: mnt: Bad file descriptor [EMAIL PROTECTED]:~ # dmesg | tail -5 re0: link state changed to DOWN re0: link state changed to UP pid 41456 (kdeinit), uid 1001 inumber 14 on /tmp: filesystem full linux: pid 8503 (doom.x86): ioctl fd=17, cmd=0x5801 ('X',1) is not implemented pid 8511 (doom.x86), uid 1001: exited on signal 11 [EMAIL PROTECTED]:~ # Thanks for your help Roland :) -- Blessings Gonzalo Nemmi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mounting ext2fs partitions on FBSD7 ( third time a charm?)
On Saturday 05 July 2008 06:01:36 Nejc Škoberne wrote: Hey, ls -la / | grep mnttest Can you paste output of this command? sysid 5 (0x05),(Extended DOS) start 102398310, size 106446690 (51975 Meg), flag 0 beg: cyl 1023/ head 0/ sector 1; end: cyl 1023/ head 254/ sector 63 So the partition you're trying to mount is under an extended partition. Can you do ls -la /dev/ad0* and provide us with the output? Bye, Nejc Here you have a more complete output: [EMAIL PROTECTED]:~ # mkdir /mnttest [EMAIL PROTECTED]:~ # ls -la / | grep mnttest drwxr-xr-x 2 root wheel 512 Jul 5 17:16 mnttest [EMAIL PROTECTED]:~ # mount -t ext2fs /dev/ad0s8 /mnttest [EMAIL PROTECTED]:~ # ls /mnttest ls: /mnttest: Bad file descriptor [EMAIL PROTECTED]:~ # file /mnttest /mnttest: cannot open `/mnttest' (Bad file descriptor) [EMAIL PROTECTED]:~ # ls -la / | grep mnttest ls: mnttest: Bad file descriptor [EMAIL PROTECTED]:~ # dmesg | tail -5 re0: link state changed to DOWN re0: link state changed to UP pid 41456 (kdeinit), uid 1001 inumber 14 on /tmp: filesystem full linux: pid 8503 (doom.x86): ioctl fd=17, cmd=0x5801 ('X',1) is not implemented pid 8511 (doom.x86), uid 1001: exited on signal 11 [EMAIL PROTECTED]:~ # umount /mnttest [EMAIL PROTECTED]:~ # ls /mnttest [EMAIL PROTECTED]:~ # file /mnttest /mnttest: directory [EMAIL PROTECTED]:~ # ls -la / | grep mnttest drwxr-xr-x 2 root wheel 512 Jul 5 17:16 mnttest [EMAIL PROTECTED]:~ # dmesg | tail -5 re0: link state changed to DOWN re0: link state changed to UP pid 41456 (kdeinit), uid 1001 inumber 14 on /tmp: filesystem full linux: pid 8503 (doom.x86): ioctl fd=17, cmd=0x5801 ('X',1) is not implemented pid 8511 (doom.x86), uid 1001: exited on signal 11 [EMAIL PROTECTED]:~ # Hope it clarifies sonething more Thanks for helping Nejc :) -- Blessings Gonzalo Nemmi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mounting ext2fs partitions on FBSD7 ( third time a charm?)
Could somebody please throw me a pointer ... i have followed every instruction on every book and/or how-to ... yet ... What am I doing wrong?? [EMAIL PROTECTED]:~ # uname -sr FreeBSD 7.0-RELEASE [EMAIL PROTECTED]:~ # kldstat Id Refs AddressSize Name 1 10 0xc040 4dd878 kernel 21 0xc08de000 7559b0 nvidia.ko 31 0xc1034000 6721cacpi.ko 41 0xc4a2e000 4000 logo_saver.ko 51 0xc5884000 1ext2fs.ko [EMAIL PROTECTED]:~ # mount -t ext2fs /dev/ad0s8 /mnt/ [EMAIL PROTECTED]:~ # ls /mnt ls: /mnt: Bad file descriptor [EMAIL PROTECTED]:~ # cd /mnt /mnt: Not a directory. [EMAIL PROTECTED]:~ # umount /mnt [EMAIL PROTECTED]:~ # cd /mnt [EMAIL PROTECTED]:/mnt # mount -t ext2fs /dev/ad0s8 . [EMAIL PROTECTED]:/mnt # ls ls: .: Not a directory [EMAIL PROTECTED]:/mnt # cd ~ [EMAIL PROTECTED]:~ # umount /mnt [EMAIL PROTECTED]:~ # file /mnt/ /mnt/: directory [EMAIL PROTECTED]:~ # cd /mnt [EMAIL PROTECTED]:/mnt # ls [EMAIL PROTECTED]:/mnt # dmesg says _nothing_ _Any_ hint will be more than welcome :) -- Blessings Gonzalo Nemmi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mounting ext2fs partitions on FBSD7 ( third time a charm?)
Gonzalo Nemmi wrote: Could somebody please throw me a pointer ... i have followed every instruction on every book and/or how-to ... yet ... What am I doing wrong?? [EMAIL PROTECTED]:~ # uname -sr FreeBSD 7.0-RELEASE [EMAIL PROTECTED]:~ # kldstat Id Refs AddressSize Name 1 10 0xc040 4dd878 kernel 21 0xc08de000 7559b0 nvidia.ko 31 0xc1034000 6721cacpi.ko 41 0xc4a2e000 4000 logo_saver.ko 51 0xc5884000 1ext2fs.ko [EMAIL PROTECTED]:~ # mount -t ext2fs /dev/ad0s8 /mnt/ [EMAIL PROTECTED]:~ # ls /mnt ls: /mnt: Bad file descriptor [EMAIL PROTECTED]:~ # cd /mnt /mnt: Not a directory. [EMAIL PROTECTED]:~ # umount /mnt [EMAIL PROTECTED]:~ # cd /mnt [EMAIL PROTECTED]:/mnt # mount -t ext2fs /dev/ad0s8 . [EMAIL PROTECTED]:/mnt # ls ls: .: Not a directory [EMAIL PROTECTED]:/mnt # cd ~ [EMAIL PROTECTED]:~ # umount /mnt [EMAIL PROTECTED]:~ # file /mnt/ /mnt/: directory [EMAIL PROTECTED]:~ # cd /mnt [EMAIL PROTECTED]:/mnt # ls [EMAIL PROTECTED]:/mnt # dmesg says _nothing_ _Any_ hint will be more than welcome :) What does /var/log/messages say when you run mount -t ext2fs? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mounting ext2fs partitions on FBSD7 ( third time a charm?)
On Friday 04 July 2008 22:58:18 you wrote: Gonzalo Nemmi wrote: Could somebody please throw me a pointer ... i have followed every instruction on every book and/or how-to ... yet ... What am I doing wrong?? [EMAIL PROTECTED]:~ # uname -sr FreeBSD 7.0-RELEASE [EMAIL PROTECTED]:~ # kldstat Id Refs AddressSize Name 1 10 0xc040 4dd878 kernel 21 0xc08de000 7559b0 nvidia.ko 31 0xc1034000 6721cacpi.ko 41 0xc4a2e000 4000 logo_saver.ko 51 0xc5884000 1ext2fs.ko [EMAIL PROTECTED]:~ # mount -t ext2fs /dev/ad0s8 /mnt/ [EMAIL PROTECTED]:~ # ls /mnt ls: /mnt: Bad file descriptor [EMAIL PROTECTED]:~ # cd /mnt /mnt: Not a directory. [EMAIL PROTECTED]:~ # umount /mnt [EMAIL PROTECTED]:~ # cd /mnt [EMAIL PROTECTED]:/mnt # mount -t ext2fs /dev/ad0s8 . [EMAIL PROTECTED]:/mnt # ls ls: .: Not a directory [EMAIL PROTECTED]:/mnt # cd ~ [EMAIL PROTECTED]:~ # umount /mnt [EMAIL PROTECTED]:~ # file /mnt/ /mnt/: directory [EMAIL PROTECTED]:~ # cd /mnt [EMAIL PROTECTED]:/mnt # ls [EMAIL PROTECTED]:/mnt # dmesg says _nothing_ _Any_ hint will be more than welcome :) What does /var/log/messages say when you run mount -t ext2fs? Hi Ryan! And thanks for your help :) Unfortunately, just as much as dmesg, /var/log/messages says nothing :s Look: [EMAIL PROTECTED]:~ # date Sat Jul 5 00:39:39 ART 2008 [EMAIL PROTECTED]:~ # mount -t ext2fs /dev/ad0s8 /mnt/ [EMAIL PROTECTED]:~ # ls /mnt ls: /mnt: Bad file descriptor [EMAIL PROTECTED]:~ # cd /mnt /mnt: Not a directory. [EMAIL PROTECTED]:~ # cat /var/log/messages | tail -5 Jul 4 20:21:13 inferna su: gonzalo to root on /dev/ttyp2 Jul 4 20:38:34 inferna kernel: linux: pid 8503 (doom.x86): ioctl fd=17, cmd=0x5801 ('X',1) is not implemented Jul 4 20:47:28 inferna kernel: pid 8511 (doom.x86), uid 1001: exited on signal 11 Jul 4 23:54:48 inferna su: gonzalo to root on /dev/ttyp3 Jul 5 00:38:24 inferna su: gonzalo to root on /dev/ttyp2 [EMAIL PROTECTED]:~ # umount /mnt [EMAIL PROTECTED]:~ # cat /var/log/messages | tail -5 Jul 4 20:21:13 inferna su: gonzalo to root on /dev/ttyp2 Jul 4 20:38:34 inferna kernel: linux: pid 8503 (doom.x86): ioctl fd=17, cmd=0x5801 ('X',1) is not implemented Jul 4 20:47:28 inferna kernel: pid 8511 (doom.x86), uid 1001: exited on signal 11 Jul 4 23:54:48 inferna su: gonzalo to root on /dev/ttyp3 Jul 5 00:38:24 inferna su: gonzalo to root on /dev/ttyp2 [EMAIL PROTECTED]:~ # Have you, by any chance, tried and suceded at mounting ext2fs on FBSD7? If you did, at least I'd know that it _is_ possible :s Thanks :) -- Blessings Gonzalo Nemmi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mounting ext2fs partitions on FBSD7 ( third time a charm?)
Gonzalo Nemmi wrote: On Friday 04 July 2008 22:58:18 you wrote: Gonzalo Nemmi wrote: Could somebody please throw me a pointer ... i have followed every instruction on every book and/or how-to ... yet ... What am I doing wrong?? [EMAIL PROTECTED]:~ # uname -sr FreeBSD 7.0-RELEASE [EMAIL PROTECTED]:~ # kldstat Id Refs AddressSize Name 1 10 0xc040 4dd878 kernel 21 0xc08de000 7559b0 nvidia.ko 31 0xc1034000 6721cacpi.ko 41 0xc4a2e000 4000 logo_saver.ko 51 0xc5884000 1ext2fs.ko [EMAIL PROTECTED]:~ # mount -t ext2fs /dev/ad0s8 /mnt/ [EMAIL PROTECTED]:~ # ls /mnt ls: /mnt: Bad file descriptor [EMAIL PROTECTED]:~ # cd /mnt /mnt: Not a directory. [EMAIL PROTECTED]:~ # umount /mnt [EMAIL PROTECTED]:~ # cd /mnt [EMAIL PROTECTED]:/mnt # mount -t ext2fs /dev/ad0s8 . [EMAIL PROTECTED]:/mnt # ls ls: .: Not a directory [EMAIL PROTECTED]:/mnt # cd ~ [EMAIL PROTECTED]:~ # umount /mnt [EMAIL PROTECTED]:~ # file /mnt/ /mnt/: directory [EMAIL PROTECTED]:~ # cd /mnt [EMAIL PROTECTED]:/mnt # ls [EMAIL PROTECTED]:/mnt # dmesg says _nothing_ _Any_ hint will be more than welcome :) What does /var/log/messages say when you run mount -t ext2fs? Hi Ryan! And thanks for your help :) Unfortunately, just as much as dmesg, /var/log/messages says nothing :s Look: [EMAIL PROTECTED]:~ # date Sat Jul 5 00:39:39 ART 2008 [EMAIL PROTECTED]:~ # mount -t ext2fs /dev/ad0s8 /mnt/ [EMAIL PROTECTED]:~ # ls /mnt ls: /mnt: Bad file descriptor [EMAIL PROTECTED]:~ # cd /mnt /mnt: Not a directory. [EMAIL PROTECTED]:~ # cat /var/log/messages | tail -5 Jul 4 20:21:13 inferna su: gonzalo to root on /dev/ttyp2 Jul 4 20:38:34 inferna kernel: linux: pid 8503 (doom.x86): ioctl fd=17, cmd=0x5801 ('X',1) is not implemented Jul 4 20:47:28 inferna kernel: pid 8511 (doom.x86), uid 1001: exited on signal 11 Jul 4 23:54:48 inferna su: gonzalo to root on /dev/ttyp3 Jul 5 00:38:24 inferna su: gonzalo to root on /dev/ttyp2 [EMAIL PROTECTED]:~ # umount /mnt [EMAIL PROTECTED]:~ # cat /var/log/messages | tail -5 Jul 4 20:21:13 inferna su: gonzalo to root on /dev/ttyp2 Jul 4 20:38:34 inferna kernel: linux: pid 8503 (doom.x86): ioctl fd=17, cmd=0x5801 ('X',1) is not implemented Jul 4 20:47:28 inferna kernel: pid 8511 (doom.x86), uid 1001: exited on signal 11 Jul 4 23:54:48 inferna su: gonzalo to root on /dev/ttyp3 Jul 5 00:38:24 inferna su: gonzalo to root on /dev/ttyp2 [EMAIL PROTECTED]:~ # Have you, by any chance, tried and suceded at mounting ext2fs on FBSD7? If you did, at least I'd know that it _is_ possible :s Thanks :) No, I thought maybe there was something there I could help with I haven't used ext/ext2/ext3 since I dumped RHL in 2003. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Migrating from Linux: mounting ext2fs
On Wed, 22 Oct 2003 15:03:17 +0100 Miguel Gonçalves [EMAIL PROTECTED] wrote: Dear BSDers, I am about to move a workgroup server from Linux to FreeBSD. How stable is the FreeBSD support for ext2fs? It should be able to read it with out probs. Not sure about writeing. Just mount the drive and copy the contects over the the bsd one. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Migrating from Linux: mounting ext2fs
Dear BSDers, I am about to move a workgroup server from Linux to FreeBSD. How stable is the FreeBSD support for ext2fs? Best regards, Miguel Gonçalves [EMAIL PROTECTED] -- http://www.fe.up.pt/~miguelg/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Migrating from Linux: mounting ext2fs
Hi Miguel! Miguel_Gonçalves écrit: Dear BSDers, I am about to move a workgroup server from Linux to FreeBSD. How stable is the FreeBSD support for ext2fs? I am currently using it happily (for the same purpose as yours). Beware that the fsck_ext2fs needs to be re-linked if you want to automount your partition (I still have the issue - I did not figure out how to statically link it so that it does not require libc.so before mounting /usr). Any help on this one, anyone? Thanks in advance Olivier ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Migrating from Linux: mounting ext2fs
On Wed, 2003-10-22 at 07:03, Miguel Gonalves wrote: How stable is the FreeBSD support for ext2fs? First, if you're planning to migrate your server permanently, you're probably better off reformatting in UFS: it's faster, and better for error recovery. And computers that mount nfs/Samba/whatever shares won't know the difference. If you insist on keeping your partitions in ext2fs: I've seen a couple of problems related to fsck. In particular, when a filesystem is dirty, fsck.ext2 sometimes finds and fixes the problems but then fails to mark the disk as clean (meaning that FreeBSD will refuse to mount it, if you've specified read/write, and it'll be checked again next time you reboot, and so forth). Personally, I've only seen this with ext3 (journaled) filesystems, but I don't know if that's universal. So, to be safe, you'll probably want an rc script that mounts -r any of your ext2 systems that were skipped. (Note that if /mnt/linux fails to mount because it was dirty, /mnt/linux/usr, etc. will also fail to mount.) This way, if the server gets hard-reset somehow, your users will still be able to access their files, even if they aren't able to update them, until you fix things. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]