From owner-freebsd-questions@FreeBSD.ORG Fri Jun 11 23:49:28 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E21D1065674 for ; Fri, 11 Jun 2010 23:49:28 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 3D75C8FC13 for ; Fri, 11 Jun 2010 23:49:28 +0000 (UTC) Received: from r55.edvax.de (port-92-195-117-232.dynamic.qsc.de [92.195.117.232]) by mx01.qsc.de (Postfix) with ESMTP id 440B83D5C8; Sat, 12 Jun 2010 01:49:25 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o5BNnOI3003945; Sat, 12 Jun 2010 01:49:24 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 12 Jun 2010 01:49:24 +0200 From: Polytropon To: Giorgos Tsiapaliokas Message-Id: <20100612014924.45b62be8.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: resize freebsd slice X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jun 2010 23:49:28 -0000 On Sat, 12 Jun 2010 02:30:13 +0300, Giorgos Tsiapaliokas wrote: > i used the "restart" option but still i had the same error. Have you previously deleted the created file from the external hard disk? Can you provide "mount -v /dev/da0s1"? > if i make my hard disk a UFS file system then the error it may be fixed. > > how can i do it? Can you use the WHOLE disk for your backup files? In case you've got nothing to lose on that disk, it's quite easy, but pay attention: The disk will be EMPTY then. Make sure it's unmonted before creating a FreeBSD file system on it. # newfs -U /dev/da0 # mount /dev/da0 /mnt This does omit the slice part, it's often called "dedicated". Sometimes it's called "dangerously dedicated" because "Windows" can't read it anymore (as if it could by default...). Oh, and did I already mention "sade"? It's a nice tool for dealing with disks, slices, partitions and filesystems, it works like sysinstall's corresponding subfunctions. You can use it to 1. delete the da0s1 slice 2. create a FreeBSD slice, spanning the whole disk 3. create an UFS partition, covering the whole slice 4. format the UFS partition, maybe using soft updates. This will give you /dev/da0s1c, which you can mount to /mnt. To keep in mind: The "c" partition always means "the whole disk" or "the whole slice", root partitions usually are "a", swap spaces "b", and other partitions start at "e" (they can also start at "d", but I think that "d" was reserved for something in the past, not sure if it's still the case). > P.S.:i have 138 gb free space on my hard disk.:) In case you have data on that disk that you NEED - get them off the disk first. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...