Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* adding a partition
@ 2000-05-01  4:00 raycon
  2000-05-02  4:00 ` Daniel Schunneman
  0 siblings, 1 reply; 4+ messages in thread
From: raycon @ 2000-05-01  4:00 UTC (permalink / raw)


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


Sent via Deja.com http://www.deja.com/
Before you buy.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: adding a partition
  2000-05-01  4:00 raycon
@ 2000-05-02  4:00 ` Daniel Schunneman
  2000-05-03  4:00   ` Jeff Wilson
  0 siblings, 1 reply; 4+ messages in thread
From: Daniel Schunneman @ 2000-05-02  4:00 UTC (permalink / raw)


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.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: adding a partition
  2000-05-02  4:00 ` Daniel Schunneman
@ 2000-05-03  4:00   ` Jeff Wilson
  0 siblings, 0 replies; 4+ messages in thread
From: Jeff Wilson @ 2000-05-03  4:00 UTC (permalink / raw)


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.
| 
| 



^ permalink raw reply	[flat|nested] 4+ messages in thread

* adding a partition
@ 2000-12-13 14:35 tru64man
  0 siblings, 0 replies; 4+ messages in thread
From: tru64man @ 2000-12-13 14:35 UTC (permalink / raw)


Below is my voldisk list print out:
As you can see disk0 is mirrored to dsk 1. The question is how do I add
a partition 0e and 1e to this with the disklabel command.






voldisk list
DEVICE       TYPE      DISK         GROUP        STATUS
dsk0a        nopriv    root01       rootdg       online
dsk0b        nopriv    swap01       rootdg       online
dsk0g        simple    dsk0g        rootdg       online
dsk0h        nopriv    usr01        rootdg       online
dsk1a        nopriv    root02       rootdg       online
dsk1b        nopriv    swap02       rootdg       online
dsk1g        simple    dsk1g        rootdg       online
dsk1h        nopriv    dsk1h-AdvFS  rootdg       online
dsk2         sliced    -            -            unknown
dsk3         sliced    -            -            unknown
#




Sent via Deja.com
http://www.deja.com/


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-12-13 14:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-12-13 14:35 adding a partition tru64man
  -- strict thread matches above, loose matches on Subject: below --
2000-05-01  4:00 raycon
2000-05-02  4:00 ` Daniel Schunneman
2000-05-03  4:00   ` Jeff Wilson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox