Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jan 2001 17:48:48 -0600 (CST)
From:      Cary <scattered@babel.acu.edu>
To:        freebsd-questions@freebsd.org
Subject:   disklabel/newfs
Message-ID:  <Pine.LNX.4.10.10101111731380.25162-100000@babel.acu.edu>

next in thread | raw e-mail | index | archive | help
I've read both man pages but they don't explain what to do when you get an
error message.  Hopefully one of you "old-hands" will be kind enough to
explain what I'm doing wrong.

The drive is a SCSI magneto-optical drive at /dev/da0, the MO disks are
128MB a piece, formerly with ext2 formats. I can read the disk label with:
# disklabel -r /dev/da0

under disktab, I have created my own entry called ro3012e, with the drive
parameters.  so when I say:
# disklabel -w da0 ro3012e
disklabel: No space left on device
# disklabel -w /dev/da0 ro3012e
disklabel: Operation not supported by device

After trying several variations of the above, I then try:
# newfs da0
newfs: da0: `0' partition is unavailable
# newfs /dev/da0
newfs: /dev/da0: `0' partition is unavailable
# newfs -T ro3012e /dev/da0
newfs: /dev/da0: `0' partition is unavailable
# newfs -T ro3012e /dev/da0a
newfs: /dev/da0a: Invalid argument
# newfs -T ro3012e /dev/da0c
write error: 247807
newfs: wtfs: Invalid argument
#

What do these errors mean, especially the last one?  What am I missing?
Thank you in advance for any help offered!

Cary Mathews

Abilene Christian University
ACM Education Comittee





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.10.10101111731380.25162-100000>