From owner-freebsd-current@FreeBSD.ORG Mon Dec 22 05:30:15 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A8BF1065674; Mon, 22 Dec 2008 05:30:15 +0000 (UTC) (envelope-from gelraen.ua@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by mx1.freebsd.org (Postfix) with ESMTP id 862F08FC1A; Mon, 22 Dec 2008 05:30:14 +0000 (UTC) (envelope-from gelraen.ua@gmail.com) Received: by nf-out-0910.google.com with SMTP id h3so272351nfh.33 for ; Sun, 21 Dec 2008 21:30:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=ySgQnmzNHDwQQtihqz6PWmyhudoH7kMPOv77pGqsjv4=; b=vCFtVpaNd/++rJkw0mr70X6eLCs3lgziByiD6n12+nDuF6sHR6ZJzcefzW2t+8lxB8 /v0rbAtHQZd2MJrMBefKX3TMgWGDD1xWSEhw81ydcBOwNyctS0ZqLAUNlvakQhnMadqh QZKiZ9a8ysMVrRN02GwAM5DMTbgsMbmeTFbjU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=QMm4Be5Wckq5CaXMgjTfjdQLMHBa1c56EMJ+wlwCHyAJ1e9Fv1KSuCzVVaN6wQqrOw MrBN1MyQPiR9KIyV210m/oxx1/9m41ZgHZ6KkiuiLG+ttyXkUD8KU80pqVHMkCNAUFKh s5Cwh3KOHjoSO32hgAyxchwE4V8bxXB7CKJ+I= Received: by 10.210.127.10 with SMTP id z10mr6856949ebc.195.1229923813327; Sun, 21 Dec 2008 21:30:13 -0800 (PST) Received: by 10.210.34.13 with HTTP; Sun, 21 Dec 2008 21:30:13 -0800 (PST) Message-ID: Date: Mon, 22 Dec 2008 07:30:13 +0200 From: gelraen To: "Ivan Voras" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <3a142e750812201747o339d7298p11236bb02c7f858f@mail.gmail.com> Cc: freebsd-current@freebsd.org, freebsd-geom@freebsd.org Subject: Re: Changed names of logical disks on recent -CURRENT: part of logical disks not accessible now X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Dec 2008 05:30:15 -0000 2008/12/22 Ivan Voras : > Paul B. Mahol wrote: >> On 12/20/08, gelraen wrote: >>> Hello, >>> >>> I've csup'ed about 1 hour ago (previous csup was few days back), >>> recompiled kernel and slice names changed from ad0s5 to something like >>> ad0s3s1, etc. >>> But in /dev I found only 3 levels of slices: >> >> Maybe because of recent switch from geom_bsd, geom_mbr to >> geom_part_bsd and geom_part_mbr. > > Yes, it's almost certainly because of that. The OP should contact marcel > /at/ freebsd.org and probably be ready to send him boot (zeroeth) > sectors of his drive(s) and partitions. > > > Hmm.... I've just noticed one strange thing: corresponding to PTs of ad0s3 and ad0s3s2, ad0s3s2s1 uses whole slice, and first sector of ad0s3s2s2 located beyond boundaries of ad0s3s2. So I've booted 7.0-RELEASE, to ensure that all still working, and dumped all boot sectors directly from ad0, calculating offsets manually. It seems strange to me, but second entry in PTs on extended partition contains offset directly from ad0s3, not from ad0s3s2, ad0s3s2s2 etc., and sized to only one slice, not the rest of extended partition. And, because ad0s3s2 now simply does not contain needed data, PT of ad0s3s2s2 can not be readed: # fdisk ad0s3s2s2 fdisk: could not detect sector size I think, now I should move PT entries from ad0s3s2 and so on directly to PT of ad0s3, but I don't sure about how would other OS and previous versions of FreeBSD will understand this BTW, now fdisk seems to be unable to work with regular files, it fails with message fdisk: unable to get correct path for tmp.bin : Inappropriate file type or format and ktrace shows next thing: 5740 fdisk CALL ioctl(0x3,DIOCGSECTORSIZE,0xbfbfe5e4) 5740 fdisk RET ioctl -1 errno 25 Inappropriate ioctl for device