From owner-freebsd-questions Sat Oct 19 1:43: 2 2002 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 863B437B401 for ; Sat, 19 Oct 2002 01:43:00 -0700 (PDT) Received: from mail.liwing.de (mail.liwing.de [213.70.188.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 92A4443E6E for ; Sat, 19 Oct 2002 01:42:59 -0700 (PDT) (envelope-from rehsack@liwing.de) Received: (qmail 70701 invoked from network); 19 Oct 2002 08:42:58 -0000 Received: from stingray.liwing.de (HELO liwing.de) ([213.70.188.164]) (envelope-sender ) by mail.liwing.de (qmail-ldap-1.03) with SMTP for ; 19 Oct 2002 08:42:58 -0000 Message-ID: <3DB11B21.BB1F453F@liwing.de> Date: Sat, 19 Oct 2002 10:43:13 +0200 From: Jens Rehsack Organization: LiWing IT-Services X-Mailer: Mozilla 4.8 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: terry Cc: freebsd-questions@FreeBSD.ORG Subject: Re: New hard drive - Do I have to rebot? References: <000f01c2774a$fe1bb870$fb69cecd@TCOOPER> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG terry wrote: > > Do I have to reboot or kill a process for my new hard drive to be activated > once I've done the fstab, disk labeler and modified my /etc/fstab? I was > able to move and copy onto disk two but it wasn't listed when I did a ls at > root. I had to reboot. I also included 300 Meg's of new Swap. I added it for > back up purpose. > > I successfully tested out the dump/restore procedure but I would like to > find a script that does this. If someone knows of a blue print that would be > great. I really need a start. I plan on using cron to do this every week. Usually you don't have to reboot. You can activate new swap space using swapon(8), but you have to tell all processes which shall write to the "new" disk to reload there configuration and re-initialize the output. Maybe a `kill -HUP` is enough, maybe you have to restart some of them. If you have added the corresponding label to /etc/fstab, you mount(8) to activate it or check which labels/disks are mounted. Cheers, Jens > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- L i W W W i Jens Rehsack L W W W L i W W W W i nnn gggg LiWing IT-Services L i W W W W i n n g g LLLL i W W i n n g g Friesenstraße 2 gggg 06112 Halle g g g Tel.: +49 - 3 45 - 5 17 05 91 ggg e-Mail: Fax: +49 - 3 45 - 5 17 05 92 http://www.liwing.de/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message