From owner-freebsd-isp Tue Mar 25 12:16:50 2003 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D822E37B401 for ; Tue, 25 Mar 2003 12:16:44 -0800 (PST) Received: from swisseasy.net (dns1.swisseasy.net [195.134.144.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9CF2643F93 for ; Tue, 25 Mar 2003 12:16:43 -0800 (PST) (envelope-from arie@gerszt.ch) Received: (qmail 5509 invoked by uid 85); 25 Mar 2003 19:32:01 -0000 Received: from arie@gerszt.ch by caramba.gerszt.ch by uid 82 with qmail-scanner-1.16 (sweep: 2.14/3.66 NSV. spamassassin: 2.44. Clear:. Processed in 1.689376 secs); 25 Mar 2003 19:32:01 -0000 Received: from unknown (HELO DELLARIE) (212.41.71.113) by mail.swisseasy.net with SMTP; 25 Mar 2003 19:31:59 -0000 From: "Arie J. Gerszt" To: Subject: 2nd - file system help needed Date: Tue, 25 Mar 2003 21:16:43 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Status: No, hits=-13.8 required=5.0 tests=AWL,EMAIL_ATTRIBUTION,MSGID_GOOD_EXCHANGE,QUOTED_EMAIL_TEXT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi All Thanks for inputs. I have another partition on a second disk, which is 1G, and unused. What is the standard procedure to move the whole / to this disk, so the system keeps bootable? ad0 is the full disk (actually it is ad0s1a). I would like to move / (which is mounted to ad0s01a) to ad3. What must I do? Any help very appreciated. Arie caramba# disklabel ad0 # /dev/ad0c: type: ESDI disk: ad0s1 label: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 3648 sectors/unit: 58621122 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 204800 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 12*) b: 1048576 11468800 swap # (Cyl. 713*- 779*) c: 58621122 0 unused 0 0 # (Cyl. 0 - 3648*) e: 11264000 204800 4.2BSD 1024 8192 16 # (Cyl. 12*- 713*) f: 9216000 12517376 4.2BSD 1024 8192 16 # (Cyl. 779*- 1352*) g: 36887746 21733376 4.2BSD 1024 8192 16 # (Cyl. 1352*- 3648*) caramba# disklabel ad3 # /dev/ad3c: type: ESDI disk: ad3s1 label: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 16 sectors/cylinder: 1008 cylinders: 31206 sectors/unit: 31456593 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0 8 partitions: # size offset fstype [fsize bsize bps/cpg] c: 31456593 0 unused 0 0 # (Cyl. 0 - 31206*) e: 4194304 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 4161*) f: 12582912 4194304 4.2BSD 1024 8192 16 # (Cyl. 4161*- 16644*) g: 12582912 16777216 4.2BSD 1024 8192 16 # (Cyl. 16644*- 29127*) h: 2096465 29360128 4.2BSD 1024 8192 16 # (Cyl. 29127*- 31206*) -----Ursprungliche Nachricht----- Von: owner-freebsd-isp@FreeBSD.ORG [mailto:owner-freebsd-isp@FreeBSD.ORG]Im Auftrag von Stephen Hilton Gesendet: Dienstag, 25. Marz 2003 20:48 An: Arie J. Gerszt Cc: freebsd-isp@FreeBSD.ORG Betreff: Re: AW: file system help needed On Tue, 25 Mar 2003 20:26:48 +0100 "Arie J. Gerszt" wrote: > Hi List > > Thanks for pointers. I deleted /tmp and moved mostly of /sbin /bin to > /usr/copy/(s)bin and created symbolic links instead. Probably not a > very good solution, but it worked quickly. > > I also moved /modules/snd* to somewhere else. > > Any pitfalls? > > Regards and Thanks > Arie Arie, Regarding deleting /tmp, did you just empty /tmp out, or remove the whole directory? You do need a tmp dir, so if you deleted it then create a sym link to /var/tmp if you have a /var/tmp. # ln -s /var/tmp /tmp Regards, Stephen Hilton nospam@hiltonbsd.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message