mounting ext2fs partitions on FBSD7 ( third time a charm?)
Gonzalo Nemmi
gnemmi at gmail.com
Sat Jul 5 20:03:15 UTC 2008
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 at 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 at inferna:~ # mkdir /mnttest
root at inferna:~ # mount -t ext2fs /dev/ad0s8 /mnttest
root at inferna:~ # ls /mnttest
ls: /mnttest: Bad file descriptor
root at inferna:~ # file /mnttest
/mnttest: cannot open `/mnttest' (Bad file descriptor)
root at inferna:~ # ls -la / | grep mnttest
ls: mnttest: Bad file descriptor
root at 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 at inferna:~ # umount /mnttest
root at 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 at inferna:~ #
Thanks a lot for your help and interest :)
--
Blessings
Gonzalo Nemmi
More information about the freebsd-questions
mailing list