Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* disk configuration
@ 2001-08-07 21:37 Mike Robinson
  2001-08-07 22:51 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Mike Robinson @ 2001-08-07 21:37 UTC (permalink / raw)


Greetings,

I'm trying to set up some AdvFS disks. I have 3 scsi disks, approx 4GB each.
Tru64 4.0f installs OK, but leaves approx 2GB of disk 1 unallocated. When I
try to use diskconfig, the program returns a Tcl Script error.
"Error: can't read "dskdir" no such variable."

If I try to use mkfdmn /dev/rrz1h disk1, it returns the errors:
mkfdmn: can't get device size; not a block device
mkfdmn: can't create new domain disk1

Any help gleefuly accepted.





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

* Re: disk configuration
  2001-08-07 21:37 disk configuration Mike Robinson
@ 2001-08-07 22:51 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
  2001-08-07 23:01 ` Stuart R. Fuller
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Alan Rollow - Dr. File System's Home for Wayward Inodes. @ 2001-08-07 22:51 UTC (permalink / raw)


In article <n9Zb7.92$qm1.11327@e420r-atl3.usenetserver.com>, "Mike Robinson" <mike@dvfmv.com> writes:
>
>I'm trying to set up some AdvFS disks. I have 3 scsi disks, approx 4GB each.
>Tru64 4.0f installs OK, but leaves approx 2GB of disk 1 unallocated. When I
>try to use diskconfig, the program returns a Tcl Script error.
>"Error: can't read "dskdir" no such variable."

What partition are you using?  Once the disk is labeled, if you use
the C partition it should use the whole disk.  I tend to use the
disklabel command directly when I want to change the partition
table, but I'm old fashioned that way.

>
>If I try to use mkfdmn /dev/rrz1h disk1, it returns the errors:
>mkfdmn: can't get device size; not a block device
>mkfdmn: can't create new domain disk1

You have to use the block device with the mkfdmn command.  /dev/rrz
is the character device.  /dev/rz is the block device.

>
>Any help gleefuly accepted.
>
--
Alan Rollow				alan@nabeth.cxo.dec.com



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

* Re: disk configuration
  2001-08-07 21:37 disk configuration Mike Robinson
  2001-08-07 22:51 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
@ 2001-08-07 23:01 ` Stuart R. Fuller
  2001-08-08  9:07 ` MIKA
  2001-08-08 16:40 ` Mike Robinson
  3 siblings, 0 replies; 5+ messages in thread
From: Stuart R. Fuller @ 2001-08-07 23:01 UTC (permalink / raw)


Mike Robinson <mike@dvfmv.com> wrote:
: Greetings,

: I'm trying to set up some AdvFS disks. I have 3 scsi disks, approx 4GB each.
: Tru64 4.0f installs OK, but leaves approx 2GB of disk 1 unallocated. When I
: try to use diskconfig, the program returns a Tcl Script error.
: "Error: can't read "dskdir" no such variable."

: If I try to use mkfdmn /dev/rrz1h disk1, it returns the errors:
: mkfdmn: can't get device size; not a block device
: mkfdmn: can't create new domain disk1

Did you disklabel(8) the disk?

        # disklabel rz1         # show the current label
        # disklabel -wr rz1     # initialize with a default label
        # man disklabel         # for more details
        
        Stu


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

* Re: disk configuration
  2001-08-07 21:37 disk configuration Mike Robinson
  2001-08-07 22:51 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
  2001-08-07 23:01 ` Stuart R. Fuller
@ 2001-08-08  9:07 ` MIKA
  2001-08-08 16:40 ` Mike Robinson
  3 siblings, 0 replies; 5+ messages in thread
From: MIKA @ 2001-08-08  9:07 UTC (permalink / raw)


You have to use raw device (rrz) for labeling the disk and
block device (rz) to create file domain

"Mike Robinson" <mike@dvfmv.com> wrote in message
news:n9Zb7.92$qm1.11327@e420r-atl3.usenetserver.com...
> Greetings,
>
> I'm trying to set up some AdvFS disks. I have 3 scsi disks, approx 4GB
each.
> Tru64 4.0f installs OK, but leaves approx 2GB of disk 1 unallocated. When
I
> try to use diskconfig, the program returns a Tcl Script error.
> "Error: can't read "dskdir" no such variable."
>
> If I try to use mkfdmn /dev/rrz1h disk1, it returns the errors:
> mkfdmn: can't get device size; not a block device
> mkfdmn: can't create new domain disk1
>
> Any help gleefuly accepted.
>
>
>




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

* Re: disk configuration
  2001-08-07 21:37 disk configuration Mike Robinson
                   ` (2 preceding siblings ...)
  2001-08-08  9:07 ` MIKA
@ 2001-08-08 16:40 ` Mike Robinson
  3 siblings, 0 replies; 5+ messages in thread
From: Mike Robinson @ 2001-08-08 16:40 UTC (permalink / raw)


Alan, Stuart and Mika,

Thank you so much for your help. I'm still learning the differences between
block and character devices. Your posts put me right on track.

Cheers


Mike Robinson <mike@dvfmv.com> wrote in message
news:n9Zb7.92$qm1.11327@e420r-atl3.usenetserver.com...
> Greetings,
>
> I'm trying to set up some AdvFS disks. I have 3 scsi disks, approx 4GB
each.
> Tru64 4.0f installs OK, but leaves approx 2GB of disk 1 unallocated. When
I
> try to use diskconfig, the program returns a Tcl Script error.
> "Error: can't read "dskdir" no such variable."
>
> If I try to use mkfdmn /dev/rrz1h disk1, it returns the errors:
> mkfdmn: can't get device size; not a block device
> mkfdmn: can't create new domain disk1
>
> Any help gleefuly accepted.
>
>
>





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

end of thread, other threads:[~2001-08-08 16:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-07 21:37 disk configuration Mike Robinson
2001-08-07 22:51 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
2001-08-07 23:01 ` Stuart R. Fuller
2001-08-08  9:07 ` MIKA
2001-08-08 16:40 ` Mike Robinson

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