From owner-freebsd-questions@FreeBSD.ORG Tue Feb 10 06:00:52 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D201916A4CE for ; Tue, 10 Feb 2004 06:00:52 -0800 (PST) Received: from smtp3.adl2.internode.on.net (smtp3.adl2.internode.on.net [203.16.214.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 43BC343D31 for ; Tue, 10 Feb 2004 06:00:52 -0800 (PST) (envelope-from malcolm.kay@internode.on.net) Received: from beta.home (ppp130-138.lns1.adl2.internode.on.net [150.101.130.138])i1AE0nUK060977 for ; Wed, 11 Feb 2004 00:30:50 +1030 (CST) Content-Type: text/plain; charset="iso-8859-1" From: Malcolm Kay Organization: At home To: freebsd-questions@freebsd.org Date: Wed, 11 Feb 2004 00:30:49 +1030 User-Agent: KMail/1.4.3 References: <4026FBA6.8030001@users.sourceforge.net> <200402092225.35217.malcolm.kay@internode.on.net> <4027C835.1040100@users.sourceforge.net> In-Reply-To: <4027C835.1040100@users.sourceforge.net> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200402110030.49302.malcolm.kay@internode.on.net> Subject: Re: How to safely merge two slices on harddisk? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Feb 2004 14:00:52 -0000 On Tue, 10 Feb 2004 04:19, Rob wrote: > Malcolm, > > Thank you for your detailed answer to my question. > > Malcolm Kay wrote: > > On Mon, 9 Feb 2004 13:46, Rob wrote: > > Do not change the offset of 'f'. If 'g' does not physically > > follow 'f' on the disk then this is not going to work -- give up > > now!!! > > How can I find that out? Is it the slice order in the disk label editor > from /stand/sysinstall : No! What you want is disklabel (see man page). On 5.x this seems to have been replaced by bsdlabel -- but I have no experience with 5.x. You can first gather the partition information; and later when you=20 decide what you want to do you can modify the table using this utility. It shows partition sizes and offsets in sectors; and assists in editing t= hese. But if you don't already know of this utility then tread very carefully. Even small fiddles if you don't know what you are doing can make it=20 almost impossible to recover any of the information in the slice. > > > Disk: ad1 Partition name: ad1s1 Free: 0 blocks (0MB) > > Part Mount Size Newfs > ---- ----- ---- ----- > ad1s1a 100MB * > ad1s1e 3100MB * > ad1s1f 3100MB * > ad1s1g 3100MB * > ad1s1h 300MB * > ad1s1b 300MB * > ad1s1d 66316MB * > > > In this table f and g are back-to-front lined up. > Does that mean f physically follows g? > > > Asking a question and giving a non-existent email address is quite r= ude. > > Sorry, but I consider a potential spam risk when using a real address o= n > this publicly accessible list. The list is my communication medium and = I > monitor the list on gmane. I hope you understand. Of course spam occurs but almost everyone else on the list posts a genuin= e e-mail address. Why should you get special privileges? Malcolm Kay