From owner-freebsd-fs@FreeBSD.ORG Sun Mar 19 04:19:06 2006 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 56D6816A400 for ; Sun, 19 Mar 2006 04:19:06 +0000 (UTC) (envelope-from jofsama@yahoo.com) Received: from smtp010.mail.ukl.yahoo.com (smtp010.mail.ukl.yahoo.com [217.12.11.79]) by mx1.FreeBSD.org (Postfix) with SMTP id A487443D49 for ; Sun, 19 Mar 2006 04:19:05 +0000 (GMT) (envelope-from jofsama@yahoo.com) Received: (qmail 52224 invoked from network); 19 Mar 2006 04:19:04 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:Message-ID:Date:From:User-Agent:X-Accept-Language:MIME-Version:To:Subject:Content-Type:Content-Transfer-Encoding; b=3MGaH1WPbqFs7sENG2BXDeCFQvxvVVNaqO5DrtdhuAHDPEeNBYPDhO1vDnZsboN/fL291MRLZMd2FGzskYZ7eiXfQdVSDX/ZnlezVUz50f0KN+Eq3TrnISmaGYMf8V4Ry3VbeJzTP+UNHNahRj7D9bBLOg6qX7cgdLRy/ABjYUg= ; Received: from unknown (HELO ?192.168.11.4?) (jofsama@220.98.11.46 with plain) by smtp010.mail.ukl.yahoo.com with SMTP; 19 Mar 2006 04:19:04 -0000 Message-ID: <441CDC20.7090300@yahoo.com> Date: Sun, 19 Mar 2006 13:20:48 +0900 From: Jarrod User-Agent: Mozilla Thunderbird 1.0.7 (X11/20060107) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Hard Disk Partitions & "mount" X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Mar 2006 04:19:06 -0000 Hi to mount & fdisk gurus, Wondering if anyone might have come across this or knows the reasoning behind this? I have an external USB HDD with 4 partitions (slices): 1: 60GB NTFS 2: 60GB NTFS 3: 60GB UFS2 [split into two 30GB freebsd partitions) 4: 58GB FAT32 All partitions were originally created (using Acronis PartExp) inside a single extended partition. I later changed the 3rd partition from being a logical partition to being a physical, leading to 2 entries in my MBR. One for the extended partition and one for the converted physical partition. Note that since I didn't modify the 4th logical partition, it came about that the extended partition was now spanning across (but skipping over) the physical 3rd partition. I converted the 3rd partition from type NTFS to FreeBSD using FreeBSD fdisk, which incidentally wiped out my logical partition entry in the MBR. Details on this and how I fixed it are in the freebsd-questions mailing list. What happens now is that if I mount any of the logical partitions (NTFS or FAT32 partitions) in the extended then I am completely unable to mount my FreeBSD (UFS) partitions. I am able to read off sectors from the partition (/dev/da0s2) using "dd", and also fdisk will read the ExtBootPartitionRecord ok, but fdisk is unable to write to it, complaining, "Cannot access consumer". If I unmount all the logical partitions then things are now suddenly ok and I can mount my UFS ones. Can you tell me why this is so? I am guessing the work-around is to trim down my extended partition so it does NOT overlap the physical UFS. Creating a second physical partition (3rd entry in the MBR) in the process in order to access the FAT32. Why does FreeBSD have this limitation? Is it necessary? Any and all input (academic or otherwise) greatly appreciated. Yours Sincerely, Jarrod.