From owner-freebsd-questions@FreeBSD.ORG Mon Jul 21 19:38:10 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 7F08C106566B for ; Mon, 21 Jul 2008 19:38:10 +0000 (UTC) (envelope-from freebsd@sopwith.solgatos.com) Received: from parsely.rain.com (parsely.rain.com [199.26.172.196]) by mx1.freebsd.org (Postfix) with ESMTP id 9E8808FC16 for ; Mon, 21 Jul 2008 19:38:09 +0000 (UTC) (envelope-from freebsd@sopwith.solgatos.com) Received: from sopwith.solgatos.com (uucp@localhost) by parsely.rain.com (8.11.4/8.11.4) with UUCP id m6LJCEj69726 for freebsd-questions@freebsd.org; Mon, 21 Jul 2008 12:12:14 -0700 (PDT) (envelope-from freebsd@sopwith.solgatos.com) Received: from localhost by sopwith.solgatos.com (8.8.8/6.24) id TAA21999; Mon, 21 Jul 2008 19:10:07 GMT Message-Id: <200807211910.TAA21999@sopwith.solgatos.com> To: freebsd-questions@freebsd.org Date: Mon, 21 Jul 2008 12:10:07 +0100 From: Dieter 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 Reply-To: freebsd@sopwith.solgatos.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jul 2008 19:38:10 -0000 > # 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