Subject: Re: Help installing 2nd disk in system...
To: Steven M. Bellovin <email@example.com>
From: Gilles Gravier <Gilles@Gravier.org>
Date: 04/03/2007 21:09:44
Works like a charm. I actually used e which was the whole volume... :)
Disk is now mounted as ffs and copying all my data to it... taking some
time... but progressing nicely. :)
You assumed correctly that it's i386...
Steven M. Bellovin wrote:
> On Tue, 03 Apr 2007 19:02:28 +0200
> Gilles Gravier <Gilles@Gravier.org> wrote:
>> Just got myself a new 700GB IDE disk to add to my trusty NetBSD 3.1
>> server as a data disk. The system disk is seen as wd0 ... the new
>> disk is wd1 ... Question is : what are the steps to format and
>> partition that new disk so that it is one big volume (i.e. 100% of
>> the disk capacity)... preferably with some form of journalized file
>> system (though my machine has yet to experience a crash which could
>> corrupt a file system - thanks to NetBSD being rock stable)?
> You don't say what platform; I'll assume i386.
> Run 'fdisk -u wd1' to create an fdisk partition. Start at sector 63
> and use the rest for the partition. Run 'disklabel -i wd1' to create a
> NetBSD partition -- I'd use 'a', though I suppose there's no reason not
> to use 'c' which is all of the NetBSD space. Run 'newfs wd1a' (or
> 'newfs wd1c') to initialize the file system. Add it to /etc/fstab and
> you're in business.
> --Steve Bellovin, http://www.cs.columbia.edu/~smb
/*Gilles Gravier*/ *=* *Gilles@Gravier.org* <mailto:Gilles@Gravier.org>
ICQ : *77488526*
<http://www.icq.com/whitepages/about_me.php?Uin=77488526> * || *MSN
Messenger : Gilles@Gravier.org <http://members.msn.com/Gilles@Gravier.org>*
*Skype : ggravier <callto://ggravier>* || *Y! : ggravier
<http://profiles.yahoo.com/ggravier> || AOL : gillesgravier
PGP Key ID : *0x8DE6D026*
"Chastity is its own punishment." (/Solomon Short/) [/David Gerrold/]
"De toutes les aberrations sexuelles, la chasteté est la plus
aberrante." [Anatole France]