From owner-freebsd-questions Thu Aug 17 03:07:09 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id DAA02317 for questions-outgoing; Thu, 17 Aug 1995 03:07:09 -0700 Received: from cc.jyu.fi (cc.jyu.fi [130.234.1.3]) by freefall.FreeBSD.org (8.6.11/8.6.6) with SMTP id DAA02311 for ; Thu, 17 Aug 1995 03:07:05 -0700 Received: from [130.234.41.39] (zaphod.maccc.jyu.fi) by cc.jyu.fi with SMTP id AA22334 (5.67a/IDA-1.4.4 for freebsd-questions@freebsd.org); Thu, 17 Aug 1995 13:09:19 +0300 X-Sender: kallio@pop.jyu.fi Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Thu, 17 Aug 1995 13:10:59 +0300 To: Michael Smith From: kallio@jyu.fi (Seppo Kallio) Subject: Re: ** How to add second SCSI disk ? ** Cc: freebsd-questions@freebsd.org Sender: questions-owner@freebsd.org Precedence: bulk At 18:25 17/8/95, Michael Smith wrote: >Seppo Kallio stands accused of saying: >> Maybe it is not so trivial? People do not usually ask if things are >> trivial. Maybe people have different views what is trivial and what is not > >Based on recent evidence, I'd say that lots of people find it easier to >ask someone else than work it out themselves. That's fair enough, but >answering questions like that is paid work, not fun. Yes. It is waste of energy if everyone reads man fdisk, man disklabel man newfs 8 hours. It is better if we somehow deliver the info to everybody. Good way is WWW/FAQs other is News/Email but news and email second best. >> Why does the (Standalone) Install not have the command "Write Disklabel >> Now!"? Is there some technical problem? Or do you just think the procedure >> in Install is more complicated than doing it with fdisk+disklabel+newfs? > >It doesn't have it because a) it's dangerous, and b) because Jordan & co. >were flat out writing what _is_ in there 8) fdisk, disklabel, newfs are very dangerous also! Usuallu people do the more errors the harder the tools are to use. >And like everything from cooking to sex, the best way to find out is to try. >Hell, it's a brand new disk, with no data on it - it's not like you're >dicing with death there. Yes. But I am sure if you have good guide it is more fun and you do not have to try the wrong ways so many times ;-) We have all only 24 hour days. >All of the fdisk manual I read was 'fdisk -i... interactive...'. Granted, >I've got a pretty good idea of what it's trying to do, but once that's >dealt with the actual process is relatively straightforward. Agreed, man fdisk is short. fdisk is hard to understand. >> First: I did use Linux fdisk ... > >That's fine; the tools all do the same thing in the end. Yes ... but you must first get Llinux fdisk somehow ... it is notincluded to the FreeBSD distribution. ;-) >Oh. One of them 8) I can't remember how long it's been since I used a >disktab entry - disklabel -e is your friend 8) Uhhhh ... we have so many possibilities do everyting wrong, stupid, etc. ways. That is why wee need some examples at least. Adding one more disk is quite common thing. >> Writing FAQ for this is not easy. One should explain main parameters in the >> disktab entry and how to use fdisk. newfs is easy. > >The 'real' need here is for a simpler disk setup tool. Right now, the tools >are close to the data they manipulate, but far away from the task that >they perform together. It _should_ be possible to point a tool at a disk, >and say "make me space there, slave". > >I'm trying to work out whether I have a spare disk to work with 8( Great. Who could add these hints to the FreeBSD Doc project under the tittle "How to add SCSI disk" (Or how was it) We do not have complete text ready yet. Here some guidelines: Give command fdisk -i sd1 # assuming your SCSI dis id is 1 Define the partititions you need: a = root b = swap e,f = other partitions Give command disklabel -e sd1 Give command newfs /dev/sd1a # if you have defined partition a newfs /dev/sd1e # if you have defined partition e Seppo -- +-- Seppo Kallio ----- kallio@jyu.fi ---+ ! Computing Center ! Fax +358-41-603611 Phone +358-41-603606 ! ! University of Jyvaskyla ! http://www.jyu.fi/~kallio ! +-- Finland --+-- 62.14N 25.44E -- +