From owner-freebsd-geom@FreeBSD.ORG Sun Feb 19 12:10:32 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D454C16A420 for ; Sun, 19 Feb 2006 12:10:32 +0000 (GMT) (envelope-from rik@inse.ru) Received: from mail.inse.ru (inse.ru [144.206.128.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 761B943D58 for ; Sun, 19 Feb 2006 12:10:29 +0000 (GMT) (envelope-from rik@inse.ru) Received: from inse.ru (www.inse.ru [144.206.128.1]) by mail.inse.ru (Postfix) with ESMTP id 0396A33C27; Sun, 19 Feb 2006 15:10:27 +0300 (MSK) Message-ID: <43F8605F.1050803@inse.ru> Date: Sun, 19 Feb 2006 15:11:11 +0300 From: Roman Kurakin User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru-RU; rv:1.2.1) Gecko/20030426 X-Accept-Language: ru-ru, en MIME-Version: 1.0 To: Joerg Pernfuss References: <43F744FB.2060503@inse.ru> <20060218171638.6ac81f82@loki> <43F79303.5050808@inse.ru> <20060218231708.6240d912@loki> In-Reply-To: <20060218231708.6240d912@loki> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-geom@freebsd.org Subject: Re: Disk copy 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: Sun, 19 Feb 2006 12:10:32 -0000 Joerg Pernfuss: >On Sun, 19 Feb 2006 00:34:59 +0300 >Roman Kurakin wrote: > > > >>How this will deal with partition table? File is not partition copy, >>it is full copy of entire disk with partition table etc. >> >> > >It won't deal with anything. It will simply provide the file as a >device node. If the file contains valid file system structures, then >GEOM will create these (similar to a usb drive getting plugged in). > Thanks! I was unaware of such behaviour. It is really works and I can access my backup images. rik >~/test> ls -l >-rw-r--r-- 1 elessar users 20971520 18 Feb 23:09 container > >~/test> file container >container: x86 boot sector > >~/test> sudo mdconfig -a -t vnode -f container -u 0 > >~/test> ls /dev/md0* >/dev/md0 /dev/md0s1 /dev/md0s1a /dev/md0s1c > >~/test> sudo mdconfig -d -u 0 >~/test> > > From owner-freebsd-geom@FreeBSD.ORG Mon Feb 20 07:59:00 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D83F16A420 for ; Mon, 20 Feb 2006 07:59:00 +0000 (GMT) (envelope-from jpalko@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E66143D48 for ; Mon, 20 Feb 2006 07:59:00 +0000 (GMT) (envelope-from jpalko@gmail.com) Received: by wproxy.gmail.com with SMTP id i3so573092wra for ; Sun, 19 Feb 2006 23:58:59 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:subject:x-enigmail-version:content-type:content-transfer-encoding; b=mfJss35ArPlH8/8wRgXQaPdUiLcpESiCrcdeo8U42rzLjjtsQOjsnAi15VwMpVcJEUsTfRm1lWUbri2UKXdDkRZbGsbCsVsZNAzhZE9tAQXU8j/CFIFbWbnd1l/85T+DXm3GhjDPwkvMN1mzR7SB+TE1u3WCWYMt9zJALpLbv1o= Received: by 10.54.65.9 with SMTP id n9mr88989wra; Sun, 19 Feb 2006 23:56:22 -0800 (PST) Received: from ?192.168.0.3? ( [80.221.153.201]) by mx.gmail.com with ESMTP id 7sm3473882wrl.2006.02.19.23.58.57; Sun, 19 Feb 2006 23:58:57 -0800 (PST) Message-ID: <43F976BF.4030902@gmail.com> Date: Mon, 20 Feb 2006 09:58:55 +0200 From: Jukka Palko User-Agent: Mail/News 1.5 (X11/20060206) MIME-Version: 1.0 To: freebsd-geom@freebsd.org X-Enigmail-Version: 0.93.1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: Question about mirrored configuration 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, 20 Feb 2006 07:59:00 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I configured my Blade 150 to have RAID1 mirrored system, but I didn't take all the space yet: # df -h Filesystem Size Used Avail Capacity Mounted on /dev/mirror/gm0a 19G 744M 17G 4% / devfs 1.0K 1.0K 0B 100% /dev # swapinfo Device 1K-blocks Used Avail Capacity /dev/mirror/gm0b 1052256 0 1052256 0% # gmirror list Geom name: gm0 State: COMPLETE Components: 2 Balance: round-robin Slice: 4096 Flags: NONE GenID: 0 SyncID: 1 ID: 1427655314 Providers: 1. Name: mirror/gm0 Mediasize: 80026361344 (75G) Sectorsize: 512 Mode: r2w2e2 Consumers: 1. Name: ad0 Mediasize: 80026361856 (75G) Sectorsize: 512 Mode: r1w1e1 State: ACTIVE Priority: 0 Flags: NONE GenID: 0 SyncID: 1 ID: 1186682601 2. Name: ad1 Mediasize: 80026361856 (75G) Sectorsize: 512 Mode: r1w1e1 State: ACTIVE Priority: 0 Flags: NONE GenID: 0 SyncID: 1 ID: 1654375047 So, my question is that what is the correct way to make use of the rest of the disk space? I didn't find this info in the handbook nor in FAQ. - -- Jukka Palko jpalko@gmail.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFD+Xa/gfJN/zhm0W0RAoLcAKCf5aVnkrLmAI+zqpUiAMNtSmSFKACglcea ZQoHINaUGzNPNpzS69xl91g= =Cxin -----END PGP SIGNATURE----- From owner-freebsd-geom@FreeBSD.ORG Mon Feb 20 09:47:34 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F30816A4B3 for ; Mon, 20 Feb 2006 09:47:34 +0000 (GMT) (envelope-from jpalko@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA0FB43D48 for ; Mon, 20 Feb 2006 09:47:33 +0000 (GMT) (envelope-from jpalko@gmail.com) Received: by wproxy.gmail.com with SMTP id 68so580785wra for ; Mon, 20 Feb 2006 01:47:33 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=B8hoXMaesBj2HfDlKv5Aq13BqYaSDcGmteSGhwIiNtKNdpaSL8CXyb0vwIqY1EdkeTya/GL3DCBTWwADRj4uv2uS5V7Q/63h5Q4g0RcktDJlSVt8yijztBhlDijTvZOm52vlL/GCq0NPYixbcvbI09/HKinx02E3DhKJWXqTYx0= Received: by 10.54.119.4 with SMTP id r4mr1318566wrc; Mon, 20 Feb 2006 01:47:32 -0800 (PST) Received: from ?192.168.0.3? ( [80.221.153.201]) by mx.gmail.com with ESMTP id g3sm3471354wra.2006.02.20.01.47.31; Mon, 20 Feb 2006 01:47:32 -0800 (PST) Message-ID: <43F99032.9090703@gmail.com> Date: Mon, 20 Feb 2006 11:47:30 +0200 From: Jukka Palko User-Agent: Mail/News 1.5 (X11/20060206) MIME-Version: 1.0 To: freebsd-geom@freebsd.org References: <43F976BF.4030902@gmail.com> In-Reply-To: <43F976BF.4030902@gmail.com> X-Enigmail-Version: 0.93.1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: Re: Question about mirrored configuration 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, 20 Feb 2006 09:47:35 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jukka Palko wrote: > I configured my Blade 150 to have RAID1 mirrored system, but I didn't > take all the space yet: > # df -h > Filesystem Size Used Avail Capacity Mounted on > /dev/mirror/gm0a 19G 744M 17G 4% / > devfs 1.0K 1.0K 0B 100% /dev > # swapinfo > Device 1K-blocks Used Avail Capacity > /dev/mirror/gm0b 1052256 0 1052256 0% > # gmirror list > Geom name: gm0 > State: COMPLETE > Components: 2 > Balance: round-robin > Slice: 4096 > Flags: NONE > GenID: 0 > SyncID: 1 > ID: 1427655314 > Providers: > 1. Name: mirror/gm0 > Mediasize: 80026361344 (75G) > Sectorsize: 512 > Mode: r2w2e2 > Consumers: > 1. Name: ad0 > Mediasize: 80026361856 (75G) > Sectorsize: 512 > Mode: r1w1e1 > State: ACTIVE > Priority: 0 > Flags: NONE > GenID: 0 > SyncID: 1 > ID: 1186682601 > 2. Name: ad1 > Mediasize: 80026361856 (75G) > Sectorsize: 512 > Mode: r1w1e1 > State: ACTIVE > Priority: 0 > Flags: NONE > GenID: 0 > SyncID: 1 > ID: 1654375047 > > So, my question is that what is the correct way to make use of the rest > of the disk space? I didn't find this info in the handbook nor in FAQ. > Okay, got this done. :) # sunlabel -e mirror/gm0 Some vi magic with bc for support and done quite easily. Thanks for OxY's response which lead me to believe that I just had to trust myself. :) - -- Jukka Palko jpalko@gmail.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFD+ZAxgfJN/zhm0W0RAkujAJ9jAQogSOZoDmNLnApTeQxluEMg3QCePlz3 j/Ihw58NAN+rXzo1RVm7xvc= =dyma -----END PGP SIGNATURE----- From owner-freebsd-geom@FreeBSD.ORG Mon Feb 20 11:02:29 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B3E0216A420 for ; Mon, 20 Feb 2006 11:02:29 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 801D043D45 for ; Mon, 20 Feb 2006 11:02:29 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k1KB2TGK083532 for ; Mon, 20 Feb 2006 11:02:29 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k1KB2SUS083526 for freebsd-geom@freebsd.org; Mon, 20 Feb 2006 11:02:28 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 20 Feb 2006 11:02:28 GMT Message-Id: <200602201102.k1KB2SUS083526@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-geom@FreeBSD.org Cc: Subject: Current problem reports assigned to you 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, 20 Feb 2006 11:02:29 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2005/01/21] kern/76538 geom [gbde] nfs-write on gbde partition stalls o [2005/08/04] kern/84556 geom [geom] GBDE-encrypted swap causes panic a o [2005/10/16] kern/87544 geom [gbde] mmaping large files on a gbde file o [2005/11/16] kern/89102 geom [geom_vfs] [panic] panic when forced unmo o [2005/12/08] bin/90093 geom fdisk(8) incapable of altering in-core ge o [2005/12/18] kern/90582 geom [geom_mirror] [panic] Restore cause panic 6 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2005/02/26] bin/78131 geom gbde "destroy" not working. o [2005/03/26] kern/79251 geom [2TB] newfs fails on 2.6TB gbde device 2 problems total. From owner-freebsd-geom@FreeBSD.ORG Tue Feb 21 15:12:21 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F11FF16A420 for ; Tue, 21 Feb 2006 15:12:21 +0000 (GMT) (envelope-from teekkari@mbnet.fi) Received: from talk.nabble.com (www.nabble.com [72.21.53.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8811C43D66 for ; Tue, 21 Feb 2006 15:12:21 +0000 (GMT) (envelope-from teekkari@mbnet.fi) Received: from localhost ([127.0.0.1] helo=talk.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1FBZBc-00080e-VO for freebsd-geom@freebsd.org; Tue, 21 Feb 2006 07:12:21 -0800 Message-ID: <3051580.post@talk.nabble.com> Date: Tue, 21 Feb 2006 07:12:20 -0800 (PST) From: Jonathan Doe To: freebsd-geom@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-Sender: teekkari@mbnet.fi X-Nabble-From: Jonathan Doe Subject: A couple of questions about gconcat 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, 21 Feb 2006 15:12:22 -0000 I have a file server with an 80 GB system disk and a 300 GB file storage disk. The 300 GB disk got full so I added another one, and now Im wondering if I can safely use gconcat to combine the two 300 GB disks without losing the data from the first one, or will the first disk get wiped empty in the process? Another question, what happens if one of the disks in the concat array breaks? Will I lose all data from every disk in the array or from just the one that broke? -- View this message in context: http://www.nabble.com/A-couple-of-questions-about-gconcat-t1162435.html#a3051580 Sent from the freebsd-geom forum at Nabble.com.