Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!msuinfo!uchinews!cs.umd.edu!afterlife!blackbird.afit.af.mil!dsacg3.dsac.dla.mil!dcsc.dla.mil!cp01395 From: cp01395@dcsc.dla.mil (Duane L. Rezac) Newsgroups: comp.os.386bsd.misc Subject: disk partitons in 386BSD Message-ID: <1826@dcsc.dla.mil> Date: 28 Apr 93 16:05:58 GMT Organization: Defense Construction Supply Center, Columbus Lines: 74 I am trying to partition out my 2nd IDE drive and am having some problems.. I am running a system as follow: 80386 pc with 2 maxtor 7120 120m ide hard drives, patchlevel 0.2.2 Partition label info from wd0 as set up by 386bsd install: 3 partitions: # size offset fstype [fsize bsize cpg] a: 232764 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 977) b: 9520 233002 swap # (Cyl. 979 - 1018) c: 243474 0 unused 0 0 # (Cyl. 0 - 1022) I have set up wd1 as follows: 6 partitions: # size offset fstype [fsize bsize cpg] a: 49504 0 4.2BSD 512 4096 16 # (Cyl. 0 - 207) b: 9520 234192 swap # (Cyl. 984 - 1023) c: 243712 0 unused 1024 8192 # (Cyl. 0 - 1023) d: 15946 49504 4.2BSD 512 4096 16 # (Cyl. 208 - 274) e: 56168 65450 4.2BSD 512 4096 16 # (Cyl. 275 - 510) f: 112574 121618 4.2BSD 512 4096 16 # (Cyl. 511 - 983) This is my fstab: # maxtor 7120 drive 0 /dev/wd0a / ufs rw 1 1 /dev/wd0b 'none' swap sw 0 2 # maxtor 7120 drive 1 /dev/wd1a /p ufs rw 1 2 /dev/wd1b 'none' swap sw 0 2 /dev/wd1f /usr/local ufs rw 1 2 and a current df: Filesystem 512-blks used avail capacity Mounted on /dev/wd0a 223470 180754 20368 90% / /dev/wd1f 105101 29302 65288 31% /usr/local /dev/wd1a 14207 541 12245 4% /p Up to this point, I have had no problems with the filesystem. Now I want to add /dev/wd1d as /ftp for an anon ftp directory structure when I mount /dev/wd1d on /ftp , it shows all the data from /dev/wd1a (/p). if I rm -r the data in /ftp, it deletes everythng from /dev/wd1a - if I restore my dump of /dev/wd1a, it also shows up on /dev/wd1f Now am totaly wrong here, or should /dev/wd1a and /dev/wd1d be seperate partitions on the drive? they appear to be using the same area on the disk. It seems odd, as using /dev/wd1a mounted on /p and /dev/wd1f on /usr/local seems to work fine. I would like to split this drive into multiple partitions. Have I done something total wrong with the label that I have set up ? Any suggestions are appreciated. Duane L. Rezac drezac@cscppppc8.dcsc.dla.mil drezac@dcsc.dla.mil -- +-----------------------+---------------------------------------------------+ | Duane L. Rezac |These views are my own, and NOT representitive of my place| | drezac@dcsc.dla.mil of Employment. | +-----------------------+---------------------------------------------------+