From owner-freebsd-geom@FreeBSD.ORG Sun May 27 20:41:02 2012 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B74711065670 for ; Sun, 27 May 2012 20:41:02 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [46.4.40.135]) by mx1.freebsd.org (Postfix) with ESMTP id 773ED8FC19 for ; Sun, 27 May 2012 20:41:02 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:756c:80e7:ffb9:a0c4]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id 0AB854AC31 for ; Mon, 28 May 2012 00:40:54 +0400 (MSK) Date: Mon, 28 May 2012 00:40:54 +0400 From: Lev Serebryakov Organization: FreeBSD X-Priority: 3 (Normal) Message-ID: <491776962.20120528004054@serebryakov.spb.ru> To: freebsd-geom@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: MBR is not detected on /dev/md0 X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lev@FreeBSD.org List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 May 2012 20:41:02 -0000 Hello, Freebsd-geom. I have image of old HDD with one MBR slice and some FFS partitions on it. I mount it ad `md0', but `md0s1' doesn't appear: root@blob:/usr/home/storage/219 # uname -a FreeBSD blob.home.serebryakov.spb.ru 9.0-STABLE FreeBSD 9.0-STABLE #30: Sat May 19 21:34:53 MSK 2012 lev@blob.home.serebryakov.spb.ru:/usr/obj/usr/src/sys/BLOB amd64 root@blob:/usr/home/storage/219 # mdconfig -a -t vnode -f 219_1.img md0 root@blob:/usr/home/storage/219 # ls /dev/md0* /dev/md0 root@blob:/usr/home/storage/219 # true > /dev/md0 root@blob:/usr/home/storage/219 # ls /dev/md0* /dev/md0 root@blob:/usr/home/storage/219 # file -s /dev/md0 /dev/md0: x86 boot sector; partition 1: ID=0xa5, active, starthead 1, startsector 63, 12594897 sectors, code offset 0x31 root@blob:/usr/home/storage/219 # GEOM_PART_MBR is compiled into kernel: root@blob:/usr/home/storage/219 # geom part list Geom name: ada0 modified: false state: OK fwheads: 16 fwsectors: 63 last: 625142447 first: 63 entries: 4 scheme: MBR Providers: 1. Name: ada0s1 Mediasize: 320070288384 (298G) Sectorsize: 512 Stripesize: 0 Stripeoffset: 32256 Mode: r5w5e14 attrib: active rawtype: 165 length: 320070288384 offset: 32256 type: freebsd index: 1 end: 625137344 start: 63 Consumers: 1. Name: ada0 Mediasize: 320072933376 (298G) Sectorsize: 512 Mode: r5w5e19 .... -- // Black Lion AKA Lev Serebryakov From owner-freebsd-geom@FreeBSD.ORG Mon May 28 04:03:25 2012 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 63A81106564A; Mon, 28 May 2012 04:03:25 +0000 (UTC) (envelope-from ae@FreeBSD.org) Received: from mail-new.kirov.so-ups.ru (mail-new.kirov.so-ups.ru [178.74.170.12]) by mx1.freebsd.org (Postfix) with ESMTP id 116EE8FC0A; Mon, 28 May 2012 04:03:25 +0000 (UTC) Received: from kirov.so-ups.ru (unknown [172.21.81.1]) by mail-new.kirov.so-ups.ru (Postfix) with ESMTP id 35510A1E37; Mon, 28 May 2012 08:03:16 +0400 (MSK) Received: by ns.kirov.so-ups.ru (Postfix, from userid 1010) id 84675B9FD0; Mon, 28 May 2012 08:03:17 +0400 (MSK) Received: from [127.0.0.1] (unknown [10.118.3.52]) by ns.kirov.so-ups.ru (Postfix) with ESMTP id 4F772B9FC9; Mon, 28 May 2012 08:03:17 +0400 (MSK) Message-ID: <4FC2F905.7060404@FreeBSD.org> Date: Mon, 28 May 2012 08:03:17 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla Thunderbird 1.5 (FreeBSD/20051231) MIME-Version: 1.0 To: lev@FreeBSD.org References: <491776962.20120528004054@serebryakov.spb.ru> In-Reply-To: <491776962.20120528004054@serebryakov.spb.ru> X-Enigmail-Version: 1.4.1 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Cc: freebsd-geom@freebsd.org Subject: Re: MBR is not detected on /dev/md0 X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 May 2012 04:03:25 -0000 On 28.05.2012 0:40, Lev Serebryakov wrote: > Hello, Freebsd-geom. > > I have image of old HDD with one MBR slice and some FFS partitions on > it. > I mount it ad `md0', but `md0s1' doesn't appear: Hi, Lev. Probably MBR on your image doesn't pass integrity checks. -- WBR, Andrey V. Elsukov From owner-freebsd-geom@FreeBSD.ORG Mon May 28 11:07:27 2012 Return-Path: Delivered-To: freebsd-geom@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 935CB1065670 for ; Mon, 28 May 2012 11:07:27 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7414F8FC21 for ; Mon, 28 May 2012 11:07:27 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q4SB7RHs063341 for ; Mon, 28 May 2012 11:07:27 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q4SB7Qeg063339 for freebsd-geom@FreeBSD.org; Mon, 28 May 2012 11:07:26 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 28 May 2012 11:07:26 GMT Message-Id: <201205281107.q4SB7Qeg063339@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-geom@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-geom@FreeBSD.org X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 May 2012 11:07:27 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/165745 geom [geom] geom_multipath page fault on removed drive o kern/165428 geom [glabel][patch] Add xfs support to glabel o kern/164254 geom [geom] gjournal not stopping on GPT partitions o kern/164252 geom [geom] gjournal overflow o kern/164143 geom [geom] Partition table not recognized after upgrade R8 a kern/163020 geom [geli] [patch] enable the Camellia-XTS on GEOM ELI o kern/162010 geom [geli] panic: Provider's error should be set (error=0) o kern/161979 geom [geom] glabel doesn't update after newfs, and glabel s o kern/161752 geom [geom] glabel(8) doesn't get gpt label change o bin/161677 geom gpart(8) Probably bug in gptboot o kern/160562 geom [geom][patch] Allow to insert new component to geom_ra o kern/160409 geom [geli] failed to attach provider f kern/159595 geom [geom] [panic] panic on gmirror unload in vbox [regres p kern/158398 geom [headers] [patch] includes o kern/158197 geom [geom] geom_cache with size>1000 leads to panics o kern/157879 geom [libgeom] [regression] ABI change without version bump o kern/157863 geom [geli] kbdmux prevents geli passwords from being enter o kern/157739 geom [geom] GPT labels with geom_multipath o kern/157724 geom [geom] gpart(8) 'add' command must preserve gap for sc o kern/157723 geom [geom] GEOM should not process 'c' (raw) partitions fo o kern/157108 geom [gjournal] dumpon(8) fails on gjournal providers o kern/155994 geom [geom] Long "Suspend time" when reading large files fr o kern/154226 geom [geom] GEOM label does not change when you modify them o kern/150858 geom [geom] [geom_label] [patch] glabel(8) is not compatibl o kern/150626 geom [geom] [gjournal] gjournal(8) destroys label o kern/150555 geom [geom] gjournal unusable on GPT partitions o kern/150334 geom [geom] [udf] [patch] geom label does not support UDF o kern/149762 geom volume labels with rogue characters o bin/149215 geom [panic] [geom_part] gpart(8): Delete linux's slice via o kern/147667 geom [gmirror] Booting with one component of a gmirror, the o kern/145818 geom [geom] geom_stat_open showing cached information for n o kern/145042 geom [geom] System stops booting after printing message "GE o kern/143455 geom gstripe(8) in RELENG_8 (31st Jan 2010) broken o kern/142563 geom [geom] [hang] ioctl freeze in zpool o kern/141740 geom [geom] gjournal(8): g_journal_destroy concurrent error o kern/140352 geom [geom] gjournal + glabel not working o kern/135898 geom [geom] Severe filesystem corruption - large files or l o kern/134113 geom [geli] Problem setting secondary GELI key o kern/133931 geom [geli] [request] intentionally wrong password to destr o bin/132845 geom [geom] [patch] ggated(8) does not close files opened a o bin/131415 geom [geli] keystrokes are unregulary sent to Geli when typ o kern/131353 geom [geom] gjournal(8) kernel lock o kern/129674 geom [geom] gjournal root did not mount on boot o kern/129645 geom gjournal(8): GEOM_JOURNAL causes system to fail to boo o kern/129245 geom [geom] gcache is more suitable for suffix based provid o kern/127420 geom [geom] [gjournal] [panic] Journal overflow on gmirrore o kern/124973 geom [gjournal] [patch] boot order affects geom_journal con o kern/124969 geom gvinum(8): gvinum raid5 plex does not detect missing s o kern/123962 geom [panic] [gjournal] gjournal (455Gb data, 8Gb journal), o kern/123122 geom [geom] GEOM / gjournal kernel lock o kern/122738 geom [geom] gmirror list "losts consumers" after gmirror de o kern/122067 geom [geom] [panic] Geom crashed during boot o kern/121364 geom [gmirror] Removing all providers create a "zombie" mir o kern/120091 geom [geom] [geli] [gjournal] geli does not prompt for pass o kern/115856 geom [geli] ZFS thought it was degraded when it should have o kern/115547 geom [geom] [patch] [request] let GEOM Eli get password fro f kern/113957 geom [gmirror] gmirror is intermittently reporting a degrad o kern/113837 geom [geom] unable to access 1024 sector size storage o kern/113419 geom [geom] geom fox multipathing not failing back o kern/107707 geom [geom] [patch] [request] add new class geom_xbox360 to o kern/94632 geom [geom] Kernel output resets input while GELI asks for o kern/90582 geom [geom] [panic] Restore cause panic string (ffs_blkfree o bin/90093 geom fdisk(8) incapable of altering in-core geometry o kern/87544 geom [gbde] mmaping large files on a gbde filesystem deadlo o bin/86388 geom [geom] [geom_part] periodic(8) daily should backup gpa o kern/84556 geom [geom] [panic] GBDE-encrypted swap causes panic at shu o kern/79251 geom [2TB] newfs fails on 2.6TB gbde device o kern/79035 geom [vinum] gvinum unable to create a striped set of mirro o bin/78131 geom gbde(8) "destroy" not working. 69 problems total. From owner-freebsd-geom@FreeBSD.ORG Tue May 29 05:15:42 2012 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 685081065672 for ; Tue, 29 May 2012 05:15:42 +0000 (UTC) (envelope-from petri@helenius.fi) Received: from mail.secroom.net (r083.secroom.net [193.19.137.83]) by mx1.freebsd.org (Postfix) with ESMTP id 20B508FC19 for ; Tue, 29 May 2012 05:15:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.secroom.net (Postfix) with ESMTP id 9DE515C98 for ; Tue, 29 May 2012 05:07:28 +0000 (UTC) X-Virus-Scanned: amavisd-new at example.com Received: from mail.secroom.net ([127.0.0.1]) by localhost (mail.secroom.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1NaMixLvgku0 for ; Tue, 29 May 2012 05:07:20 +0000 (UTC) Received: from d194.helenius.fi (d194.helenius.fi [83.150.107.194]) (Authenticated sender: pete) by mail.secroom.net (Postfix) with ESMTPA id F21FA5C1A for ; Tue, 29 May 2012 05:07:19 +0000 (UTC) From: Petri Helenius Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Tue, 29 May 2012 08:07:24 +0300 Message-Id: <6AEF684A-D920-4825-940E-DEC0F9FAD902@helenius.fi> To: freebsd-geom@freebsd.org Mime-Version: 1.0 (Apple Message framework v1278) X-Mailer: Apple Mail (2.1278) Subject: GEOM tasting ZVOLs X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 May 2012 05:15:42 -0000 Hi, I saw a question about this a few months ago and it got unanswered so I = thought to ask again: - Is there a way to stop GEOM tasting ZVOL's? Pete From owner-freebsd-geom@FreeBSD.ORG Wed May 30 05:07:50 2012 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C3432106566C for ; Wed, 30 May 2012 05:07:50 +0000 (UTC) (envelope-from ae@FreeBSD.org) Received: from mail-new.kirov.so-ups.ru (mail-new.kirov.so-ups.ru [178.74.170.12]) by mx1.freebsd.org (Postfix) with ESMTP id 723398FC08 for ; Wed, 30 May 2012 05:07:50 +0000 (UTC) Received: from kirov.so-ups.ru (unknown [172.21.81.1]) by mail-new.kirov.so-ups.ru (Postfix) with ESMTP id AF660A1E39; Wed, 30 May 2012 09:07:36 +0400 (MSK) Received: by ns.kirov.so-ups.ru (Postfix, from userid 1010) id 0A1F9B9FD1; Wed, 30 May 2012 09:07:42 +0400 (MSK) Received: from [127.0.0.1] (unknown [10.118.3.52]) by ns.kirov.so-ups.ru (Postfix) with ESMTP id B2FEDB9FCB; Wed, 30 May 2012 09:07:41 +0400 (MSK) Message-ID: <4FC5AB1D.1080101@FreeBSD.org> Date: Wed, 30 May 2012 09:07:41 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla Thunderbird 1.5 (FreeBSD/20051231) MIME-Version: 1.0 To: Petri Helenius References: <6AEF684A-D920-4825-940E-DEC0F9FAD902@helenius.fi> In-Reply-To: <6AEF684A-D920-4825-940E-DEC0F9FAD902@helenius.fi> X-Enigmail-Version: 1.4.1 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Cc: freebsd-geom@freebsd.org Subject: Re: GEOM tasting ZVOLs X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 May 2012 05:07:50 -0000 On 29.05.2012 9:07, Petri Helenius wrote: > > Hi, > > I saw a question about this a few months ago and it got unanswered so I thought to ask again: > - Is there a way to stop GEOM tasting ZVOL's? Hi, there is no way to stop GEOM tasting without code modification. -- WBR, Andrey V. Elsukov