Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Jul 2008 17:02:57 -0300
From:      Gonzalo Nemmi <gnemmi@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: mounting ext2fs partitions on FBSD7 ( third time a charm?)
Message-ID:  <200807051702.57927.gnemmi@gmail.com>
In-Reply-To: <486F3870.7090002@skoberne.net>
References:  <200807042033.44829.gnemmi@gmail.com> <200807050546.09073.gnemmi@gmail.com> <486F3870.7090002@skoberne.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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:

root@inferna:~ # ls -la /dev/ad0*
crw-r-----  1 root  operator    0,  80 Jul  3 20:27 /dev/ad0
crw-r-----  1 root  operator    0,  81 Jul  3 20:27 /dev/ad0s1
crw-r-----  1 root  operator    0,  82 Jul  3 20:27 /dev/ad0s2
crw-r-----  1 root  operator    0,  83 Jul  3 20:27 /dev/ad0s3
crw-r-----  1 root  operator    0,  90 Jul  3 22:27 /dev/ad0s3a
crw-r-----  1 root  operator    0,  91 Jul  3 22:27 /dev/ad0s3b
crw-r-----  1 root  operator    0,  92 Jul  3 20:27 /dev/ad0s3c
crw-r-----  1 root  operator    0,  93 Jul  3 22:27 /dev/ad0s3d
crw-r-----  1 root  operator    0,  94 Jul  3 22:27 /dev/ad0s3e
crw-r-----  1 root  operator    0,  95 Jul  3 22:27 /dev/ad0s3f
crw-r-----  1 root  operator    0,  84 Jul  3 20:27 /dev/ad0s4
crw-r-----  1 root  operator    0,  86 Jul  3 20:27 /dev/ad0s5
crw-r-----  1 root  operator    0,  87 Jul  3 20:27 /dev/ad0s6
crw-r-----  1 root  operator    0,  88 Jul  3 20:27 /dev/ad0s7
crw-r-----  1 root  operator    0,  89 Jul  3 20:27 /dev/ad0s8
root@inferna:~ # mkdir /mnttest
root@inferna:~ # mount -t ext2fs /dev/ad0s8 /mnttest
root@inferna:~ # ls /mnttest
ls: /mnttest: Bad file descriptor
root@inferna:~ # file /mnttest
/mnttest: cannot open `/mnttest' (Bad file descriptor)
root@inferna:~ # ls -la / | grep mnttest
ls: mnttest: Bad file descriptor
root@inferna:~ # 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
root@inferna:~ # umount /mnttest
root@inferna:~ # 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
root@inferna:~ # 

Thanks a lot for your help and interest :)
-- 
Blessings
Gonzalo Nemmi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807051702.57927.gnemmi>