Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: lpa@netcom.com (Pierre Asselin)
Subject: Digital Unix: newfs, disktab, logical storage manager
Date: 1997/12/30	[thread overview]
Message-ID: <lpaEM0yyr.I9B@netcom.com> (raw)


The Digital Unix FAQ says:

> newfs is smart enough to get the geometry of the disk from the drive,
> although this feature is not documented for all versions. Use

> 	newfs /dev/rrz#x /dev/rrz#x

> to do this.

> For most uses, you don't need a disktab entry on Digital UNIX.  The disklabel
> command can get the default partition table and geometry from the disk
> driver and will put that in the label.  When the label is present, newfs
> doesn't need a disktab entry either.

However, this doesn't work with logical disks created by the LSM.

    # volassist -U fsgen make testdsk 100m
    # ls -l /dev/rvol/testdsk
    crw-------	1 root		system	40, 13 Dec 30 16:00 /dev/rvol/testdsk
    # newfs /dev/rvol/testdsk
    newfs: /dev/rvol/testdsk : only 0 partitions
    # newfs /dev/rvol/testdsk /dev/rvol/testdsk
    newfs: /dev/rvol/testdsk : only 0 partitions
    # newfs /dev/rvol/testdsk rzxx
    newfs: /dev/rvol/testdsk : only 0 partitions
    # newfs /dev/rvol/testdsk rzXX
    newfs: /dev/rvol/testdsk : only 0 partitions

The only way I can get around the silly `0 partitions' message is by
giving a bogus disk_type argument, like this:

    # newfs /dev/rvol/testdsk rz28

Is there a better way?

-- 
--Pierre Asselin, Westminster, Colorado
  lpa@netcom.com
  pa@verano.sba.ca.us



             reply	other threads:[~1997-12-30  5:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-12-30  5:00 Pierre Asselin [this message]
1997-12-30  5:00 ` Digital Unix: newfs, disktab, logical storage manager Richard Tomkins
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