Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.eng.convex.com!newshost.convex.com!newsgate.duke.edu!news.mathworks.com!newsfeed.internetmci.com!xmission!news.cc.utah.edu!no.such.domain!lmc From: lmc@no.such.domain (Lloyd M Caldwell) Newsgroups: comp.unix.bsd.freebsd.misc Subject: adding disk/filesystems Date: 30 Jul 1996 17:25:45 GMT Organization: Sirius Cybernetics, Sirius City branch Lines: 67 Message-ID: <4tlgip$kc1@news.cc.utah.edu> NNTP-Posting-Host: inst.acs.utah.edu Summary: can't build new file systems on blank scsi disk Keywords: new file systems X-Newsreader: TIN [version 1.2 PL2] Hello, I've spent 3 days studing: faq (local and net), handbook, (local and net) man pages. I have experimented and read code for disklabel, disktab, newfs, fdisk, and sysinstall hoping to see what sysinstall did. I still have no idea how to create a file system on a new disk added to my system. The system configuration is: FreeBSD 2.1.0-RELEASE adaptec 2740 scsi controller 133 mhz pentium 16 meg memory ati mach 64 graphics expression/Mag innovision dx1795 3c509 network adapter Originally install scsi configuration: quantum fireball 1080s (scsi id=0, 1042mb) /dev/sd0 micropolis 4110 (scsi id=1, 1002mb) /dev/sd1 a toshiba xm-3401 cd-rom (scsi id=5) exabyte exb-8200 tape drive (scsi id=6) I added a quantum fireball 1280 (scsi id=2, 1222mb), /dev/sd2. The kernel recognizes the device, truncated output of dmseg: ahc0 <Adaptec 2940 SCSI host adapter> rev 3 int a irq 11 on pci0:13 ahc0: 2940 Single Channel, SCSI Id=7, aic7870, 255 SCBs ahc0 waiting for scsi devices to settle (ahc0:0:0): "QUANTUM FIREBALL1080S 1Q09" type 0 fixed SCSI 2 sd0(ahc0:0:0): Direct-Access 1042MB (2134305 512 byte sectors) (ahc0:1:0): "MICROP 4110-09NB_Nov18b TN0F" type 0 fixed SCSI 2 sd1(ahc0:1:0): Direct-Access 1002MB (2053880 512 byte sectors) (ahc0:2:0): "QUANTUM FIREBALL1280S 630C" type 0 fixed SCSI 2 sd2(ahc0:2:0): Direct-Access 1222MB (2503872 512 byte sectors) (ahc0:5:0): "TOSHIBA CD-ROM XM-3401TA 2873" type 5 removable SCSI 2 cd0(ahc0:5:0): CD-ROM cd present.[325252 x 2048 byte records] ahc0:A:6: refuses syncronous negotiation. Using asyncronous transfers (ahc0:6:0): "EXABYTE EXB-8200 2618" type 1 removable SCSI 1 st0(ahc0:6:0): Sequential-Access density code 0x0, st0(ahc0:6:0): Target Busy How does one make a new file system on FreeBSD? I plan on dedicating the entire disk to one FreeBSD filesystem. The steps I think I need to perform are: MAKEDEV ??? fdisk ??? /dev/sd2 disklabel ??? /dev/sd2 newfs ???? /dev/rsd2??? vi /etc/fstab # add the entry for mounting the disk at boot time Thanks for any help. *------------------------* Lloyd M Caldwell University of Utah Administrative Computing Services 150 Park Building Salt Lake City, Utah 84112 phone: 801-585-3131 fax: 801-581-5877 email: lmc@acs.utah.edu *------------------------*