From: "Jeff Wilson" <jwilson@ic.ac.uk>
Subject: Re: adding a partition
Date: 2000/05/03 [thread overview]
Message-ID: <01bfb50d$55fdc540$d53ec69b@leicester> (raw)
In-Reply-To: 8emt40$9m7$1@mailint03.im.hou.compaq.com
Before doing anything as drastic as newfs check that the "unused"
partition is really spare. Run disklabel rz17 and compare the partition
sizes in the label with the used disk partitions in the df output. The
cylinder sizes in the label show the area covered by each partition.
From your listing if appears that either rz17h is included in another
partition, in which case you can't use it, or the entire rz17 disk is
not in use. If there are no other rz17 partitions in the df output that
is probably the case.
Only if the entire disk is unused the disklabel commands
disklabel -rw rz17a junk # install factory label
disklabel -re rz17 # to edit the label
can be used.
Use newfs to create the new file systems on the require partitions. If
you want to use the entire disk as one partition you can skip editing
the label and use newfs /dev/rz17c. The will overwrite the whole disk
with a new empty file system.
--
Jeff Wilson
Daniel Schunneman <ds@flash.unx.dec.com> wrote in article
<8emt40$9m7$1@mailint03.im.hou.compaq.com>...
| raycon@my-deja.com wrote:
| : I have a DS10. In the box came a Factory Installed Software
Information
| : Sheet. It lists partitions including one File System = "spare" Type
=
| : unused. Partition=rz17h. Can anyone enlighten me as to what steps I
| : need to start using this. I can not mount it so I think it doesn't
have
| : a file system. I have a little unix experience but more user than
| : Administration skill sets. I don't know if the following
information is
| : useful but here goes.
|
| : Another question is whether I treat this partition as a disk and
just
| : try to follow the O'reilly system admin guide.
| : it describes adding a new disc instead of a partition.
| : Any advice appreciated.
|
| : Thanks
|
|
| : /sbin/ufs_fsck /dev/rz17h
| : ** /dev/rrz17h
| : BAD SUPER BLOCK: MAGIC NUMBER WRONG
| : ioctl (GCINFO): Invalid argument
| : /dev/rrz17h: can't read disk label
|
| : # newfs /dev/rz17h
| : Error: the disklabel for /dev/rrz17h does not exist or is
corrupted.
| : Quitting ....
|
| : mount /dev/rz17a /mnt
| : /dev/rz17a on /mnt: No valid filesystem exists on this partition
|
| What OS version?
|
| You should be able to use the diskconfig app to assign a type
| (UFS, AdvFS...) to the partition, remove it, size it, whatever.
|
|
next prev parent reply other threads:[~2000-05-03 4:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-05-01 4:00 adding a partition raycon
2000-05-02 4:00 ` Daniel Schunneman
2000-05-03 4:00 ` Jeff Wilson [this message]
-- strict thread matches above, loose matches on Subject: below --
2000-12-13 14:35 tru64man
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox