* Digital Unix: newfs, disktab, logical storage manager
@ 1997-12-30 5:00 Pierre Asselin
1997-12-30 5:00 ` Richard Tomkins
0 siblings, 1 reply; 2+ messages in thread
From: Pierre Asselin @ 1997-12-30 5:00 UTC (permalink / 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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Digital Unix: newfs, disktab, logical storage manager
1997-12-30 5:00 Digital Unix: newfs, disktab, logical storage manager Pierre Asselin
@ 1997-12-30 5:00 ` Richard Tomkins
0 siblings, 0 replies; 2+ messages in thread
From: Richard Tomkins @ 1997-12-30 5:00 UTC (permalink / raw)
If you are using LSM, then you are not supposed to be using newfs. I
forget which utility it is, my UNIX knowledge is quite shallow, but it is
there in the man pages and in the paper documentation for LSM.
rtt
--
Views expressed are the author's alone, and not necessarily those of Digital Equipment Corporation. As required by new Digital Internet Policy #1.
This mind left BLANK intentionally!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1997-12-30 5:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-12-30 5:00 Digital Unix: newfs, disktab, logical storage manager Pierre Asselin
1997-12-30 5:00 ` Richard Tomkins
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox