From owner-freebsd-questions@FreeBSD.ORG Sat Jul 5 20:03:15 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E3A21065676 for ; Sat, 5 Jul 2008 20:03:15 +0000 (UTC) (envelope-from gnemmi@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.29]) by mx1.freebsd.org (Postfix) with ESMTP id 3FE268FC18 for ; Sat, 5 Jul 2008 20:03:14 +0000 (UTC) (envelope-from gnemmi@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so666404ywe.13 for ; Sat, 05 Jul 2008 13:03:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; bh=Zo/yU9dVI4jfhUzTAQYvCRBzx8EZMUowvxgmXnysDiQ=; b=siIsnHFVYCmrZ0LCpj1zmfRznqhuf5PnnNJvJhiA4QmRF0b49Jg1EEz/5MuyZm+4Gm hrL2sHqhJFB+gv1hqMIWb86c54kDktdY40IF2Qnzu6Y+nnyy8aMiuKOcLtKebv+9V4gX AsFJug27JS5/wBn0PA6rzRpXsw9V5B7jm+Nl0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :message-id; b=f7VScrjmMWVRCxxCkNQ8AviKmkbgGCSv1r2MJsXgbQagCkg25KTtHoTqcZIvt6cz92 qWNq6iSQdnY+3wUjuFwoMvR8T+FMk3MwimfPUCjqG4L9+IUCmOUrhX24lmYoedZhdncH 3q/AcWuMVlRoK+QSg0hkrQDwNie+4aSD9Wxyw= Received: by 10.151.142.2 with SMTP id u2mr4611360ybn.184.1215288187402; Sat, 05 Jul 2008 13:03:07 -0700 (PDT) Received: from 200-117-245-190.fibertel.com.ar ( [190.245.117.200]) by mx.google.com with ESMTPS id 6sm3325301ywp.3.2008.07.05.13.03.05 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 05 Jul 2008 13:03:06 -0700 (PDT) From: Gonzalo Nemmi To: freebsd-questions@freebsd.org Date: Sat, 5 Jul 2008 17:02:57 -0300 User-Agent: KMail/1.9.7 References: <200807042033.44829.gnemmi@gmail.com> <200807050546.09073.gnemmi@gmail.com> <486F3870.7090002@skoberne.net> In-Reply-To: <486F3870.7090002@skoberne.net> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200807051702.57927.gnemmi@gmail.com> Subject: Re: mounting ext2fs partitions on FBSD7 ( third time a charm?) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jul 2008 20:03:15 -0000 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